diff options
| author | Ricardo Cañuelo Navarro <[email protected]> | 2025-02-26 12:26:27 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-03-06 05:36:18 +0000 |
| commit | adae46ac1e38a288b14f0298e27412adcba83f8e (patch) | |
| tree | 45358d03b226438c6738141d41182190591da0a6 /mm/vmalloc.c | |
| parent | userfaultfd: fix PTE unmapping stack-allocated PTE copies (diff) | |
| download | kernel-adae46ac1e38a288b14f0298e27412adcba83f8e.tar.gz kernel-adae46ac1e38a288b14f0298e27412adcba83f8e.zip | |
mm: shmem: remove unnecessary warning in shmem_writepage()
Although the scenario where shmem_writepage() is called with info->flags &
VM_LOCKED is unlikely to happen, it's still possible, as evidenced by
syzbot [1]. However, the warning in this case isn't necessary because the
situation is already handled correctly [2].
[2] https://lore.kernel.org/lkml/[email protected]/
Link: https://lkml.kernel.org/r/20250226-20250221-warning-in-shmem_writepage-v1-1-5ad19420e17e@igalia.com
Fixes: 9a976f0c847b ("shmem: skip page split if we're not reclaiming")
Signed-off-by: Ricardo Cañuelo Navarro <[email protected]>
Reported-by: Pengfei Xu <[email protected]>
Closes: https://lore.kernel.org/lkml/[email protected]/ [1]
Suggested-by: Hugh Dickins <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Cc: Florent Revest <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Florent Revest <[email protected]>
Cc: Luis Chamberalin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
