ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: ksummit-discuss@lists.linuxfoundation.org
Subject: Re: [Ksummit-discuss] [CORE TOPIC] live patching
Date: Thu, 09 Jul 2015 12:26:29 +0900	[thread overview]
Message-ID: <559DE9E5.20204@jp.fujitsu.com> (raw)
In-Reply-To: <559D4C35.6070709@hitachi.com>

On 2015/07/09 1:13, Masami Hiramatsu wrote:
>>
>> - it would be beneficial for live patching if kernel threads could be
>>    cleaned up; currently it's a mess, with freezer points, signal handling
>>    etc. spewed randomly all over the main loop. Generalizing the API (such
>>    as improving kthread_worker and migrating kthreads to use that) would
>>    be beneficial if there are no major objections. See my related TECH
>>    TOPIC submission
>>
>> - Ingo proposed a "checkpoint"-based way for live patching, i.e. forcing
>>    all the processess out of kernel to serliaze on a well-defined execution
>>    point, perform the patching, and resume the execution.
>
> IMO, this is not acceptable especially for most of real-time scheduled tasks
> which usually the mission critical systems require. And such systems are
> the main target of the live patching feature I think, since those are
> sometimes controlling civil infrastructure systems, like trains, plants,
> factories and so on.
>
I'm sorr if this is off-topic.

I think the problem of "freezer v.s. FUSE" will happen if we neet to stop user proceesses.
AFAIK, the problem is a deadlock that fuse daemon freezes even while its client wating for a reply.

example)
    client -> page-fault -> GUP -> fuse daemon -> gethostbyname() -> nscd.8

We can't detect this kind of dependency if we need to freeze userland.

Thanks,
-Kame

  parent reply	other threads:[~2015-07-09  3:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-07 20:42 Jiri Kosina
2015-07-08 16:13 ` Masami Hiramatsu
2015-07-08 21:21   ` Jiri Kosina
2015-07-09  3:26   ` Kamezawa Hiroyuki [this message]
2015-07-09  9:56     ` Jiri Kosina
2015-07-09 10:05       ` Kamezawa Hiroyuki
2015-10-12 17:13 ` Theodore Ts'o
2015-10-13  9:29   ` Jiri Kosina
2015-10-16 19:34     ` Jiri Kosina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=559DE9E5.20204@jp.fujitsu.com \
    --to=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox