| Date | Tue, 08 Sep 2009 18:23:36 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH 6/8] mm: fix anonymous dirtying |
| |
Hugh Dickins wrote: > do_anonymous_page() has been wrong to dirty the pte regardless. > If it's not going to mark the pte writable, then it won't help > to mark it dirty here, and clogs up memory with pages which will > need swap instead of being thrown away. Especially wrong if no > overcommit is chosen, and this vma is not yet VM_ACCOUNTed - > we could exceed the limit and OOM despite no overcommit. > > Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> > Cc: stable@kernel.org
Acked-by: Rik van Riel <riel@redhat.com>
-- All rights reversed.
|