[PATCH] security/tomoyo: convert put_page() to put_user_page*()

John Hubbard jhubbard at nvidia.com
Mon Aug 5 17:48:48 UTC 2019


On 8/5/19 3:01 AM, Tetsuo Handa wrote:
> On 2019/08/05 11:26, john.hubbard at gmail.com wrote:
>> From: John Hubbard <jhubbard at nvidia.com>
>>
>> For pages that were retained via get_user_pages*(), release those pages
>> via the new put_user_page*() routines, instead of via put_page() or
>> release_pages().
>>
>> This is part a tree-wide conversion, as described in commit fc1d8e7cca2d
>> ("mm: introduce put_user_page*(), placeholder versions").
>>
>> Cc: Kentaro Takeda <takedakn at nttdata.co.jp>
>> Cc: Tetsuo Handa <penguin-kernel at I-love.SAKURA.ne.jp>
>> Cc: linux-security-module at vger.kernel.org
>> Signed-off-by: John Hubbard <jhubbard at nvidia.com>
> 
> Acked-by: Tetsuo Handa <penguin-kernel at I-love.SAKURA.ne.jp>
> 
> Sending to Andrew Morton means you expect this patch to go via -mm tree, don't you?

Yes, exactly.

thanks,
-- 
John Hubbard
NVIDIA

> Andrew, please take this patch. Thank you.
> 



More information about the Linux-security-module-archive mailing list