uaccess: Define pagefault lock guard
authorViktor Malik <vmalik@redhat.com>
Thu, 26 Jun 2025 06:08:28 +0000 (08:08 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 26 Jun 2025 16:44:45 +0000 (09:44 -0700)
commit3a95a561f2763e3854e207de3ea821e795a1f1e0
treea50330c864f82d586c03aa69100ccf0a05b28ff2
parentd83caf7c8dad96051267c18786b7bc446b537f3c
uaccess: Define pagefault lock guard

Define a pagefault lock guard which allows to simplify functions that
need to disable page faults.

Signed-off-by: Viktor Malik <vmalik@redhat.com>
Link: https://lore.kernel.org/r/8a01beb0b671923976f08297d81242bb2129881d.1750917800.git.vmalik@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/uaccess.h