linux/arch
KOSAKI Motohiro de03c72cfc mm: convert mm->cpu_vm_cpumask into cpumask_var_t
cpumask_t is very big struct and cpu_vm_mask is placed wrong position.
It might lead to reduce cache hit ratio.

This patch has two change.
1) Move the place of cpumask into last of mm_struct. Because usually cpumask
   is accessed only front bits when the system has cpu-hotplug capability
2) Convert cpu_vm_mask into cpumask_var_t. It may help to reduce memory
   footprint if cpumask_size() will use nr_cpumask_bits properly in future.

In addition, this patch change the name of cpu_vm_mask with cpu_vm_mask_var.
It may help to detect out of tree cpu_vm_mask users.

This patch has no functional change.

[akpm@linux-foundation.org: build fix]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-05-25 08:39:21 -07:00
..
alpha mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
arm mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
avr32 mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
blackfin Merge branch 'for-2.6.40' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu 2011-05-24 11:53:42 -07:00
cris mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
frv mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
h8300
ia64 mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
m32r mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
m68k mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
microblaze mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
mips mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
mn10300 mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
parisc mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
powerpc mm, powerpc: move the RCU page-table freeing into generic code 2011-05-25 08:39:16 -07:00
s390 mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
score mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
sh mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
sparc mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
tile mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
um mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
unicore32 mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
x86 mm: convert mm->cpu_vm_cpumask into cpumask_var_t 2011-05-25 08:39:21 -07:00
xtensa mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
.gitignore
Kconfig mm, powerpc: move the RCU page-table freeing into generic code 2011-05-25 08:39:16 -07:00