summaryrefslogtreecommitdiffstats
path: root/sound/isa/adlib.c
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2011-05-24 17:11:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 08:39:04 -0700
commit965f55dea0e331152fa53941a51e4e16f9f06fae (patch)
tree3cf8beb31bac7b325b62e8ef75618e0086a3c760 /sound/isa/adlib.c
parent5f70b962ccc2f2e6259417cf3d1233dc9e16cf5e (diff)
downloadlinux-965f55dea0e331152fa53941a51e4e16f9f06fae.tar.gz
linux-965f55dea0e331152fa53941a51e4e16f9f06fae.tar.bz2
linux-965f55dea0e331152fa53941a51e4e16f9f06fae.zip
mmap: avoid merging cloned VMAs
Avoid merging a VMA with another VMA which is cloned from the parent process. The cloned VMA shares the anon_vma lock with the parent process's VMA. If we do the merge, more vmas (even the new range is only for current process) use the perent process's anon_vma lock. This introduces scalability issues. find_mergeable_anon_vma() already considers this case. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Cc: Rik van Riel <riel@redhat.com> Cc: Hugh Dickins <hughd@google.com> Cc: Andi Kleen <andi@firstfloor.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/isa/adlib.c')
0 files changed, 0 insertions, 0 deletions