Re: [PATCH] mm/vmstat.c: Fix vmstat_update() preemption BUG.

2018-03-21 Thread Andrew Morton
On Mon, 12 Mar 2018 14:05:52 -0500 "Steven J. Hill" wrote: > Attempting to hotplug CPUs with CONFIG_VM_EVENT_COUNTERS enabled > can cause vmstat_update() to report a BUG due to preemption not > being disabled around smp_processor_id(). Discovered on Ubiquiti > EdgeRouter

Re: [PATCH] mm/vmstat.c: Fix vmstat_update() preemption BUG.

2018-03-21 Thread Andrew Morton
On Mon, 12 Mar 2018 14:05:52 -0500 "Steven J. Hill" wrote: > Attempting to hotplug CPUs with CONFIG_VM_EVENT_COUNTERS enabled > can cause vmstat_update() to report a BUG due to preemption not > being disabled around smp_processor_id(). Discovered on Ubiquiti > EdgeRouter Pro with Cavium Octeon

[PATCH] mm/vmstat.c: Fix vmstat_update() preemption BUG.

2018-03-12 Thread Steven J. Hill
Attempting to hotplug CPUs with CONFIG_VM_EVENT_COUNTERS enabled can cause vmstat_update() to report a BUG due to preemption not being disabled around smp_processor_id(). Discovered on Ubiquiti EdgeRouter Pro with Cavium Octeon II processor. BUG: using smp_processor_id() in preemptible []

[PATCH] mm/vmstat.c: Fix vmstat_update() preemption BUG.

2018-03-12 Thread Steven J. Hill
Attempting to hotplug CPUs with CONFIG_VM_EVENT_COUNTERS enabled can cause vmstat_update() to report a BUG due to preemption not being disabled around smp_processor_id(). Discovered on Ubiquiti EdgeRouter Pro with Cavium Octeon II processor. BUG: using smp_processor_id() in preemptible []