From: Huang Shijie Date: Tue, 22 Sep 2009 00:03:41 +0000 (-0700) Subject: mmap: save some cycles for the shared anonymous mapping X-Git-Tag: v2.6.32-rc1~480 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8dbf0a7a4c5d98e8b70da9f7f4f6a89f3b7a7bb;p=pandora-kernel.git 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 Reviewed-by: Minchan Kim Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed