* Re: futex: Fix mm reuse handling for FUT_OFF_MMSHARED
@ 2026-09-30 4:27 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-30 4:27 UTC (permalink / raw)
Cc: oe-kbuild-all
Hi Jann,
kernel test robot noticed the following build errors:
url: https://github.com/intel-lab-lkp/linux/commits/Jann-Horn/futex-Fix-mm-reuse-handling-for-FUT_OFF_MMSHARED/20260929-183132
base:
patch link: https://lore.kernel.org/r/202609301223.w5jdpXiP-lkp%40intel.com
config: csky-randconfig-1001-20260930 (https://download.01.org/0day-ci/archive/20260930/202609301223.w5jdpXiP-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260930/202609301223.w5jdpXiP-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609301223.w5jdpXiP-lkp@intel.com/
All errors (new ones prefixed by >>):
csky-linux-ld: kernel/fork.o: in function `mm_init.isra.0':
>> fork.c:(.text+0x188c): undefined reference to `futex_mm_init'
>> csky-linux-ld: fork.c:(.text+0x196c): undefined reference to `futex_mm_init'
`.exit.text' referenced in section `__jump_table' of fs/fuse/inode.o: defined in discarded section `.exit.text' of fs/fuse/inode.o
`.exit.text' referenced in section `__jump_table' of fs/fuse/inode.o: defined in discarded section `.exit.text' of fs/fuse/inode.o
`.exit.text' referenced in section `__jump_table' of fs/ceph/super.o: defined in discarded section `.exit.text' of fs/ceph/super.o
`.exit.text' referenced in section `__jump_table' of fs/ceph/super.o: defined in discarded section `.exit.text' of fs/ceph/super.o
`.exit.text' referenced in section `__jump_table' of drivers/usb/gadget/legacy/inode.o: defined in discarded section `.exit.text' of drivers/usb/gadget/legacy/inode.o
`.exit.text' referenced in section `__jump_table' of drivers/usb/gadget/legacy/inode.o: defined in discarded section `.exit.text' of drivers/usb/gadget/legacy/inode.o
`.exit.text' referenced in section `__jump_table' of lib/test_dynamic_debug.o: defined in discarded section `.exit.text' of lib/test_dynamic_debug.o
`.exit.text' referenced in section `__jump_table' of lib/test_dynamic_debug.o: defined in discarded section `.exit.text' of lib/test_dynamic_debug.o
drivers/comedi/drivers/tests/ni_routes_test.o: in function `test_ni_check_trigger_arg':
ni_routes_test.c:(.text+0x24c2): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
ni_routes_test.c:(.text+0x24c8): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
drivers/comedi/drivers/tests/ni_routes_test.o: in function `test_ni_get_reg_value':
ni_routes_test.c:(.text+0x250c): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
ni_routes_test.c:(.text+0x2534): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
ni_routes_test.c:(.text+0x2552): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
ni_routes_test.c:(.text+0x2560): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
ni_routes_test.c:(.text+0x2582): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
ni_routes_test.c:(.text+0x259e): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
ni_routes_test.c:(.text+0x25c0): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
ni_routes_test.c:(.text+0x25dc): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
ni_routes_test.c:(.text+0x25fe): additional relocation overflows omitted from the output
csky-linux-ld: final link failed
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: futex: Fix mm reuse handling for FUT_OFF_MMSHARED
@ 2026-09-30 6:58 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-30 6:58 UTC (permalink / raw)
Cc: oe-kbuild-all
Hi Jann,
kernel test robot noticed the following build errors:
url: https://github.com/intel-lab-lkp/linux/commits/Jann-Horn/futex-Fix-mm-reuse-handling-for-FUT_OFF_MMSHARED/20260929-183132
base:
patch link: https://lore.kernel.org/r/202609301426.SAWrhIfj-lkp%40intel.com
config: arm-randconfig-1001-20260930 (https://download.01.org/0day-ci/archive/20260930/202609301426.SAWrhIfj-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260930/202609301426.SAWrhIfj-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609301426.SAWrhIfj-lkp@intel.com/
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: kernel/fork.o: in function `mm_init':
>> kernel/fork.c:1119: undefined reference to `futex_mm_init'
vim +1119 kernel/fork.c
ce0853966085dd8 Suren Baghdasaryan 2025-02-13 1090
6b1c66c9cca99bf Christian Brauner (Amutable 2026-05-20 1091) static struct mm_struct *mm_init(struct mm_struct *mm, struct task_struct *p)
^1da177e4c3f415 Linus Torvalds 2005-04-16 1092 {
d4af56c5c7c6781 Liam R. Howlett 2022-09-06 1093 mt_init_flags(&mm->mm_mt, MM_MT_FLAGS);
d4af56c5c7c6781 Liam R. Howlett 2022-09-06 1094 mt_set_external_lock(&mm->mm_mt, &mm->mmap_lock);
^1da177e4c3f415 Linus Torvalds 2005-04-16 1095 atomic_set(&mm->mm_users, 1);
^1da177e4c3f415 Linus Torvalds 2005-04-16 1096 atomic_set(&mm->mm_count, 1);
57efa1fe5957694 Jason Gunthorpe 2020-12-14 1097 seqcount_init(&mm->write_protect_seq);
d8ed45c5dcd455f Michel Lespinasse 2020-06-08 1098 mmap_init_lock(mm);
^1da177e4c3f415 Linus Torvalds 2005-04-16 1099 INIT_LIST_HEAD(&mm->mmlist);
af5b0f6a09e42c9 Kiryl Shutsemau 2017-11-15 1100 mm_pgtables_bytes_init(mm);
41f727fde1fe40e Vladimir Davydov 2014-08-08 1101 mm->map_count = 0;
41f727fde1fe40e Vladimir Davydov 2014-08-08 1102 mm->locked_vm = 0;
70f8a3ca68d3e1f Davidlohr Bueso 2019-02-06 1103 atomic64_set(&mm->pinned_vm, 0);
d559db086ff5be9 KAMEZAWA Hiroyuki 2010-03-05 1104 memset(&mm->rss_stat, 0, sizeof(mm->rss_stat));
^1da177e4c3f415 Linus Torvalds 2005-04-16 1105 spin_lock_init(&mm->page_table_lock);
88aa7cc688d48dd Yang Shi 2018-06-07 1106 spin_lock_init(&mm->arg_lock);
41f727fde1fe40e Vladimir Davydov 2014-08-08 1107 mm_init_cpumask(mm);
858f09930b32c11 Alexey Dobriyan 2009-09-23 1108 mm_init_aio(mm);
cf475ad28ac35cc Balbir Singh 2008-04-29 1109 mm_init_owner(mm, p);
a6cbd44093ef305 Fenghua Yu 2022-02-07 1110 mm_pasid_init(mm);
2b7e8665b4ff51c Eric Biggers 2017-08-25 1111 RCU_INIT_POINTER(mm->exe_file, NULL);
984cfe4e252681d Jason Gunthorpe 2019-12-18 1112 mmu_notifier_subscriptions_init(mm);
16af97dc5a89753 Nadav Amit 2017-08-10 1113 init_tlb_flush_pending(mm);
394290cba9664ed David Hildenbrand 2024-07-26 1114 #if defined(CONFIG_TRANSPARENT_HUGEPAGE) && !defined(CONFIG_SPLIT_PMD_PTLOCKS)
41f727fde1fe40e Vladimir Davydov 2014-08-08 1115 mm->pmd_huge_pte = NULL;
41f727fde1fe40e Vladimir Davydov 2014-08-08 1116 #endif
355627f518978b5 Eric Biggers 2017-08-31 1117 mm_init_uprobes_state(mm);
13db8c50477d83a Liu Zixian 2021-09-08 1118 hugetlb_count_init(mm);
d7b3f52c861f54b Thomas Gleixner 2026-06-02 @1119 futex_mm_init(mm);
^1da177e4c3f415 Linus Torvalds 2005-04-16 1120
19148a19da86f1b Lorenzo Stoakes 2025-08-12 1121 mm_flags_clear_all(mm);
a0715cc22601e88 Alex Thorlton 2014-04-07 1122 if (current->mm) {
19148a19da86f1b Lorenzo Stoakes 2025-08-12 1123 unsigned long flags = __mm_flags_get_word(current->mm);
19148a19da86f1b Lorenzo Stoakes 2025-08-12 1124
58eac97a8ba0bcf Lorenzo Stoakes 2025-11-25 1125 __mm_flags_overwrite_word(mm, mmf_init_legacy_flags(flags));
a0715cc22601e88 Alex Thorlton 2014-04-07 1126 mm->def_flags = current->mm->def_flags & VM_INIT_DEF_MASK;
a0715cc22601e88 Alex Thorlton 2014-04-07 1127 } else {
380369ea2e9d3c4 Thorsten Blum 2025-12-15 1128 __mm_flags_overwrite_word(mm, coredump_filter);
^1da177e4c3f415 Linus Torvalds 2005-04-16 1129 mm->def_flags = 0;
a0715cc22601e88 Alex Thorlton 2014-04-07 1130 }
a0715cc22601e88 Alex Thorlton 2014-04-07 1131
41f727fde1fe40e Vladimir Davydov 2014-08-08 1132 if (mm_alloc_pgd(mm))
d7b3f52c861f54b Thomas Gleixner 2026-06-02 1133 goto fail_mm_init;
41f727fde1fe40e Vladimir Davydov 2014-08-08 1134
6af8cb80d3a9a6b David Hildenbrand 2025-03-03 1135 if (mm_alloc_id(mm))
6af8cb80d3a9a6b David Hildenbrand 2025-03-03 1136 goto fail_noid;
6af8cb80d3a9a6b David Hildenbrand 2025-03-03 1137
41f727fde1fe40e Vladimir Davydov 2014-08-08 1138 if (init_new_context(p, mm))
41f727fde1fe40e Vladimir Davydov 2014-08-08 1139 goto fail_nocontext;
41f727fde1fe40e Vladimir Davydov 2014-08-08 1140
7e019dcc470f270 Mathieu Desnoyers 2024-10-09 1141 if (mm_alloc_cid(mm, p))
223baf9d17f25e2 Mathieu Desnoyers 2023-04-20 1142 goto fail_cid;
223baf9d17f25e2 Mathieu Desnoyers 2023-04-20 1143
df0d98475954d65 Peter Zijlstra (Intel 2026-04-01 1144) if (mm_alloc_sched(mm))
df0d98475954d65 Peter Zijlstra (Intel 2026-04-01 1145) goto fail_sched;
df0d98475954d65 Peter Zijlstra (Intel 2026-04-01 1146)
14ef95be6f5558f Mateusz Guzik 2023-08-23 1147 if (percpu_counter_init_many(mm->rss_stat, 0, GFP_KERNEL_ACCOUNT,
14ef95be6f5558f Mateusz Guzik 2023-08-23 1148 NR_MM_COUNTERS))
f1a7941243c102a Shakeel Butt 2022-10-24 1149 goto fail_pcpu;
f1a7941243c102a Shakeel Butt 2022-10-24 1150
bd74fdaea146029 Yu Zhao 2022-09-18 1151 lru_gen_init_mm(mm);
^1da177e4c3f415 Linus Torvalds 2005-04-16 1152 return mm;
78fb74669e80883 Pavel Emelianov 2008-02-07 1153
f1a7941243c102a Shakeel Butt 2022-10-24 1154 fail_pcpu:
df0d98475954d65 Peter Zijlstra (Intel 2026-04-01 1155) mm_destroy_sched(mm);
df0d98475954d65 Peter Zijlstra (Intel 2026-04-01 1156) fail_sched:
223baf9d17f25e2 Mathieu Desnoyers 2023-04-20 1157 mm_destroy_cid(mm);
223baf9d17f25e2 Mathieu Desnoyers 2023-04-20 1158 fail_cid:
b20b0368c614c60 Mathieu Desnoyers 2023-03-30 1159 destroy_context(mm);
41f727fde1fe40e Vladimir Davydov 2014-08-08 1160 fail_nocontext:
6af8cb80d3a9a6b David Hildenbrand 2025-03-03 1161 mm_free_id(mm);
6af8cb80d3a9a6b David Hildenbrand 2025-03-03 1162 fail_noid:
41f727fde1fe40e Vladimir Davydov 2014-08-08 1163 mm_free_pgd(mm);
56180dd20c19e5b Peter Zijlstra 2025-07-10 1164 fail_mm_init:
^1da177e4c3f415 Linus Torvalds 2005-04-16 1165 free_mm(mm);
^1da177e4c3f415 Linus Torvalds 2005-04-16 1166 return NULL;
^1da177e4c3f415 Linus Torvalds 2005-04-16 1167 }
^1da177e4c3f415 Linus Torvalds 2005-04-16 1168
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-30 6:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-30 6:58 futex: Fix mm reuse handling for FUT_OFF_MMSHARED kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-09-30 4:27 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.