diff options
| author | Linus Torvalds <[email protected]> | 2010-04-10 22:22:30 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-04-13 00:54:11 +0000 |
| commit | 287d97ac032136724143cde8d5964b414d562ee3 (patch) | |
| tree | c060c9b3e9fd61507687a419a94c659425de57e4 /scripts/mod/file2alias.c | |
| parent | Simplify and comment on anon_vma re-use for anon_vma_prepare() (diff) | |
| download | kernel-287d97ac032136724143cde8d5964b414d562ee3.tar.gz kernel-287d97ac032136724143cde8d5964b414d562ee3.zip | |
vma_adjust: fix the copying of anon_vma chains
When we move the boundaries between two vma's due to things like
mprotect, we need to make sure that the anon_vma of the pages that got
moved from one vma to another gets properly copied around. And that was
not always the case, in this rather hard-to-follow code sequence.
Clarify the code, and fix it so that it copies the anon_vma from the
right source.
Reviewed-by: Rik van Riel <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Tested-by: Borislav Petkov <[email protected]> [ "Yeah, not so much this one either" ]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
