diff options
| author | Christian Brauner <[email protected]> | 2025-06-12 13:25:25 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-06-16 15:01:23 +0000 |
| commit | a961c737cda8f172e108da881691cadafb9a061e (patch) | |
| tree | b41dd05beb39d5fe0b489f0b0f88000eb37c41a3 /rust/helpers/workqueue.c | |
| parent | coredump: split file coredumping into coredump_file() (diff) | |
| download | kernel-a961c737cda8f172e108da881691cadafb9a061e.tar.gz kernel-a961c737cda8f172e108da881691cadafb9a061e.zip | |
coredump: prepare to simplify exit paths
The exit path is currently entangled with core pipe limit accounting
which is really unpleasant. Use a local variable in struct core_name
that remembers whether the count was incremented and if so to clean
decrement in once the coredump is done. Assert that this only happens
for pipes.
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
