Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5252386imu; Tue, 15 Jan 2019 14:07:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN4VXahxLBJ8NZh+5XS9qyENcW8FBAXnaSIU8pgi9lzrVogZVZg4UJbFqOjWS7YrzEjMF8sB X-Received: by 2002:a63:334a:: with SMTP id z71mr5824907pgz.400.1547590067933; Tue, 15 Jan 2019 14:07:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547590067; cv=none; d=google.com; s=arc-20160816; b=ub9VdJUnRuTFtchLK2clmSNUHQQJCe/LwtA42HlWutVgmGRpRezt6f1IF41Jl+QUdj 8pRvaSxGaffThWkG4vIJsalZe5aetZrJKUZFx1YeNSV7RrMe65g65MmII4OJ0RR4yzUU vFZYD9HuxwNYXGc5a7t0Sldb4XZulmWSTobrsXqISbKHeOERTj6HHxQTpsE0K4M7IOGo 1fvsX0+3b7ZVlrHDut8FBbitzjyyhHn0546hs32l5bmwD4+PP7A1tMBvAOf2Y6GN2Yby doatFEFTR1onLOEoQPo8dsbdaIS4EulcQsWzNlhjW/fmFoBUmrPjN9J/Fke2ZQOdB5P3 ZOwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=AJeLJShOuIzUqn1sxoHbdE+oxU2w2XGpiimZoC+fdGY=; b=wVTqpoSnrrhHFtfURenU6NYxFHf/g/WGXzwoMR+Ukx5FOb7Yxkw/PYQwZGKePjv8gg d2FVfwTshjPapFuJT05eCfYmQ+qEJudOpDhj4wcI035qML1Yz5KvVOkEZ37LKlu4bQaQ yGud2Z6kQnYCmLs8/aacz9d/pn5zGOqJVPWhlM59nuEVa4cn1+GeNyeu/TxN0+oPXT1D FfRqHIAwOfOYG9ZNOK+EFsnSk7xKrFqY0p8iRpeosPTyjq4MO/eQ0VdNZIy3k14rrnYA PNDfw7YbmwKhXlO1kMSpb2WiEGROCjEtJAn2iluGPwK2sJKqHextLiwhOBuQvuJKBjki mpMQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si1142613pgk.201.2019.01.15.14.07.29; Tue, 15 Jan 2019 14:07:47 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387763AbfAOQpU (ORCPT + 99 others); Tue, 15 Jan 2019 11:45:20 -0500 Received: from mx2.suse.de ([195.135.220.15]:47462 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387697AbfAOQpL (ORCPT ); Tue, 15 Jan 2019 11:45:11 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 6E23BAC97; Tue, 15 Jan 2019 16:45:10 +0000 (UTC) From: Miroslav Benes To: jpoimboe@redhat.com, jeyu@kernel.org, jikos@kernel.org, pmladek@suse.com Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Miroslav Benes Subject: [PATCH v2 0/2] Periodic fake signal Date: Tue, 15 Jan 2019 17:45:05 +0100 Message-Id: <20190115164507.14676-1-mbenes@suse.cz> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.20.1