LWN.net Logo

[0/8] GB pages (PDP1GB) support for the kernel direct mapping

From:  Andi Kleen <ak@suse.de>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH] [0/8] GB pages (PDP1GB) support for the kernel direct mapping
Date:  Thu, 3 Jan 2008 18:26:56 +0100 (CET)
Message-ID:  <20080103626.635376000@suse.de>
Archive-link:  Article, Thread


This patchkit implement GB pages support for AMD Fam10h CPUs. This patchkit only
implements it for the kernel direct mapping for now; support for hugetlbfs is upcomming.

This allows to map the kernel direct mapping using 1GB TLBs instead of 2MB 
TLBs and get hopefully less TLB misses for the kernel.

The GB pages are only implemented for 64bit (because the CPU only implements
them for long mode) and also only for data pages (because Fam10h doesn't have GB ITLBs
and AMD recommends against running code in them) 

There is an option to turn them off (direct_gbpages=off), although I hope that
won't be needed.

Also includes one generic bug fix for clear_page_kernel.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds