* [kkdwivedi:mlp 58/59] fs/eventpoll.c:2166:undefined reference to `sock_from_file'
@ 2026-10-07 22:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-07 22:48 UTC (permalink / raw)
To: Kumar Kartikeya Dwivedi; +Cc: oe-kbuild-all
tree: https://github.com/kkdwivedi/linux mlp
head: cb749145988a07c430f0cc8004d3d40b4227fe1f
commit: 54493c2a59093e36a0f02fec2073203cd83bfb10 [58/59] epoll: Prefetch the ready items' files, sockets and socks ahead of delivery
config: powerpc-randconfig-r2104-20261007 (https://download.01.org/0day-ci/archive/20261008/202610080055.22iqebug-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261008/202610080055.22iqebug-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/202610080055.22iqebug-lkp@intel.com/
All errors (new ones prefixed by >>):
powerpc-linux-ld: fs/eventpoll.o: in function `ep_send_lookahead_step':
>> fs/eventpoll.c:2166:(.text+0xebc): undefined reference to `sock_from_file'
vim +2166 fs/eventpoll.c
2141
2142 static void ep_send_lookahead_step(struct ep_send_lookahead *la,
2143 const struct list_head *head)
2144 {
2145 struct epitem *next;
2146 struct sock *sk;
2147
2148 if (la->sock) {
2149 sk = READ_ONCE(la->sock->sk);
2150 if (sk) {
2151 /* what sock_poll and tcp_poll read: the state and
2152 * error, the receive queue and sequence numbers, the
2153 * wait queue, the send space
2154 */
2155 prefetch(sk);
2156 prefetch(&sk->__cacheline_group_begin__sock_write_rx);
2157 prefetch(&sk->__cacheline_group_begin__sock_read_rx);
2158 prefetch(&sk->__cacheline_group_begin__sock_write_rxtx);
2159 prefetch(&sk->__cacheline_group_begin__sock_write_tx);
2160 prefetch(&sk->__cacheline_group_begin__sock_read_tx);
2161 prefetch(&tcp_sk(sk)->rcv_nxt);
2162 }
2163 la->sock = NULL;
2164 }
2165 if (la->file) {
> 2166 la->sock = sock_from_file(la->file);
2167 if (la->sock)
2168 prefetch(la->sock);
2169 la->file = NULL;
2170 }
2171 if (la->item) {
2172 la->file = la->item->ffd.file;
2173 prefetch(la->file);
2174 next = list_next_entry(la->item, rdllink);
2175 la->item = &next->rdllink != head ? next : NULL;
2176 if (la->item)
2177 prefetch(la->item);
2178 }
2179 }
2180
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 22:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-07 22:48 [kkdwivedi:mlp 58/59] fs/eventpoll.c:2166:undefined reference to `sock_from_file' 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.