kernel-ark/include
Robin Holt fde740e4dd [IA64] Percpu quicklist for combined allocator for pgd/pmd/pte.
This patch introduces using the quicklists for pgd, pmd, and pte levels
by combining the alloc and free functions into a common set of routines.
This greatly simplifies the reading of this header file.

This patch is simple but necessary for large numa configurations.
It simply ensures that only pages from the local node are added to a
cpus quicklist.  This prevents the trapping of pages on a remote nodes
quicklist by starting a process, touching a large number of pages to
fill pmd and pte entries, migrating to another node, and then unmapping
or exiting.  With those conditions, the pages get trapped and if the
machine has more than 100 nodes of the same size, the calculation of
the pgtable high water mark will be larger than any single node so page
table cache flushing will never occur.

I ran lmbench lat_proc fork and lat_proc exec on a zx1 with and without
this patch and did not notice any change.

On an sn2 machine, there was a slight improvement which is possibly
due to pages from other nodes trapped on the test node before starting
the run.  I did not investigate further.

This patch shrinks the quicklist based upon free memory on the node
instead of the high/low water marks.  I have written it to enable
preemption periodically and recalculate the amount to shrink every time
we have freed enough pages that the quicklist size should have grown.
I rescan the nodes zones each pass because other processess may be
draining node memory at the same time as we are adding.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2005-04-25 13:13:16 -07:00
..
acpi
asm-alpha [PATCH] alpha: key management syscalls 2005-04-21 11:28:26 -07:00
asm-arm
asm-arm26
asm-cris
asm-frv
asm-generic [PATCH] __get_unaligned() turned into macro 2005-04-24 12:28:35 -07:00
asm-h8300
asm-i386
asm-ia64 [IA64] Percpu quicklist for combined allocator for pgd/pmd/pte. 2005-04-25 13:13:16 -07:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips
asm-parisc
asm-ppc [PATCH] ppc iomem annotations: ->io_base_virt 2005-04-25 07:55:57 -07:00
asm-ppc64
asm-s390
asm-sh
asm-sh64
asm-sparc [SPARC]: Fix mxcc warning 2005-04-24 20:46:00 -07:00
asm-sparc64 [SPARC64]: Fix SMP build. 2005-04-24 21:04:02 -07:00
asm-um
asm-v850
asm-x86_64
linux [PKT_SCHED]: Introduce simple actions. 2005-04-24 20:10:16 -07:00
math-emu
media
mtd
net [SELINUX]: Fix ipv6_skip_exthdr() invocation causing OOPS. 2005-04-24 20:16:19 -07:00
pcmcia
rxrpc
scsi
sound
video