Re: [PATCH 05/29] x86/fpu: add might_fault() to user_insn()

From: Rik van Riel
Date: Wed Nov 28 2018 - 20:54:40 EST


On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote:
> Every user of user_insn() passes an user memory pointer to this
> macro.
>
> Add might_fault() to user_insn() so we can spot users which are using
> this macro in sections where page faulting is not allowed.

Nice catch.

> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxxx>

--
All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part