]> git.baikalelectronics.ru Git - kernel.git/commit
mmap: add alignment for some variables
authorShaohua Li <shaohua.li@intel.com>
Wed, 25 May 2011 00:11:18 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:03 +0000 (08:39 -0700)
commit48476b2beadffe29de65b3bd93ce3f2cf321c828
treeb959da55ed4ff4f4bbd536320cb8205377a46301
parenta59c1a8ea1f293e23fa9067fcccce091b3608d23
mmap: add alignment for some variables

Make some variables have correct alignment/section to avoid cache issue.
In a workload which heavily does mmap/munmap, the variables will be used
frequently.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c