lkml.org 
[lkml]   [2009]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2009-07-20 17:09    [W:0.239 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site