Revision 0255004d2a8eb1575e1b9f9fabe0715a7a44288c authored by Alexander Potapenko on 13 April 2023, 12:20:33 UTC, committed by Alexander Potapenko on 17 April 2023, 07:52:33 UTC
To prevent errors when vmap_pages_range_noflush() or
__vmap_pages_range_noflush() silently fail (see the link below for an
example), annotate them with __must_check so that the callers do not
unconditionally assume the mapping succeeded.

Reported-by: Dipanjan Das <mail.dipanjan.das@gmail.com>
Link: https://lore.kernel.org/linux-mm/CANX2M5ZRrRA64k0hOif02TjmY9kbbO2aCBPyq79es34RXZ=cAw@mail.gmail.com/
Signed-off-by: Alexander Potapenko <glider@google.com>
1 parent 803cc04
History
File Mode Size
damon
active_mm.rst -rw-r--r-- 3.8 KB
arch_pgtable_helpers.rst -rw-r--r-- 18.2 KB
balance.rst -rw-r--r-- 5.3 KB
bootmem.rst -rw-r--r-- 73 bytes
free_page_reporting.rst -rw-r--r-- 2.0 KB
frontswap.rst -rw-r--r-- 13.6 KB
highmem.rst -rw-r--r-- 9.1 KB
hmm.rst -rw-r--r-- 21.0 KB
hugetlbfs_reserv.rst -rw-r--r-- 28.9 KB
hwpoison.rst -rw-r--r-- 5.9 KB
index.rst -rw-r--r-- 1.4 KB
ksm.rst -rw-r--r-- 3.4 KB
memory-model.rst -rw-r--r-- 7.9 KB
mmu_notifier.rst -rw-r--r-- 4.0 KB
multigen_lru.rst -rw-r--r-- 10.4 KB
numa.rst -rw-r--r-- 8.6 KB
oom.rst -rw-r--r-- 106 bytes
overcommit-accounting.rst -rw-r--r-- 2.6 KB
page_allocation.rst -rw-r--r-- 85 bytes
page_cache.rst -rw-r--r-- 70 bytes
page_frags.rst -rw-r--r-- 2.2 KB
page_migration.rst -rw-r--r-- 8.5 KB
page_owner.rst -rw-r--r-- 7.1 KB
page_reclaim.rst -rw-r--r-- 76 bytes
page_table_check.rst -rw-r--r-- 2.4 KB
page_tables.rst -rw-r--r-- 73 bytes
physical_memory.rst -rw-r--r-- 12.8 KB
process_addrs.rst -rw-r--r-- 91 bytes
remap_file_pages.rst -rw-r--r-- 1.6 KB
shmfs.rst -rw-r--r-- 112 bytes
slab.rst -rw-r--r-- 85 bytes
slub.rst -rw-r--r-- 17.0 KB
split_page_table_lock.rst -rw-r--r-- 3.6 KB
swap.rst -rw-r--r-- 52 bytes
transhuge.rst -rw-r--r-- 7.5 KB
unevictable-lru.rst -rw-r--r-- 26.1 KB
vmalloc.rst -rw-r--r-- 154 bytes
vmalloced-kernel-stacks.rst -rw-r--r-- 5.6 KB
vmemmap_dedup.rst -rw-r--r-- 12.1 KB
z3fold.rst -rw-r--r-- 1.2 KB
zsmalloc.rst -rw-r--r-- 12.7 KB

back to top