[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170419004631.GA21629@hori1.linux.bs1.fc.nec.co.jp>
Date: Wed, 19 Apr 2017 00:46:32 +0000
From: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
To: Anshuman Khandual <khandual@...ux.vnet.ibm.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>
Subject: Re: [PATCH V3] mm/madvise: Move up the behavior parameter validation
On Tue, Apr 18, 2017 at 10:58:44AM +0530, 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: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
Powered by blists - more mailing lists