Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1301019imu; Wed, 16 Jan 2019 16:44:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN76ZzDM4Jt+cbxzzs75iqZmwsFWuerVjM2l0juve6+nAtxGH7t/dtMiL2r3B5hiiT0CXD7t X-Received: by 2002:a62:1212:: with SMTP id a18mr13112387pfj.217.1547685872071; Wed, 16 Jan 2019 16:44:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547685872; cv=none; d=google.com; s=arc-20160816; b=e8Ol7/VSeTN0aCLxuaGKPiwDOQglYZdpCgrLwL6UxWlzqlJw4k05wDXRwVrWC85ISO coW5L4pXzOwuMUOP9KJXdhJ12J98zBXqJvQ4zMr4j6JosK/FfdorlB/icYb0byupZLfD wFR31yufGkCQkmzwUgYadYEWot7lfBPjAV+W5woddYsrabv64IG+jy3EEXEnmS56Rgmi uOWGAydM7peO27TidjBcY1kLGKQQvRh2Js8Ys/UYtFLwSTgWm+ZFGo07Q2GbSt7GnqpW +lRqyqKd8T8QS8/Y6evLEbiuQKWsm986WQ5SPUmEH8KH0V/6Pm2YXF2aSWBJ+uuxAYv4 4jGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=OCMZ9TvhhmYxycrRyJohip18PYk4rJCVpJEGI8M5+Yg=; b=fy0Ip5eSftbM9EFT7/VAp+dgE8WU6vHmvM9j2eCGcUhfCDl82+lovBGFZSfVJRLHX2 nT+8J47LI8E6lSgtpD30wASQrmnqvy0JytpyGPjLu9TmSU8GeReBpyUOdHUiE7YopTp9 klPdMVYU1VC0knRgr7qr/hKH0wXVpkwMvMqQXSSxdwbacVZVFtaUAzWiZAg5tMvQRRas b7CpIRxJ2mKLUCQlDsnsGdscnGgyyKuguB5EPmm/VWVJKrv/cYezJ6KeKbBiIc5KPdS/ SoqVv6aI5c+jeg/jFHwaqN4F8yt5zUBv1HRcK32xDnQ/lb5XslFY3ci/+4zmZsrJHQtA Gpfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2si7674901plt.101.2019.01.16.16.44.16; Wed, 16 Jan 2019 16:44:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733004AbfAPWMp (ORCPT + 99 others); Wed, 16 Jan 2019 17:12:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42593 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730269AbfAPWMo (ORCPT ); Wed, 16 Jan 2019 17:12:44 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 52F677F3F1; Wed, 16 Jan 2019 22:12:44 +0000 (UTC) Received: from treble (ovpn-120-232.rdu2.redhat.com [10.10.120.232]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AF1A217DCB; Wed, 16 Jan 2019 22:12:42 +0000 (UTC) Date: Wed, 16 Jan 2019 16:12:39 -0600 From: Josh Poimboeuf To: Miroslav Benes Cc: jeyu@kernel.org, jikos@kernel.org, pmladek@suse.com, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] Periodic fake signal Message-ID: <20190116221239.3mcf5vc33vbrj7rh@treble> References: <20190115164507.14676-1-mbenes@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190115164507.14676-1-mbenes@suse.cz> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 16 Jan 2019 22:12:44 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 15, 2019 at 05:45:05PM +0100, Miroslav Benes wrote: > I somehow forgot about this patch set. The discussion about v1 was > inconclusive, so I'm sending it again with changes according to the > feedback I got. I still think it is useful, so please consider. > > Changes since v1: > - timeout changed to 15 seconds (Josh) > - make it wait for 15 seconds, no more, no less (Josh) > - the message in klp_send_signals() is printed only once per transition > (Josh) > - the counter is zeroed in klp_start_transition(), so that even > klp_reverse_transition() starts correctly (Petr) > > Miroslav Benes (2): > livepatch: Send a fake signal periodically > livepatch: Remove signal sysfs attribute > > .../ABI/testing/sysfs-kernel-livepatch | 12 --- > Documentation/livepatch/livepatch.txt | 15 ++- > kernel/livepatch/core.c | 32 ------- > kernel/livepatch/transition.c | 93 +++++++++++-------- > kernel/livepatch/transition.h | 1 - > 5 files changed, 59 insertions(+), 94 deletions(-) Acked-by: Josh Poimboeuf -- Josh