Re: [PATCH 2/2] x86, perf: Optimize stack walk user accesses
> Perf can call this function from !interrupt context (imagine a > tracepoint or other software event), should we therefore not add a > pagefault_disable()/enable() pair around the entire while() loop?
That's true. I'll add the pagefault_disable/enable.