From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751557AbdH3MwX (ORCPT ); Wed, 30 Aug 2017 08:52:23 -0400 Received: from mx2.suse.de ([195.135.220.15]:50319 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751332AbdH3MwG (ORCPT ); Wed, 30 Aug 2017 08:52:06 -0400 Date: Wed, 30 Aug 2017 14:52:03 +0200 (CEST) From: Miroslav Benes To: Petr Mladek cc: jpoimboe@redhat.com, jeyu@kernel.org, jikos@kernel.org, lpechacek@suse.cz, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Lutomirski , "H. Peter Anvin" , Ingo Molnar , Michael Ellerman , Oleg Nesterov , Thomas Gleixner Subject: Re: [PATCH v2 0/3] livepatch: Introduce force sysfs attribute In-Reply-To: <20170816133115.GB601@pathway.suse.cz> Message-ID: References: <20170810104815.14727-1-mbenes@suse.cz> <20170816133115.GB601@pathway.suse.cz> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) 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 On Wed, 16 Aug 2017, Petr Mladek wrote: > On Thu 2017-08-10 12:48:12, Miroslav Benes wrote: > > Currently, livepatch gradually migrate the system from an unpatched to a > > patched state (or vice versa). Each task drops its TIF_PATCH_PENDING > > itself when crossing the kernel/user space boundary or it is cleared > > using the stack checking approach. If there is a task which sleeps on a > > patched function, the whole transition can get stuck indefinitely. > > > > TODO: > > Now there is a sysfs attribute called "force", which provides two > > functionalities, "signal" and "force" (previously "unmark"). I haven't > > managed to come up with better names. Proposals are welcome. On the > > other hand I do not mind it much. > > What about calling the attribute? > > transition-speedup > transition-urge > > In each case, I would make it more clear that the attribute > is related to the transition attribute of each patch. Umm... I don't like that much and those names would definitely confuse me. But I'm biased already. Miroslav