aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2024-05-31 17:16:43 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-07-03 19:30:03 -0700
commit37a4b34ac92aae258a08c23f255356746ded0571 (patch)
treec3c7cec7075beddf848f543e1a540a0ff2ce3e1e /mm/swap_state.c
parentmm: sparse: consistently use _nr (diff)
downloadwireguard-linux-37a4b34ac92aae258a08c23f255356746ded0571.tar.xz
wireguard-linux-37a4b34ac92aae258a08c23f255356746ded0571.zip
mm: userfaultfd: use swap() in double_pt_lock()
Use existing swap() function rather than duplicating its implementation. ./mm/userfaultfd.c:1006:13-14: WARNING opportunity for swap() Link: https://lkml.kernel.org/r/20240531091643.67778-1-jiapeng.chong@linux.alibaba.com Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9266 Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Wei Yang <richard.weiyang@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions