]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tmpfs: interleave the starting node of /dev/shmem
authorNathan Zimmer <nzimmer@sgi.com>
Sat, 21 Jul 2012 00:54:35 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:53:08 +0000 (13:53 +1000)
commitc878c2e48bde8ef0cb49c7dd91c2907f2f10b1b8
treed452a3142cb1a1a2b8867a44bdfe3ea2ac7079a5
parentc9bfc1f18db11d774796c374944a6ce83992062b
tmpfs: interleave the starting node of /dev/shmem

The tmpfs superblock grants an offset for each inode as they are created.
Each inode then uses that offset to provide a preferred first node for its
interleave in the newly provided shmem_interleave.

Signed-off-by: Nathan Zimmer <nzimmer@sgi.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Nick Piggin <npiggin@gmail.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h
include/linux/shmem_fs.h
mm/mempolicy.c
mm/shmem.c