mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [rcu:dev.2019.08.01b 66/72] kernel/rcu/rcutorture.c:1767:4: error: implicit declaration of function 'rcu_momentary_dyntick_idle'
@ 2019-08-09 20:38 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-08-09 20:38 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.08.01b
head:   6c92be8b1b81158f48ab0cb00d34d451dae1fa3c
commit: 5f4264e33ca4e7cee035cee5bfa62f6d1bbf2cda [66/72] rcutorture: Emulate dyntick aspect of userspace nohz_full sojourn
config: i386-randconfig-d004-201931 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
        git checkout 5f4264e33ca4e7cee035cee5bfa62f6d1bbf2cda
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   kernel/rcu/rcutorture.c: In function 'rcu_torture_fwd_prog_cbfree':
>> kernel/rcu/rcutorture.c:1767:4: error: implicit declaration of function 'rcu_momentary_dyntick_idle' [-Werror=implicit-function-declaration]
       rcu_momentary_dyntick_idle();
       ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/rcu_momentary_dyntick_idle +1767 kernel/rcu/rcutorture.c

  1741	
  1742	/*
  1743	 * Free all callbacks on the rcu_fwd_cb_head list, either because the
  1744	 * test is over or because we hit an OOM event.
  1745	 */
  1746	static unsigned long rcu_torture_fwd_prog_cbfree(void)
  1747	{
  1748		unsigned long flags;
  1749		unsigned long freed = 0;
  1750		struct rcu_fwd_cb *rfcp;
  1751	
  1752		for (;;) {
  1753			spin_lock_irqsave(&rcu_fwd_lock, flags);
  1754			rfcp = rcu_fwd_cb_head;
  1755			if (!rfcp) {
  1756				spin_unlock_irqrestore(&rcu_fwd_lock, flags);
  1757				break;
  1758			}
  1759			rcu_fwd_cb_head = rfcp->rfc_next;
  1760			if (!rcu_fwd_cb_head)
  1761				rcu_fwd_cb_tail = &rcu_fwd_cb_head;
  1762			spin_unlock_irqrestore(&rcu_fwd_lock, flags);
  1763			kfree(rfcp);
  1764			freed++;
  1765			rcu_torture_fwd_prog_cond_resched(freed);
  1766			if (IS_ENABLED(CONFIG_NO_HZ_FULL))
> 1767				rcu_momentary_dyntick_idle();
  1768		}
  1769		return freed;
  1770	}
  1771	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31261 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-09 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 20:38 [rcu:dev.2019.08.01b 66/72] kernel/rcu/rcutorture.c:1767:4: error: implicit declaration of function 'rcu_momentary_dyntick_idle' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®