Thread (89 messages) 89 messages, 9 authors, 2017-01-17

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

From: Petr Mladek <pmladek@suse.com>
Date: 2016-04-06 08:16:04

On Tue 2016-04-05 08:44:30, Josh Poimboeuf wrote:
On Fri, Apr 01, 2016 at 03:39:44PM +0200, Petr Mladek wrote:
quoted
On Fri 2016-03-25 14:34:47, Josh Poimboeuf wrote:
quoted
- update documentation for sysfs, proc, livepatch
Also we should publish somewhere the information about TIF_KLP_NEED_UPDATE
flag, e.g. /proc/<pid>/klp_need_update. It is handy to see what
process blocks the transition. We have something similar in
kGraft, see in_progress_show() at
https://git.kernel.org/cgit/linux/kernel/git/jirislaby/kgraft.git/commit/?h=kgraft-4.4&id=1c82fbd7b1fe240f4ed178a6506a93033f6a4bed
Patch 13/14 exposes the per-task patched state in /proc, so I think that
already does what you're asking for?  It doesn't expose
TIF_KLP_NEED_UPDATE, but that's more of an internal detail I think.
Heh, I have missed it. Yup, the per-thread patch state info seems to
be enough.

Best Regards,
Petr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help