]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit34679d7eac9ecc20face093db9aa610f1e9c893a
treeb959da55ed4ff4f4bbd536320cb8205377a46301
parent7bf02ea22c6cdd09e2d3f1d3c3fe366b834ae9af
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