[PATCH] security/tomoyo: convert put_page() to put_user_page*()
Tetsuo Handa
penguin-kernel at i-love.sakura.ne.jp
Mon Aug 5 10:01:52 UTC 2019
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?
Andrew, please take this patch. Thank you.
More information about the Linux-security-module-archive
mailing list