Re: [PATCH 2/3] tracing/mm: Don't trace mm_page_free on offline cpus

2015-04-29 Thread Preeti Murthy
On Wed, Apr 29, 2015 at 2:36 PM, Preeti Murthy wrote: > Ccing Paul, > > On Tue, Apr 28, 2015 at 9:21 PM, Shreyas B. Prabhu > wrote: >> Since tracepoints use RCU for protection, they must not be called on >> offline cpus. trace_mm_page_free can be called on an offline cpu in >> this scenario

Re: [PATCH 2/3] tracing/mm: Don't trace mm_page_free on offline cpus

2015-04-29 Thread Preeti Murthy
Ccing Paul, On Tue, Apr 28, 2015 at 9:21 PM, Shreyas B. Prabhu wrote: > Since tracepoints use RCU for protection, they must not be called on > offline cpus. trace_mm_page_free can be called on an offline cpu in > this scenario caught by LOCKDEP: > > === > [ INFO:

Re: [PATCH 2/3] tracing/mm: Don't trace mm_page_free on offline cpus

2015-04-29 Thread Preeti Murthy
Ccing Paul, On Tue, Apr 28, 2015 at 9:21 PM, Shreyas B. Prabhu shre...@linux.vnet.ibm.com wrote: Since tracepoints use RCU for protection, they must not be called on offline cpus. trace_mm_page_free can be called on an offline cpu in this scenario caught by LOCKDEP:

Re: [PATCH 2/3] tracing/mm: Don't trace mm_page_free on offline cpus

2015-04-29 Thread Preeti Murthy
On Wed, Apr 29, 2015 at 2:36 PM, Preeti Murthy preeti.l...@gmail.com wrote: Ccing Paul, On Tue, Apr 28, 2015 at 9:21 PM, Shreyas B. Prabhu shre...@linux.vnet.ibm.com wrote: Since tracepoints use RCU for protection, they must not be called on offline cpus. trace_mm_page_free can be called on

[PATCH 2/3] tracing/mm: Don't trace mm_page_free on offline cpus

2015-04-28 Thread Shreyas B. Prabhu
Since tracepoints use RCU for protection, they must not be called on offline cpus. trace_mm_page_free can be called on an offline cpu in this scenario caught by LOCKDEP: === [ INFO: suspicious RCU usage. ] 4.1.0-rc1+ #9 Not tainted ---

[PATCH 2/3] tracing/mm: Don't trace mm_page_free on offline cpus

2015-04-28 Thread Shreyas B. Prabhu
Since tracepoints use RCU for protection, they must not be called on offline cpus. trace_mm_page_free can be called on an offline cpu in this scenario caught by LOCKDEP: === [ INFO: suspicious RCU usage. ] 4.1.0-rc1+ #9 Not tainted ---