linux/Documentation
Lee Schermerhorn fc36b8d3d8 mempolicy: use MPOL_F_LOCAL to Indicate Preferred Local Policy
Now that we're using "preferred local" policy for system default, we need to
make this as fast as possible.  Because of the variable size of the mempolicy
structure [based on size of nodemasks], the preferred_node may be in a
different cacheline from the mode.  This can result in accessing an extra
cacheline in the normal case of system default policy.  Suspect this is the
cause of an observed 2-3% slowdown in page fault testing relative to kernel
without this patch series.

To alleviate this, use an internal mode flag, MPOL_F_LOCAL in the mempolicy
flags member which is guaranteed [?] to be in the same cacheline as the mode
itself.

Verified that reworked mempolicy now performs slightly better on 25-rc8-mm1
for both anon and shmem segments with system default and vma [preferred local]
policy.

Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:24 -07:00
..
ABI Merge git://git.infradead.org/~dedekind/ubi-2.6 2008-04-23 09:57:25 +01:00
DocBook kerneldoc for <linux/clk.h> 2008-04-28 08:58:17 -07:00
PCI PCI: doc/pci: create Documentation/PCI/ and move files into it 2008-04-20 21:46:51 -07:00
RCU remove final fastcall users 2008-02-13 16:21:18 -08:00
accounting getdelays: fix gcc warnings 2008-02-08 09:22:41 -08:00
acpi ACPI: Remove ACPI_CUSTOM_DSDT_INITRD option 2008-03-15 11:58:04 -07:00
aoe aoe: user can ask driver to forget previously detected devices 2008-02-08 09:22:31 -08:00
arm [MTD] [NAND] S3C2410 Large page NAND support 2008-04-22 21:39:16 +01:00
auxdisplay
blackfin
block DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs. 2008-04-21 22:44:50 +00:00
cdrom cdrom: make unregister_cdrom() return void 2008-04-21 09:50:08 +02:00
connector
console
controllers Memory controller: rename to Memory Resource Controller 2008-03-04 16:35:12 -08:00
cpu-freq
cpuidle cpuidle: Add Documentation 2008-02-14 00:16:13 -05:00
cris
crypto
device-mapper dm crypt: add documentation 2008-04-25 13:27:03 +01:00
driver-model Driver core: Update some prototypes in platform.txt 2008-02-02 15:14:49 -08:00
dvb
early-userspace Documentation: Remove last references to BitKeeper. 2008-04-21 22:19:05 +00:00
fault-injection
fb fbdev: defio and Metronomefb 2008-03-19 18:53:37 -07:00
filesystems mempolicy: update NUMA memory policy documentation 2008-04-28 08:58:19 -07:00
firmware_class firmware_sample_driver.c: fix coding style 2008-04-21 22:23:30 +00:00
frv move frv docs one level up 2008-02-03 15:54:28 +02:00
hwmon hwmon: New driver for Analog Devices ADT7473 sensor chip 2008-02-18 21:51:29 -05:00
i2c i2c-i801: Add support for the ICH10 2008-02-24 20:03:42 +01:00
i2o
i386 x86, boot: Document for linked list of struct setup_data 2008-04-26 21:34:42 +02:00
ia64 KVM: ia64: Add a guide about how to create kvm guests on ia64 2008-04-27 12:01:14 +03:00
ide gayle: add "doubler" parameter 2008-04-27 15:38:30 +02:00
infiniband
input Input: add keyboard notifier documentation 2008-03-14 11:54:19 -04:00
ioctl
isdn
ja_JP Fix broken utf-8 encodings in ja_JP translation of stable_kernel_rules.txt 2008-02-21 15:27:06 -08:00
kbuild kbuild: Add new Kbuild variable KBUILD_EXTRA_SYMBOLS 2008-04-25 20:45:26 +02:00
kdump
ko_KR
laptops Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-03-18 00:37:55 -07:00
lguest lguest: comment documentation update. 2008-03-28 11:05:54 +11:00
m68k
make
mips au1xxx-ide: fix MWDMA support 2008-04-26 22:25:22 +02:00
mn10300 mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
namespaces
netlabel
networking phylib: Add support for board-level PHY fixups 2008-04-25 02:08:52 -04:00
parisc
pcmcia pcmcia: replace kio_addr_t with unsigned int everywhere 2008-02-05 09:44:08 -08:00
power PM: Handle device registrations during suspend/resume 2008-04-19 19:10:24 -07:00
powerpc KVM: ppc: PowerPC 440 KVM implementation 2008-04-27 18:21:39 +03:00
prctl generic, x86: add tests for prctl PR_GET_TSC and PR_SET_TSC 2008-04-19 19:19:55 +02:00
s390 KVM: s390: API documentation 2008-04-27 12:00:48 +03:00
scheduler sched: better rt-group documentation 2008-04-19 19:45:01 +02:00
scsi [SCSI] st: show options currently set in sysfs 2008-04-07 12:15:40 -05:00
serial
sh
sound [ALSA] hda - Add support of AD1989A/AD1989B 2008-04-24 12:00:36 +02:00
sparc
spi spi: documentation tweaks 2008-04-08 18:25:53 -07:00
sysctl Documentation: sysctl/kernel.txt: fix documentation reference 2008-02-13 16:21:20 -08:00
telephony
thermal thermal: fix generic thermal I/F for hwmon 2008-03-13 01:49:01 -04:00
timers Documentation: move timer related documentation to a single place 2008-04-17 12:22:31 +02:00
uml
usb USB: add documentation about callbacks 2008-04-24 21:16:53 -07:00
video4linux V4L/DVB (7677): saa7134: Add/fix Beholder entries 2008-04-24 14:09:46 -03:00
vm mempolicy: use MPOL_F_LOCAL to Indicate Preferred Local Policy 2008-04-28 08:58:24 -07:00
w1 w1-gpio: add GPIO w1 bus master driver 2008-02-06 10:41:15 -08:00
watchdog
x86 x86: PAT documentation 2008-04-17 17:41:19 +02:00
x86_64 x86: add gbpages switches 2008-04-17 17:40:45 +02:00
zh_CN
00-INDEX documentation: remove smart-config.txt 2008-04-25 18:24:20 -07:00
BUG-HUNTING Documentation: add hint about call traces & module symbols to BUG-HUNTING 2008-02-06 10:41:09 -08:00
Changes
CodingStyle
DMA-API.txt
DMA-ISA-LPC.txt
DMA-mapping.txt
HOWTO Various fixes to Documentation/HOWTO 2008-04-25 11:23:56 -06:00
IO-mapping.txt
IPMI.txt
IRQ-affinity.txt
IRQ.txt
Intel-IOMMU.txt
MSI-HOWTO.txt
ManagementStyle
README.DAC960
README.cycladesZ
SAK.txt
SM501.txt
SecurityBugs
Smack.txt Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
SubmitChecklist Documentation: prune redundant SubmitChecklist items 2008-02-13 16:21:18 -08:00
SubmittingDrivers
SubmittingPatches Correct a few trivial tree details in Documentation/SubmittingPatches 2008-04-21 22:12:32 +00:00
VGA-softcursor.txt
applying-patches.txt
atomic_ops.txt documentation: atomic_add_unless() doesn't imply mb() on failure 2008-02-23 17:52:36 -08:00
basic_profiling.txt
binfmt_misc.txt
cachetlb.txt
cciss.txt
cgroups.txt cgroup: fix and update documentation 2008-02-23 17:13:24 -08:00
cli-sti-removal.txt DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs. 2008-04-21 22:44:50 +00:00
computone.txt
cpqarray.txt
cpu-hotplug.txt
cpu-load.txt
cpusets.txt sched, cpuset: customize sched domains, docs 2008-04-19 19:45:00 +02:00
cputopology.txt
dcdbas.txt
debugging-modules.txt Documentation: Clarify when module debugging actually works. 2008-02-03 15:27:38 +02:00
debugging-via-ohci1394.txt firewire: fw-ohci: add option for remote debugging 2008-04-18 17:55:33 +02:00
dell_rbu.txt
devices.txt
digiepca.txt
dontdiff Documentation: Remove last references to BitKeeper. 2008-04-21 22:19:05 +00:00
edac.txt move edac.txt two levels up 2008-02-07 08:42:17 -08:00
eisa.txt
email-clients.txt email-clients.txt: sylpheed is OK at IMAP 2008-02-07 08:42:17 -08:00
exception.txt
feature-removal-schedule.txt mm: remove nopage 2008-04-28 08:58:18 -07:00
floppy.txt
gpio.txt gpio: <linux/gpio.h> and "no GPIO support here" stubs 2008-03-04 16:35:10 -08:00
hayes-esp.txt
highuid.txt [SPARC]: Remove SunOS and Solaris binary support. 2008-04-21 15:10:15 -07:00
hpet.txt
hw_random.txt hw_random doc updates 2008-03-24 19:22:19 -07:00
initrd.txt use the newc archive format as requested by initramfs 2008-02-03 14:54:41 +02:00
io_ordering.txt
ioctl-number.txt KVM: Register ioctl range 2008-04-27 12:01:16 +03:00
iostats.txt Enhanced partition statistics: documentation update 2008-02-08 12:42:11 +01:00
irqflags-tracing.txt
isapnp.txt
java.txt
kernel-doc-nano-HOWTO.txt
kernel-docs.txt
kernel-parameters.txt ide: remove obsoleted "idex=" kernel parameters 2008-04-27 15:38:24 +02:00
keys-request-key.txt
keys.txt
kobject.txt
kprobes.txt Kprobes: move kprobe examples to samples/ 2008-03-04 16:35:11 -08:00
kref.txt docs: convert kref semaphore to mutex 2008-02-06 10:41:09 -08:00
ldm.txt
leds-class.txt leds: disable triggers on brightness set 2008-04-24 23:34:18 +01:00
local_ops.txt
lockdep-design.txt
lockstat.txt
logo.gif
logo.txt
magic-number.txt [SPARC]: Remove SunOS and Solaris binary support. 2008-04-21 15:10:15 -07:00
markers.txt
mca.txt The ps2esdi driver was marked as BROKEN more than two years ago due to being 2008-03-17 09:03:05 +01:00
md.txt md: allow a maximum extent to be set for resyncing 2008-02-06 10:41:18 -08:00
memory-barriers.txt PCI: doc/pci: create Documentation/PCI/ and move files into it 2008-04-20 21:46:51 -07:00
memory-hotplug.txt
memory.txt
mono.txt
moxa-smartio
mtrr.txt
mutex-design.txt
nbd.txt
nmi_watchdog.txt x86, documentation: nmi_watchdog=2 works on x86_64 2008-03-27 16:08:45 +01:00
nommu-mmap.txt
numastat.txt
oops-tracing.txt
paride.txt
parport-lowlevel.txt
parport.txt
pi-futex.txt
pnp.txt
preempt-locking.txt
prio_tree.txt
ramdisk.txt
rbtree.txt
rfkill.txt
riscom8.txt
robust-futex-ABI.txt
robust-futexes.txt
rocket.txt
rt-mutex-design.txt
rt-mutex.txt
rtc.txt rtc: cleanup example code 2008-02-06 10:41:14 -08:00
serial-console.txt
sgi-ioc4.txt
sgi-visws.txt
sparse.txt
specialix.txt
spinlocks.txt Add additional examples in Documentation/spinlocks.txt 2008-04-11 13:21:14 -06:00
stable_api_nonsense.txt
stable_kernel_rules.txt stable_kernel_rules: fix must already be in mainline 2008-02-21 15:27:07 -08:00
stallion.txt
svga.txt
sx.txt
sysfs-rules.txt
sysrq.txt
tty.txt
unaligned-memory-access.txt Fix typos in Documentation/unaligned-memory-access.txt 2008-04-02 15:28:19 -07:00
unicode.txt
unshare.txt
video-output.txt
volatile-considered-harmful.txt
voyager.txt
zorro.txt

README.cycladesZ

The Cyclades-Z must have firmware loaded onto the card before it will
operate.  This operation should be performed during system startup,

The firmware, loader program and the latest device driver code are
available from Cyclades at
    ftp://ftp.cyclades.com/pub/cyclades/cyclades-z/linux/