From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Ingo Molnar <mingo@elte.hu>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2 v2] rcu,cleanup: move synchronize_sched_expedited() out of sched.c
Date: Wed, 20 Oct 2010 17:19:28 -0700 [thread overview]
Message-ID: <20101021001928.GA24855@linux.vnet.ibm.com> (raw)
In-Reply-To: <20101020191512.GG2386@linux.vnet.ibm.com>
On Wed, Oct 20, 2010 at 12:15:12PM -0700, Paul E. McKenney wrote:
> On Wed, Oct 20, 2010 at 02:12:58PM +0800, Lai Jiangshan wrote:
> > The first version of synchronize_sched_expedited() use the migration code
> > of the scheduler code, so it have to be implemented in sched.c
> >
> > but now, the synchronize_sched_expedited() does not use such code,
> > it is time to move it out of sched.c.
> >
> > Different rcu implementation' synchronize_sched_expedited() are also
> > different. so we move synchronize_sched_expedited() to kernel/rcutree_plugin.h
> > or include/linux/rcutiny.h instead of kerenl/rcupdate.c
>
> Queued, thank you!!!
Hello again, Lai,
I hit the following build error during testing:
kernel/built-in.o: In function `.synchronize_rcu_expedited':
(.text+0x787d8): undefined reference to `.synchronize_sched_expedited'
kernel/built-in.o:(.toc1+0x1fe0): undefined reference to `synchronize_sched_expedited'
This build uses defconfig with the following applied:
CONFIG_RCU_TRACE=y
CONFIG_RCU_FAST_NO_HZ=y
CONFIG_NO_HZ=y
CONFIG_RCU_CPU_STALL_DETECTOR=y
CONFIG_SMP=y
CONFIG_RCU_FANOUT=8
CONFIG_NR_CPUS=8
CONFIG_RCU_FANOUT_EXACT=n
CONFIG_HOTPLUG_CPU=y
CONFIG_PREEMPT_NONE=y
CONFIG_PREEMPT_VOLUNTARY=n
CONFIG_PREEMPT=n
CONFIG_TREE_RCU=y
CONFIG_TREE_PREEMPT_RCU=n
CONFIG_RCU_TORTURE_TEST=m
CONFIG_MODULE_UNLOAD=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
Thoughts?
Thanx, Paul
next prev parent reply other threads:[~2010-10-21 0:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 6:12 [PATCH 1/2 v2] rcu,cleanup: move synchronize_sched_expedited() out of sched.c Lai Jiangshan
2010-10-20 19:15 ` Paul E. McKenney
2010-10-21 0:19 ` Paul E. McKenney [this message]
2010-10-21 3:29 ` Lai Jiangshan
2010-10-21 4:39 ` Paul E. McKenney
2010-10-21 16:16 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101021001928.GA24855@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=laijs@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox