diff options
author | Huang Shijie <shijie8@gmail.com> | 2009-09-22 02:03:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 16:17:41 +0200 |
commit | f8dbf0a7a4c5d98e8b70da9f7f4f6a89f3b7a7bb (patch) | |
tree | 1f40d51f39965017999c36e3a5ae78b67e43f5d5 /arch | |
parent | mmap: avoid unnecessary anon_vma lock acquisition in vma_adjust() (diff) | |
download | linux-f8dbf0a7a4c5d98e8b70da9f7f4f6a89f3b7a7bb.tar.xz linux-f8dbf0a7a4c5d98e8b70da9f7f4f6a89f3b7a7bb.zip |
mmap: save some cycles for the shared anonymous mapping
shmem_zero_setup() does not change vm_start, pgoff or vm_flags, only some
drivers change them (such as /driver/video/bfin-t350mcqb-fb.c).
Move these codes to a more proper place to save cycles for shared
anonymous mapping.
Signed-off-by: Huang Shijie <shijie8@gmail.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions