On Tue, Sep 24, 2024 at 7:15 PM Matthew Wilcox wrote:
> 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..
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
On Thu, Sep 12, 2024 at 11:02 PM Suren Baghdasaryan wrote:
> Add helper functions to speculatively perform operations without
> read-locking mmap_lock, expecting that mmap_lock will not be
> write-locked and mm is not modified from under us.
I think this is okay now, except for some comments that
On Thu, Sep 12, 2024 at 3:20 PM Andrii Nakryiko
wrote:
>
> On Thu, Sep 12, 2024 at 2:04 PM Suren Baghdasaryan wrote:
> >
> > On Thu, Sep 12, 2024 at 2:02 PM Suren Baghdasaryan
> > wrote:
> > >
> > > Add helper functions to speculatively perform operations without
> > > read-locking mmap_lock, e
On Thu, Sep 12, 2024 at 2:04 PM Suren Baghdasaryan wrote:
>
> On Thu, Sep 12, 2024 at 2:02 PM Suren Baghdasaryan wrote:
> >
> > Add helper functions to speculatively perform operations without
> > read-locking mmap_lock, expecting that mmap_lock will not be
> > write-locked and mm is not modified
On Thu, Sep 12, 2024 at 2:02 PM Suren Baghdasaryan wrote:
>
> Add helper functions to speculatively perform operations without
> read-locking mmap_lock, expecting that mmap_lock will not be
> write-locked and mm is not modified from under us.
Here you go. I hope I got the ordering right this time
Add helper functions to speculatively perform operations without
read-locking mmap_lock, expecting that mmap_lock will not be
write-locked and mm is not modified from under us.
Suggested-by: Peter Zijlstra
Signed-off-by: Suren Baghdasaryan
Signed-off-by: Andrii Nakryiko
---
Changes since v1 [1]