Received: by 10.213.65.68 with SMTP id h4csp4206701imn; Tue, 10 Apr 2018 10:56:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx49BnXLucxPKaOYFWKFM26YmnnXghQLVKuH3YFZP8UJONL1GYFZwgpsaV7LiiZ+J1uDIsxlG X-Received: by 10.98.70.199 with SMTP id o68mr1151898pfi.169.1523382964168; Tue, 10 Apr 2018 10:56:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523382964; cv=none; d=google.com; s=arc-20160816; b=Fd/437Ur9r5s7c73ToCUkTQ8WsZhxYUOs97SS4X1IKMKyZo7oH1nj3bHJLvLeP61I7 vVmT3lFw1mnSuQG6KRHryhAZ7CBto2lAjhWVd2t2XCxMQVQbPFMx1qIKWryUD727z3Kc LcGGTcrBayKBht7Aao8bxhs3yZeXP5T8YH73FuFdqOMF/IJ/mCueXnea4VheqZrzLrWE mp/0GfKroav4DKutJvmwrT92kDYOT4BAVPt7XZwNXltHlj305bHuZMXxsH+AlHg7xbAj sWbzIr1A6JgUIA7YCVNnAoSWVn9/RzmGVv+kvFOhlZCmQ6GgBr3+JXvSH47u4ZsnYsk1 NaGA== 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:arc-authentication-results; bh=IPT+P/3PdVCqFeJjFdxAHPBhc8kwOz7FOh80jRAxltk=; b=StWVmfWc8Dnx/5er1q4LOICU7zfy/68JT+L/uAtMghdqjx6QB0I5c69p3zumBQYbXf ZdK9+hyYcY75B/BupG+wLlyoZC3utV4KTvVHNUiYUkFAYV1htSzG0Aj0VrgB48W8uEGB 66tbvFwvYvTcmz8Qc1t3Ajz9gI3peOVy4vpttUAQl8UXoLZtptNWO5WCJh1e/FNSIvu3 7RA28PUxkC0bu03xxqEIckbMSYdtshTxPGMY+4mH3q7dJDbx6pIc3jY8Og1GPa4/B+KU F5rm8DapkshqKmdB+F/+vjosPjU8ZNbuxL6I/NyIscwoxoP1ibBp7Qcb/QJV6dYrxZxm UPEQ== 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 37-v6si3075549plq.288.2018.04.10.10.55.26; Tue, 10 Apr 2018 10:56:04 -0700 (PDT) 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 S1752464AbeDJRvL (ORCPT + 99 others); Tue, 10 Apr 2018 13:51:11 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38124 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752434AbeDJRvI (ORCPT ); Tue, 10 Apr 2018 13:51:08 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4A2F340201A1; Tue, 10 Apr 2018 17:51:08 +0000 (UTC) Received: from treble (ovpn-120-110.rdu2.redhat.com [10.10.120.110]) by smtp.corp.redhat.com (Postfix) with SMTP id D0E1D84433; Tue, 10 Apr 2018 17:51:05 +0000 (UTC) Date: Tue, 10 Apr 2018 12:51:05 -0500 From: Josh Poimboeuf To: Miroslav Benes Cc: Petr Mladek , Joe Lawrence , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, lpechacek@suse.com, nstange@suse.de Subject: Re: [PATCH] selftests/livepatch: introduce tests Message-ID: <20180410175105.eghfnktjq55vaxto@treble> References: <1522266588-11806-1-git-send-email-joe.lawrence@redhat.com> <1522266588-11806-2-git-send-email-joe.lawrence@redhat.com> <20180407023646.k3gjrgjwzhwgu6fq@treble> <20180408154231.ihnglqyya5nric4q@redhat.com> <20180409140549.q6jybx3zirnsl2pp@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Tue, 10 Apr 2018 17:51:08 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Tue, 10 Apr 2018 17:51:08 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jpoimboe@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 10, 2018 at 04:31:05PM +0200, Miroslav Benes wrote: > > > > > I love this. Nice work! > > Yes, it looks really good. > > > > > As you and Petr discussed, it would be nice to get rid of some of the > > > > delays, and also the callback tests will be very important. > > > > > > I've got v2 WIP that minimizes the delays, cleans up build flags, and > > > adds a basic shadow variable test. > > > > Sounds great. > > > > > Since these tests are based on top of Petr's current patchsets for > > > atomic replace and shadow variables, it probably makes sense for those > > > to merge first. I can post test results to his patchsets if that helps. > > > > Sounds good to me. We could synchronize the merge. But I think that it > > will not be a big deal if we would merge the atomic replace slightly > > earlier if the tests needed some more love. > > Well, it depends. Josh wants the patch first and then atomic replace. So > we can merge selftests for all features we currently have and tests for > atomic replace could go with it. Well, I don't want to add additional work, if it's not needed. Joe's selftests are coming along nicely. If the selftest patch is merged shortly after Petr's set, that's fine with me. Or maybe Petr can just add Joe's patch to the end of his set. -- Josh