diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-11-10 23:32:02 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-11-21 00:43:59 +0300 |
| commit | 7370f8e1b3a8b908b2a4a9d5d02970697e9aba62 (patch) | |
| tree | 417f7074a2d94d68457d033543a06a8307be15e3 /scripts/stackusage | |
| parent | 2197bb60f89077603cc580ff752c5cf6388c1099 (diff) | |
| download | linux-7370f8e1b3a8b908b2a4a9d5d02970697e9aba62.tar.xz | |
mm: use vma_start_write_killable() in dup_mmap()
Allow waiting for the VMA write lock to be interrupted by fatal signals.
The explicit check for fatal_signal_pending() can be removed as it is
checked during vma_start_write_killable(). Improves the latency of
killing the task as we do not wait for the reader to finish before
checking for signals.
Link: https://lkml.kernel.org/r/20251110203204.1454057-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Chris Li <chriscli@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Shakeel Butt <shakeel.butt@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
