Re: [PATCH] Do not update sysfs cpu registration from invalid context

2013-06-24 Thread Nathan Fontenot
On 06/24/2013 08:50 PM, Michael Ellerman wrote: > On Mon, Jun 24, 2013 at 09:14:23AM -0500, Nathan Fontenot wrote: >> The topology update code that updates the cpu node registration in sysfs >> should not be called while in stop_machine(). The register/unregister >> calls take a lock and may sleep.

Re: [PATCH] Do not update sysfs cpu registration from invalid context

2013-06-24 Thread Nathan Fontenot
On 06/24/2013 08:50 PM, Michael Ellerman wrote: > On Mon, Jun 24, 2013 at 02:25:59PM -0500, Nathan Fontenot wrote: >> On 06/24/2013 02:16 PM, Seth Jennings wrote: >>> On Mon, Jun 24, 2013 at 12:18:04PM -0500, Seth Jennings wrote: On Mon, Jun 24, 2013 at 09:14:23AM -0500, Nathan Fontenot wrote:

Re: [PATCH] Do not update sysfs cpu registration from invalid context

2013-06-24 Thread Michael Ellerman
On Mon, Jun 24, 2013 at 09:14:23AM -0500, Nathan Fontenot wrote: > The topology update code that updates the cpu node registration in sysfs > should not be called while in stop_machine(). The register/unregister > calls take a lock and may sleep. > > This patch moves these calls outside of the cal

Re: [PATCH] Do not update sysfs cpu registration from invalid context

2013-06-24 Thread Michael Ellerman
On Mon, Jun 24, 2013 at 02:25:59PM -0500, Nathan Fontenot wrote: > On 06/24/2013 02:16 PM, Seth Jennings wrote: > > On Mon, Jun 24, 2013 at 12:18:04PM -0500, Seth Jennings wrote: > >> On Mon, Jun 24, 2013 at 09:14:23AM -0500, Nathan Fontenot wrote: > >>> The topology update code that updates the cp

Re: [PATCH] Do not update sysfs cpu registration from invalid context

2013-06-24 Thread Nathan Fontenot
On 06/24/2013 02:16 PM, Seth Jennings wrote: > On Mon, Jun 24, 2013 at 12:18:04PM -0500, Seth Jennings wrote: >> On Mon, Jun 24, 2013 at 09:14:23AM -0500, Nathan Fontenot wrote: >>> The topology update code that updates the cpu node registration in sysfs >>> should not be called while in stop_machi

Re: [PATCH] Do not update sysfs cpu registration from invalid context

2013-06-24 Thread Seth Jennings
On Mon, Jun 24, 2013 at 12:18:04PM -0500, Seth Jennings wrote: > On Mon, Jun 24, 2013 at 09:14:23AM -0500, Nathan Fontenot wrote: > > The topology update code that updates the cpu node registration in sysfs > > should not be called while in stop_machine(). The register/unregister > > calls take a l

Re: [PATCH] Do not update sysfs cpu registration from invalid context

2013-06-24 Thread Seth Jennings
On Mon, Jun 24, 2013 at 09:14:23AM -0500, Nathan Fontenot wrote: > The topology update code that updates the cpu node registration in sysfs > should not be called while in stop_machine(). The register/unregister > calls take a lock and may sleep. > > This patch moves these calls outside of the cal

[PATCH] Do not update sysfs cpu registration from invalid context

2013-06-24 Thread Nathan Fontenot
The topology update code that updates the cpu node registration in sysfs should not be called while in stop_machine(). The register/unregister calls take a lock and may sleep. This patch moves these calls outside of the call to stop_machine(). Signed-off-by:Nathan Fontenot --- arch/powerpc/mm/n