summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDavid Hildenbrand (Arm) <david@kernel.org>2026-10-15 18:07:13 +0200
committerAndrew Morton <akpm@linux-foundation.org>2026-10-24 01:55:48 -0700
commit811777d82038d4fd3f5d3bf986f682df463b6f21 (patch)
tree11deb8e48d9e55f54fff2c2a5808d77b672df4d8 /tools/perf/scripts/python/syscall-counts.py
parentf61e1cf15fb44f9cf89d43d8ef01f926322bb1c4 (diff)
mm/hugetlb: tolerate uffd bits set without uffd for PROT_NONE PTEs
The whole uffd handling when a VMA is unregistered from UFFD is shaky: there are still some scenarios where we might have stale uffd PTE bits in VMAs no longer registered for UFFD, which confuses other code. Let's just tolerate that for now and simply clear the PTE bit. Add a TODO to really clean up any uffd leftovers when unregistering a VMA from userfaultfd. The handling is now more similar to what we have in handle_pte_fault(). Link: https://lore.kernel.org/20261015-urgent_fixes-v1-7-42796911043b@kernel.org Fixes: 2d427bb01639 ("mm/userfaultfd: add RWP fault delivery and expose UFFDIO_REGISTER_MODE_RWP") Signed-off-by: David Hildenbrand (Arm) <david@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Lorenzo Stoakes (ARM) <ljs@kernel.org> Reviewed-by: Lance Yang <lance.yang@linux.dev> Acked-by: Kiryl Shutsemau (Meta) <kas@kernel.org> Cc: Liam R. Howlett <liam@infradead.org> Cc: Vlastimil Babka <vbabka@kernel.org> Cc: Jann Horn <jannh@google.com> Cc: Pedro Falcato <pfalcato@suse.de> Cc: Muchun Song <muchun.song@linux.dev> Cc: Oscar Salvador <osalvador@suse.de> Cc: Miaohe Lin <linmiaohe@huawei.com> Cc: Naoya Horiguchi <nao.horiguchi@gmail.com> Cc: Adam Litke <agl@us.ibm.com> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Rik van Riel <riel@surriel.com> Cc: Peter Xu <peterx@redhat.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Josef Bacik <josef@toxicpanda.com> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions