aboutsummaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2011-03-22 16:33:43 -0700
committerLinus Torvalds <[email protected]>2011-03-22 17:44:09 -0700
commitbee4c36a5cf5c9f63ce1d7372aa62045fbd16d47 (patch)
treed2c95aab9b12874d6675d529c3f8dd5cd2a35e10 /include/linux/compiler-gcc.h
parent8f7a66051b7523108c5aefb08c6a637e54aedc47 (diff)
shmem: let shared anonymous be nonlinear again
Up to 2.6.22, you could use remap_file_pages(2) on a tmpfs file or a shared mapping of /dev/zero or a shared anonymous mapping. In 2.6.23 we disabled it by default, but set VM_CAN_NONLINEAR to enable it on safe mappings. We made sure to set it in shmem_mmap() for tmpfs files, but missed it in shmem_zero_setup() for the others. Fix that at last. Reported-by: Kenny Simpson <[email protected]> Signed-off-by: Hugh Dickins <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions