| To: | Andrew Morton <akpm@xxxxxxxx> |
|---|---|
| Subject: | [xfs-masters] Re: Linux 2.6.17-rc2 - notifier chain problem? |
| From: | Ashok Raj <ashok.raj@xxxxxxxxx> |
| Date: | Wed, 26 Apr 2006 12:29:26 -0700 |
| Cc: | sekharan@xxxxxxxxxx, stern@xxxxxxxxxxxxxxxxxxx, herbert@xxxxxxxxxxxx, torvalds@xxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx, xfs-masters@xxxxxxxxxxx, ashok.raj@xxxxxxxxx |
| In-reply-to: | <20060426114348.51e8e978.akpm@osdl.org>; from akpm@osdl.org on Wed, Apr 26, 2006 at 11:43:48AM -0700 |
| References: | <Pine.LNX.4.44L0.0604261144010.6376-100000@iolanthe.rowland.org> <1146075534.24650.11.camel@linuxchandra> <20060426114348.51e8e978.akpm@osdl.org> |
| Reply-to: | xfs-masters@xxxxxxxxxxx |
| Sender: | xfs-masters-bounce@xxxxxxxxxxx |
| Trustinternalsourcedmail: | True |
| User-agent: | Mutt/1.2.5.1i |
On Wed, Apr 26, 2006 at 11:43:48AM -0700, Andrew Morton wrote: > Chandra Seetharaman <sekharan@xxxxxxxxxx> wrote: > Ashok's the one who has spent most time with this. Basically _everything_ > to do with register_cpu_notifier() and all the things which call it should > be __cpuinit and should be tossed away during boot on non-cpu-hotplug > kernels. > > But there are a few nasty problems with that which made us give up. I think we got to a reasonable start, until i got busy with other things and didnt complete it all the way to be ready to submit. There were many files that got affected, so we thought may be could take smaller steps. for the above xfs, if you want to avoid the ifdef CONFIG_HOTPLUG_CPU you could choose to use the hotcpu_notifier() which is null macro when CONFIG_HOTPLUG_CPU=n The problem we ran into was some of the startup code depends on the notifier call chain for smp bringup, hence we couldn't nuke it similar to hotcpu_notifier(). so we ended up calling that function for early risers as early_register_cpu_notifier(), and all functions/data with __cpuinit etc to overcome that issue. I will try to pursue to again when i get a chance. -- Cheers, Ashok Raj - Open Source Technology Center |
| Previous by Date: | [xfs-masters] Re: Linux 2.6.17-rc2 - notifier chain problem?, Ashok Raj |
|---|---|
| Next by Date: | [xfs-masters] [Bug 646] [2.4.31][XFS] I cannot create XFS on evms volume larger than 1TB, bugzilla-daemon |
| Previous by Thread: | [xfs-masters] Re: Linux 2.6.17-rc2 - notifier chain problem?, Andrew Morton |
| Next by Thread: | [xfs-masters] Re: Linux 2.6.17-rc2 - notifier chain problem?, Chandra Seetharaman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |