Messages in this thread | | | Date | Mon, 20 Jul 2009 11:05:32 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH 02/10] ksm: first tidy up madvise_vma() |
| |
Izik Eidus wrote: > From: Hugh Dickins <hugh.dickins@tiscali.co.uk> > > madvise.c has several levels of switch statements, what to do in which? > Move MADV_DOFORK code down from madvise_vma() to madvise_behavior(), so > madvise_vma() can be a simple router, to madvise_behavior() by default. > > vma->vm_flags is an unsigned long so use the same type for new_flags. > Add missing comment lines to describe MADV_DONTFORK and MADV_DOFORK. > > Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> > Signed-off-by: Chris Wright <chrisw@redhat.com> > Signed-off-by: Izik Eidus <ieidus@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
-- All rights reversed.
| |