William Lee Irwin III wrote:
Unprivileged triggers for full-tasklist scans are NMI oops material.
On Sat, Nov 20, 2004 at 02:37:04PM +1100, Nick Piggin wrote:
Hang on, let's come back to this...
We already have unprivileged do-for-each-thread triggers in the proc
code. It's in do_task_stat, even. Rss reporting would basically just
involve one extra addition within that loop.
So... hmm, I can't see a problem with it.
/proc/ triggering NMI oopses was a persistent problem even before that
code was merged. I've not bothered testing it as it at best aggravates it.
And thread groups can share mm's. do_for_each_thread() won't suffice.