diff options
| author | Andrew Morton <akpm@linux-foundation.org> | 2026-08-10 13:16:37 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-08-24 18:43:24 -0700 |
| commit | 556147fc27b5d9c3c731ae4c5599457831102735 (patch) | |
| tree | 2eaab86364483ac7a9b89d0e2e9464c11e7500f8 /tools/perf/scripts/python | |
| parent | a1b114b4cec1263e693cd6e7aa5c8321295143c6 (diff) | |
| download | linux-556147fc27b5d9c3c731ae4c5599457831102735.tar.gz linux-556147fc27b5d9c3c731ae4c5599457831102735.zip | |
mm/hmm.c:hmm_do_fault(): suppress sparse warning
mm/hmm.c:673 hmm_do_fault() error: we previously assumed 'hmm_vma_walk->locked' could be null (see line 654)
Stanislav says this can't happen. Waste a few cycles to make the warning
go away.
[akpm@linux-foundation.org: WARN_ON_ONCE() if the handler didn't set ->locked, per Stanislav]
Link: https://lore.kernel.org/anu1N-DOnQwxO1kF@skinsburskii
Fixes: 121170831228 ("mm/hmm: add hmm_range_fault_unlocked_timeout() for mmap lock-drop support")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/202608101053.PhnVUM4u-lkp@intel.com
Cc: Stanislav Kinsburskii <skinsburskii@gmail.com>
Cc: David Hildenbrand <david@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
