diff options
| author | Hugh Dickins <[email protected]> | 2005-08-04 20:07:09 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-08-04 20:11:15 +0000 |
| commit | 1c5ad84516ae7ea4ec868436a910a6bd8d20215a (patch) | |
| tree | 929e03789ee2191bbebe45fbd9b6c50865c5f9ca /net/lapb/lapb_subr.c | |
| parent | [PATCH] inotify delete race fix (diff) | |
| download | kernel-1c5ad84516ae7ea4ec868436a910a6bd8d20215a.tar.gz kernel-1c5ad84516ae7ea4ec868436a910a6bd8d20215a.zip | |
[PATCH] fix VmSize and VmData after mremap
mremap's move_vma is applying __vm_stat_account to the old vma which may
have already been freed: move it to just before the do_munmap.
mremapping to and fro with CONFIG_DEBUG_SLAB=y showed /proc/<pid>/status
VmSize and VmData wrapping just like in kernel bugzilla #4842, and fixed by
this patch - worth including in 2.6.13, though not yet confirmed that it
fixes that specific report from Frank van Maarseveen.
Signed-off-by: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
