Commit da5a856
committed
docs(uffd): fix prefault comment about EEXIST return path
The comment in Prefault claimed faultPage returns EEXIST and "handled
stays false" when a concurrent on-demand fault beats us. faultPage
actually treats EEXIST as handled (returns true, nil), so handled is
true and we still call setState(faulted) + prefetchTracker.Add(...).
The comment now reflects the real semantics.
No behavior change. Addresses PR #2520 review thread (Cursor Bugbot
comment id 3177646485).1 parent 08e94de commit da5a856
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
0 commit comments