diff options
| author | Vlastimil Babka <[email protected]> | 2022-03-22 21:44:53 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-03-22 22:57:07 +0000 |
| commit | 1e7a8181640a620300e98e22223ca3445b349840 (patch) | |
| tree | 8a8f610a255d2da1f4d45d74a0c2fa0feb428609 /mm/sparse-vmemmap.c | |
| parent | mm/memory-failure.c: make non-LRU movable pages unhandlable (diff) | |
| download | kernel-1e7a8181640a620300e98e22223ca3445b349840.tar.gz kernel-1e7a8181640a620300e98e22223ca3445b349840.zip | |
mm, fault-injection: declare should_fail_alloc_page()
The mm/ directory can almost fully be built with W=1, which would help
in local development. One remaining issue is missing prototype for
should_fail_alloc_page(). Thus add it next to the should_failslab()
prototype.
Note the previous attempt by commit f7173090033c ("mm/page_alloc: make
should_fail_alloc_page() static") had to be reverted by commit
54aa386661fe as it caused an unresolved symbol error with
CONFIG_DEBUG_INFO_BTF=y
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vlastimil Babka <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions
