Linus Torvalds writes: (Summary) Then we wouldn't have a special case for
userfaultfd at all.
userfaultfd at all.
I see the gdb issue, but I wonder if we shouldn't fix that differently by changing the retry logic in the fault handler.
by changing the retry logic in the fault handler.
In particular, right now we do
In particular, right now we do
- Retry at most once
- Retry at most once
- handle fatal signals specially
- handle fatal signals specially
and I think the gdb case actually shows that both of those decisions may have been wrong, or at least something we could improve on?
userfaultfd at all.
I see the gdb issue, but I wonder if we shouldn't fix that differently by changing the retry logic in the fault handler.
by changing the retry logic in the fault handler.
In particular, right now we do
In particular, right now we do
- Retry at most once
- Retry at most once
- handle fatal signals specially
- handle fatal signals specially
and I think the gdb case actually shows that both of those decisions may have been wrong, or at least something we could improve on?