Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758453AbcDEOYh (ORCPT ); Tue, 5 Apr 2016 10:24:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:51600 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755366AbcDEOYf (ORCPT ); Tue, 5 Apr 2016 10:24:35 -0400 Date: Tue, 5 Apr 2016 16:24:33 +0200 (CEST) From: Miroslav Benes To: Josh Poimboeuf cc: Jiri Kosina , Jessica Yu , linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Vojtech Pavlik Subject: Re: [RFC PATCH v1.9 00/14] livepatch: hybrid consistency model In-Reply-To: <20160404170310.bpbb5uhaz423hd6f@treble.redhat.com> Message-ID: References: <20160404170310.bpbb5uhaz423hd6f@treble.redhat.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1091 Lines: 28 On Mon, 4 Apr 2016, Josh Poimboeuf wrote: > > I'd add a fake signal facility for sleeping non-migrated tasks. This > > would accelerate a migration to a new universe. We have it in kgraft for > > quite some time and it worked out great. See > > lkml.kernel.org/r/1430739625-4658-9-git-send-email-jslaby@suse.cz which > > went with Jiri's kgraft-on-klp patch set. See also Oleg's reply as it is > > important (I changed kgraft implementation according to that). > > Ok, I'll look into sending a fake signal to remaining tasks. Oh, do not worry about this one. I can prepare a patch once we discuss and review the rest. I think you have a lot on your plate even now. There are several options how to do it. I think it would be nice not send a fake signal immediately. So we can... 1. do it after some time of waiting, or 2. we can have a knob in sysfs for an admin to send a fake signal if he does not want to wait anymore, or 3. (and this is crazy one) we can trace the progress of a migration and when there is none for several iterations we can send a signal ... Miroslav