[lkml]   [2019]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: WARN_ON: userstacktrace on irq events
On Fri, 5 Apr 2019 10:12:27 +0200 (CEST)
Thomas Gleixner <> wrote:

> > BOOM! Warn on.
> >
> > Can we make that access_ok() call in the copy_stack_frame not trigger
> > the warning just if we are in an interrupt?
> You really want to have access_ok_atomic() or such which does not have the
> WARN and use that in copy_stack_frame(). That's fine here because the
> actual copy is inside a pagefault disabled region.

I was thinking the same.

Masami, did you post patches to do something like this?
"access_ok_inatomic()" or something?

-- Steve

 \ /
  Last update: 2019-04-05 15:33    [W:0.058 / U:6.804 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site