Re: [RFC PATCH v1.9 00/14] livepatch: hybrid consistency model

From: Jiri Kosina
Date: Thu Apr 07 2016 - 11:47:07 EST


On Thu, 7 Apr 2016, Josh Poimboeuf wrote:

> > > - try ftrace handler switching idea from v1 cover letter
[ ... ]
> > We probably should not check the stack in atomic context
>
> Can you elaborate why not?

I admittedly forgot what the "ftrace handler switching idea" is, and am
not sure where exactly to look for it (could you please point it to me so
that I can refresh my memory), but generally we can't assume that a memory
holding stack of a sleeping task hasn't been reclaimed and wouldn't need
to have been paged in again.

--
Jiri Kosina
SUSE Labs