Re: [PATCH v2 0/2] getrusage: use sig->stats_lock

From: Dylan Hatch
Date: Tue Jan 23 2024 - 18:45:53 EST


On Mon, Jan 22, 2024 at 7:51 AM Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> Dylan, do you have something to add?
>
> Oleg.
>

I have one last question -- is there possibly an edge case in which
the hard lockup
can still happen? How likely is it for many writers to force enough
readers to do a
retry on the seqlock, disabling irq and causing the lockup? Is this
not a concern
because there aren't many writers?

Thanks,
Dylan