| From: Andrew Morton <akpm@linux-foundation.org> |
| Subject: mmslub-use-node-notifier-instead-of-memory-notifier-fix |
| Date: Sun Jun 22 11:57:25 AM PDT 2025 |
| |
| slub.c needs node.h for struct node_notify |
| |
| Reported-by: kernel test robot <lkp@intel.com> |
| Closes: https://lore.kernel.org/oe-kbuild-all/202506202144.dGkFxasv-lkp@intel.com/ |
| Cc: David Hildenbrand <david@redhat.com> |
| Cc: Harry Yoo <harry.yoo@oracle.com> |
| Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com> |
| Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com> |
| Cc: Oscar Salvador <osalvador@suse.de> |
| Cc: Rakie Kim <rakie.kim@sk.com> |
| Cc: Vlastimil Babka <vbabka@suse.cz> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| mm/slub.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- a/mm/slub.c~mmslub-use-node-notifier-instead-of-memory-notifier-fix |
| +++ a/mm/slub.c |
| @@ -23,6 +23,7 @@ |
| #include <linux/proc_fs.h> |
| #include <linux/seq_file.h> |
| #include <linux/kasan.h> |
| +#include <linux/node.h> |
| #include <linux/kmsan.h> |
| #include <linux/cpu.h> |
| #include <linux/cpuset.h> |
| _ |