Re: [PATCH v2 1/1] mm: introduce mmap_lock_speculation_{start|end}

2024-09-24 Thread Matthew Wilcox
On Fri, Sep 13, 2024 at 12:52:39AM +0200, Jann Horn wrote: > FWIW, I would still feel happier if this was a 64-bit number, though I > guess at least with uprobes the attack surface is not that large even > if you can wrap that counter... 2^31 counter increments are not all > that much, especially i

Re: [PATCH] mm: move mm flags to mm_types.h

2024-09-05 Thread Matthew Wilcox
On Thu, Sep 05, 2024 at 11:26:22PM +0800, Nanyong Sun wrote: > +++ b/include/linux/mm_types.h > @@ -1485,4 +1485,85 @@ enum { > /* See also internal only FOLL flags in mm/internal.h */ > }; > > +/* mm flags */ > + > +/* for SUID_DUMP_* above */ But SUID_DUMP aren't above. They're in a di

Re: [PATCH v2 1/2] hugetlbfs: support tracepoint

2024-07-03 Thread Matthew Wilcox
On Thu, Jul 04, 2024 at 11:07:03AM +0800, Hongbo Li wrote: > + TP_printk("dev = (%d,%d), ino = %lu, dir = %lu, mode = 0%o", > + MAJOR(__entry->dev), MINOR(__entry->dev), > + (unsigned long) __entry->ino, > + (unsigned long) __entry->dir, __entry->mode) erofs