Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

From: Jiri Kosina
Date: Thu Feb 12 2015 - 09:08:51 EST


On Thu, 12 Feb 2015, Peter Zijlstra wrote:

> > > And what's wrong with using known good spots like the freezer?
> >
> > This was already discussed too. Please STA.
>
> WTF is STA? You guys want something from me; I don't have time, not
> inclination to go hunt down whatever dark corner of the interweb
> contains your ramblings.
>
> If you can't be arsed to explain things, I certainly cannot be arsed to
> consider your request.

I believe I have provided answer to the freezer question in my previous
mail, so please let's continue the discussion there if needed.

> So you now have my full NAK on touching the scheduler, have at it, go
> deal with someone else.

I personally am not a big fan of the task_rq_lock() public exposure
either. What might be generally useful though (not only for livepatching)
would be an API that would allow for "safe" stack dump (where "safe" means
that guarantee, that it wouldn't be interferred by process waking up in
the middle of dumping, would be provided). Does that sound like even
remotely acceptable idea to you?

Thanks,

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/