../mm/page_alloc.c: In function ‘try_alloc_pages_noprof’: ../mm/page_alloc.c:7124:53: error: ‘zone’ undeclared (first use in this function) 7124 | if (has_unaccepted_memory() && !list_empty(&zone->unaccepted_pages)) | ^~~~ ../mm/page_alloc.c:7124:53: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [../scripts/Makefile.build:194: mm/page_alloc.o] Error 1 make[4]: *** Waiting for unfinished jobs.... ../mm/swap_state.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'swap_vma_readahead' - unexpected unlock ../mm/zswap.c:1148:23: warning: context imbalance in 'shrink_memcg_cb' - unexpected unlock ../mm/kfence/core.c:359:34: warning: cast to restricted __le64 ../mm/kfence/core.c:363:34: warning: cast to restricted __le64 ../mm/kfence/core.c:383:21: warning: cast to restricted __le64 ../mm/kfence/core.c:403:21: warning: cast to restricted __le64 ../mm/kfence/core.c: note: in included file (through ../include/linux/bitmap.h, ../include/linux/cpumask.h, ../arch/x86/include/asm/paravirt.h, ../arch/x86/include/asm/irqflags.h, ../include/linux/irqflags.h, ...): ../include/linux/string.h:373:15: warning: memset with byte count of 315392 ../mm/kfence/core.c:1259:9: warning: context imbalance in 'kfence_handle_page_fault' - different lock contexts for basic block ../mm/memcontrol-v1.c:107:1: warning: symbol 'memcg_oom_lock' was not declared. Should it be static? ../mm/memcontrol-v1.c:438:21: error: incompatible types in comparison expression (different address spaces): ../mm/memcontrol-v1.c:438:21: struct mem_cgroup_threshold_ary [noderef] __rcu * ../mm/memcontrol-v1.c:438:21: struct mem_cgroup_threshold_ary * ../mm/memcontrol-v1.c:440:21: error: incompatible types in comparison expression (different address spaces): ../mm/memcontrol-v1.c:440:21: struct mem_cgroup_threshold_ary [noderef] __rcu * ../mm/memcontrol-v1.c:440:21: struct mem_cgroup_threshold_ary * ../mm/memcontrol-v1.c:702:9: error: incompatible types in comparison expression (different address spaces): ../mm/memcontrol-v1.c:702:9: struct mem_cgroup_threshold_ary [noderef] __rcu * ../mm/memcontrol-v1.c:702:9: struct mem_cgroup_threshold_ary * ../mm/memcontrol-v1.c:796:9: error: incompatible types in comparison expression (different address spaces): ../mm/memcontrol-v1.c:796:9: struct mem_cgroup_threshold_ary [noderef] __rcu * ../mm/memcontrol-v1.c:796:9: struct mem_cgroup_threshold_ary * ../mm/madvise.c:206:17: warning: context imbalance in 'swapin_walk_pmd_entry' - unexpected unlock ../mm/madvise.c:432:28: warning: context imbalance in 'madvise_cold_or_pageout_pte_range' - unexpected unlock ../mm/madvise.c: note: in included file (through ../include/linux/rculist.h, ../include/linux/dcache.h, ../include/linux/fs.h, ../include/linux/mman.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'madvise_free_pte_range' - unexpected unlock ../mm/migrate_device.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/memremap.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'migrate_vma_collect_pmd' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'migrate_vma_insert_page' - unexpected unlock ../mm/mempolicy.c:548:17: warning: context imbalance in 'queue_folios_pte_range' - unexpected unlock ../mm/swapfile.c:602:13: warning: context imbalance in 'cluster_reclaim_range' - unexpected unlock ../mm/swapfile.c:738:23: warning: context imbalance in 'alloc_swap_scan_cluster' - different lock contexts for basic block ../mm/swapfile.c:756:31: warning: context imbalance in 'swap_reclaim_full_clusters' - unexpected unlock ../mm/swapfile.c:1032:13: warning: context imbalance in 'swap_offset_available_and_locked' - wrong count at exit ../mm/swapfile.c:1238:9: warning: context imbalance in 'scan_swap_map_slots' - unexpected unlock ../mm/swapfile.c:1388:36: warning: context imbalance in 'swap_info_get_cont' - unexpected unlock ../mm/swapfile.c:436:9: warning: context imbalance in '__swap_entry_free' - different lock contexts for basic block ../mm/swapfile.c:436:9: warning: context imbalance in '__swap_entries_free' - different lock contexts for basic block ../mm/swapfile.c:1590:23: warning: context imbalance in 'swap_entry_range_free' - different lock contexts for basic block ../mm/swapfile.c:436:9: warning: context imbalance in 'cluster_swap_free_nr' - different lock contexts for basic block ../mm/swapfile.c:1670:38: warning: context imbalance in 'put_swap_folio' - different lock contexts for basic block ../mm/swapfile.c:1714:28: warning: context imbalance in 'swapcache_free_entries' - unexpected unlock ../mm/swapfile.c:436:9: warning: context imbalance in 'swap_swapcount' - different lock contexts for basic block ../mm/swapfile.c:436:9: warning: context imbalance in 'swp_swapcount' - different lock contexts for basic block ../mm/swapfile.c:436:9: warning: context imbalance in 'swap_page_trans_huge_swapped' - different lock contexts for basic block ../mm/swapfile.c: note: in included file (through ../include/linux/rculist.h, ../include/linux/dcache.h, ../include/linux/fs.h, ../include/linux/highmem.h, ../include/linux/bvec.h, ../include/linux/blk_types.h, ...): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'unuse_pte' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'unuse_pte_range' - unexpected unlock ../mm/swapfile.c:436:9: warning: context imbalance in '__swap_duplicate' - different lock contexts for basic block ../mm/swapfile.c:3886:23: warning: context imbalance in 'add_swap_count_continuation' - different lock contexts for basic block ../mm/migrate.c:406:20: warning: context imbalance in 'migration_entry_wait' - unexpected unlock ../mm/migrate.c:897:9: warning: context imbalance in '__buffer_migrate_folio' - different lock contexts for basic block ../mm/migrate.c:2248:25: warning: context imbalance in 'add_folio_for_migration' - unexpected unlock ../mm/migrate.c:2421:25: warning: context imbalance in 'do_pages_stat_array' - unexpected unlock ../mm/ksm.c:643:25: warning: context imbalance in 'break_ksm' - unexpected unlock ../mm/ksm.c:754:17: warning: context imbalance in 'get_mergeable_page' - unexpected unlock ../mm/ksm.c: note: in included file: ../include/linux/rmap.h:703:28: warning: context imbalance in 'write_protect_page' - unexpected unlock ../mm/ksm.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'replace_page' - unexpected unlock ../mm/ksm.c:2551:33: warning: context imbalance in 'scan_get_next_rmap_item' - unexpected unlock ../mm/memory-failure.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'dev_pagemap_mapping_shift' - unexpected unlock ../mm/memory-failure.c:812:17: warning: context imbalance in 'hwpoison_pte_range' - unexpected unlock ../mm/khugepaged.c:849:25: warning: symbol 'khugepaged_collapse_control' was not declared. Should it be static? ../mm/khugepaged.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in '__collapse_huge_page_swapin' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'collapse_huge_page' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'hpage_collapse_scan_pmd' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'collapse_pte_mapped_thp' - unexpected unlock ../mm/khugepaged.c:1782:28: warning: context imbalance in 'retract_page_tables' - different lock contexts for basic block ../mm/hugetlb.c:636:12: warning: context imbalance in 'allocate_file_region_entries' - wrong count at exit ../mm/hugetlb.c:707:13: warning: context imbalance in 'region_add' - wrong count at exit ../mm/hugetlb.c:774:13: warning: context imbalance in 'region_chg' - wrong count at exit ../mm/hugetlb.c:5425:20: warning: context imbalance in 'move_huge_pte' - different lock contexts for basic block ../mm/hugetlb.c: note: in included file: ../include/linux/mm.h:1455:22: warning: context imbalance in 'hugetlb_wp' - unexpected unlock ../mm/memcontrol.c:3909:52: error: incompatible types in comparison expression (different address spaces): ../mm/memcontrol.c:3909:52: struct task_struct [noderef] __rcu * ../mm/memcontrol.c:3909:52: struct task_struct * ../mm/memcontrol.c: note: in included file: ../include/linux/memcontrol.h:717:9: warning: context imbalance in 'folio_lruvec_lock' - wrong count at exit ../include/linux/memcontrol.h:717:9: warning: context imbalance in 'folio_lruvec_lock_irq' - wrong count at exit ../include/linux/memcontrol.h:717:9: warning: context imbalance in 'folio_lruvec_lock_irqsave' - wrong count at exit ../mm/huge_memory.c:2102:20: warning: context imbalance in 'madvise_free_huge_pmd' - unexpected unlock ../mm/huge_memory.c:2140:28: warning: context imbalance in 'zap_huge_pmd' - unexpected unlock ../mm/huge_memory.c:2251:28: warning: context imbalance in 'move_huge_pmd' - unexpected unlock ../mm/huge_memory.c:2391:20: warning: context imbalance in 'change_huge_pmd' - unexpected unlock ../mm/huge_memory.c: note: in included file (through ../include/linux/pgtable.h, ../include/linux/mm.h): ../arch/x86/include/asm/pgtable.h:898:9: warning: context imbalance in 'change_huge_pud' - unexpected unlock ../mm/huge_memory.c:2473:28: warning: context imbalance in 'move_pages_huge_pmd' - unexpected unlock ../mm/huge_memory.c:2588:12: warning: context imbalance in '__pmd_trans_huge_lock' - wrong count at exit ../mm/huge_memory.c:2605:12: warning: context imbalance in '__pud_trans_huge_lock' - wrong count at exit ../mm/huge_memory.c:2631:28: warning: context imbalance in 'zap_huge_pud' - unexpected unlock ../mm/huge_memory.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in '__split_huge_zero_page_pmd' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in '__split_huge_pmd_locked' - unexpected unlock ../mm/huge_memory.c:3315:38: warning: context imbalance in '__split_huge_page' - unexpected unlock ../mm/huge_memory.c:3620:17: warning: context imbalance in 'split_huge_page_to_list_to_order' - different lock contexts for basic block ../mm/huge_memory.c:4054:17: warning: context imbalance in 'split_huge_pages_pid' - unexpected unlock make[3]: *** [../scripts/Makefile.build:440: mm] Error 2 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../mm/page_alloc.c: In function ‘try_alloc_pages_noprof’: ../mm/page_alloc.c:7124:53: error: ‘zone’ undeclared (first use in this function) 7124 | if (has_unaccepted_memory() && !list_empty(&zone->unaccepted_pages)) | ^~~~ ../mm/page_alloc.c:7124:53: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [../scripts/Makefile.build:194: mm/page_alloc.o] Error 1 make[4]: *** Waiting for unfinished jobs.... ../mm/numa_memblks.c:13:12: warning: symbol 'numa_nodes_parsed' was not declared. Should it be static? ../mm/page_ext.c:521:17: warning: context imbalance in 'page_ext_get' - wrong count at exit ../mm/page_ext.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'page_ext_put' - unexpected unlock ../mm/kmemleak.c:1912:13: warning: context imbalance in 'kmemleak_seq_start' - different lock contexts for basic block ../mm/kmemleak.c: note: in included file (through ../include/linux/rculist.h, ../include/linux/sched/signal.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'kmemleak_seq_stop' - unexpected unlock ../mm/page_table_check.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in '__page_table_check_pte_clear_range' - unexpected unlock ../mm/damon/paddr.c: note: in included file: ../include/linux/rmap.h:703:28: warning: context imbalance in 'damon_folio_young_one' - unexpected unlock ../mm/zsmalloc.c:1708:13: warning: context imbalance in 'migrate_write_lock' - wrong count at exit ../mm/zsmalloc.c:1713:13: warning: context imbalance in 'migrate_write_unlock' - unexpected unlock ../mm/debug_vm_pgtable.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'debug_vm_pgtable' - unexpected unlock ../mm/damon/vaddr.c: note: in included file (through ../include/linux/rculist.h, ../include/linux/dcache.h, ../include/linux/fs.h, ../include/linux/highmem.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'damon_mkold_pmd_entry' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'damon_young_pmd_entry' - unexpected unlock ../mm/hmm.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h, ../include/linux/pagewalk.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'hmm_vma_handle_pte' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'hmm_vma_walk_pmd' - unexpected unlock ../mm/hmm.c:446:36: warning: context imbalance in 'hmm_vma_walk_pud' - unexpected unlock ../mm/userfaultfd.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/mm.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'mfill_atomic_install_pte' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'mfill_atomic_pte_zeropage' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'mfill_atomic_pte_poison' - unexpected unlock ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'move_pages_pte' - unexpected unlock ../mm/userfaultfd.c:1695:44: warning: context imbalance in 'move_pages' - unexpected unlock ../mm/memcontrol.c:3921:52: error: incompatible types in comparison expression (different address spaces): ../mm/memcontrol.c:3921:52: struct task_struct [noderef] __rcu * ../mm/memcontrol.c:3921:52: struct task_struct * ../mm/memcontrol.c: note: in included file: ../include/linux/memcontrol.h:717:9: warning: context imbalance in 'folio_lruvec_lock' - wrong count at exit ../include/linux/memcontrol.h:717:9: warning: context imbalance in 'folio_lruvec_lock_irq' - wrong count at exit ../include/linux/memcontrol.h:717:9: warning: context imbalance in 'folio_lruvec_lock_irqsave' - wrong count at exit ../mm/memcontrol.c:1761: warning: Function parameter or struct member 'gfp_mask' not described in 'consume_stock' make[3]: *** [../scripts/Makefile.build:440: mm] Error 2 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2