lkml.org 
[lkml]   [2022]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] mm/uffd: Fix vma check
Date
I just got time to have a closer look on the uffd-wp triggering of the
warning here:

https://lore.kernel.org/all/YzeR+R6b4bwBlBHh@x1n/T/#u

It turns out to be a wrong check on vma, and with the fix attached we
should be able to remove the ugly macro checks. Sorry for the bothersome.

Please have a look, thanks.

Peter Xu (2):
mm/uffd: Fix vma check on userfault for wp
Revert "mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled in"

include/linux/userfaultfd_k.h | 6 +++---
mm/hugetlb.c | 4 ----
mm/memory.c | 2 --
mm/mprotect.c | 2 --
4 files changed, 3 insertions(+), 11 deletions(-)

--
2.37.3

\
 
 \ /
  Last update: 2022-10-25 00:06    [W:0.128 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site