[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1704181401050.112481@chino.kir.corp.google.com>
Date: Tue, 18 Apr 2017 14:01:24 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Anshuman Khandual <khandual@...ux.vnet.ibm.com>
cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
n-horiguchi@...jp.nec.com, akpm@...ux-foundation.org
Subject: Re: [PATCH V3] mm/madvise: Move up the behavior parameter
validation
On Tue, 18 Apr 2017, Anshuman Khandual wrote:
> The madvise_behavior_valid() function should be called before
> acting upon the behavior parameter. Hence move up the function.
> This also includes MADV_SOFT_OFFLINE and MADV_HWPOISON options
> as valid behavior parameter for the system call madvise().
>
> Signed-off-by: Anshuman Khandual <khandual@...ux.vnet.ibm.com>
Acked-by: David Rientjes <rientjes@...gle.com>
Looks like this depends on existing patches in -mm.
Powered by blists - more mailing lists