diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-05-14 05:41:41 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-14 05:41:41 -0700 |
| commit | e46bdb8d9a7c3d3d70ec20a9a1057f29efd03f31 (patch) | |
| tree | f110a5f21f06088c6365a23d52ef1aeb746e6aa3 /init | |
| parent | 64525acc0e653d8295edcaa4332b79512483d92b (diff) | |
[PATCH] VM accounting fix
From: Hugh Dickins <hugh@veritas.com>
Stas Sergeev <stsp@aknet.ru> wrote:
mprotect() fails to merge VMAs because one VMA can end up with
VM_ACCOUNT flag set, and another without that flag. That makes several
apps of mine to malfuncate.
Great find! Someone has got their test the wrong way round. Since that
VM_MAYACCT macro is being used in one place only, and just hiding what it's
actually about, fold it into its callsite.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
