diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-07-21 17:10:30 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-21 18:37:09 -0700 |
commit | 34feb2c83beb3bdf13535a36770f7e50b47ef299 (patch) | |
tree | 4abc3b0fe31495315f414677dcb5198967caa333 /arch/x86_64/Kconfig | |
parent | f0a7a5c93dfd1c0348dbbdb6f22cb82d99079c93 (diff) | |
download | kernel-crypto-34feb2c83beb3bdf13535a36770f7e50b47ef299.tar.gz kernel-crypto-34feb2c83beb3bdf13535a36770f7e50b47ef299.tar.xz kernel-crypto-34feb2c83beb3bdf13535a36770f7e50b47ef299.zip |
x86_64: Quicklist support for x86_64
This adds caching of pgds and puds, pmds, pte. That way we can avoid costly
zeroing and initialization of special mappings in the pgd.
A second quicklist is useful to separate out PGD handling. We can carry the
initialized pgds over to the next process needing them.
Also clean up the pgd_list handling to use regular list macros. There is no
need anymore to avoid the lru field.
Move the add/removal of the pgds to the pgdlist into the constructor /
destructor. That way the implementation is congruent with i386.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: "Luck, Tony" <tony.luck@intel.com>
Acked-by: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86_64/Kconfig')
-rw-r--r-- | arch/x86_64/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index fca1a85042e..45f82ae6d38 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig @@ -60,6 +60,14 @@ config ZONE_DMA bool default y +config QUICKLIST + bool + default y + +config NR_QUICK + int + default 2 + config ISA bool |