Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2112158ybg; Fri, 5 Jun 2020 06:03:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy8AIxFMBnYeh5gh5d8btxCjbPbB2pNHHRcWLaEr8JkqpnepnkJNgkiX2/ZEwBdqUK6Grc X-Received: by 2002:adf:ef47:: with SMTP id c7mr10329320wrp.57.1591362182375; Fri, 05 Jun 2020 06:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591362182; cv=none; d=google.com; s=arc-20160816; b=mSk4jjd8dtXfp8XAdbK0qlimqDj/razJ3dq/JT9Ef9cxqp/jZGohKYA0265D34vhEr fu9sEQ9Np6NM4CySqNdXTtyS807yKHkaUPJCNmPEl6XSNYPQZ5U/l2mktJA8Kq+Jlzv2 ce2s6zz2lVEJejSMskX8QtY6i9cuJEGyS0y/iRXL29M5HOQ1Vv2xuCHgSa6SLm+sN10r zOrTB4Nz3aMyJnQKTJ2Q46jkB3yieCtSbMY7YBVs7SrnyIIVmXayCVOnF0hMURmLEBrx kzxSMqmciHgkzIy6npPcIiVo14KqNJ/XSnjLLEK3uSqv2h7kj9xdZxlT1dQH9o/MCknd 3qBg== 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=Sand2KrMaqASZhU4sDPuj6iIidwSa3bPacW+63wGqjU=; b=NNctvka1K40XMs3A8i+H8mJhax3Z8Rdc18GU9y5o1U9cTJXey6UpRCUOHk3gbIj/sM CB3RzwIm4GVCCutx3Bg5EKNwZlEezvX5bDVHQ1yGF4FDQm8gcPvw7xqHhrJJLcNBS7+N 6AmlYHn5HdooHQBQYzUiE1YVgjz3+hSazDVlaQZqAqR/uPx1Sy+aJaEjjtjL7KY89yYQ yABZe9Og0rqjCTL7lUgoP3dSKfY9i5SFJV5A3Y7SlAZNapKRxRC+F72fh0PBpcrRtDd4 6kFpiGWX9bksXBigY8TnEXqYssluzzjfBDetQUqV4yLpKuBqZLasVCX8Mr8+1vp0yj0d Envg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si3579189edv.274.2020.06.05.06.02.37; Fri, 05 Jun 2020 06:03:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726828AbgFEM6e (ORCPT + 99 others); Fri, 5 Jun 2020 08:58:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:58142 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726409AbgFEM6e (ORCPT ); Fri, 5 Jun 2020 08:58:34 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 23DA2AB8F; Fri, 5 Jun 2020 12:58:36 +0000 (UTC) Date: Fri, 5 Jun 2020 14:58:32 +0200 From: Petr Mladek To: Yannick Cote Cc: live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org, joe.lawrence@redhat.com, linux-kernel@vger.kernel.org, mbenes@suse.cz, kamalesh@linux.vnet.ibm.com Subject: Re: [PATCH v2 1/4] selftests/livepatch: simplify test-klp-callbacks busy target tests Message-ID: <20200605125832.GA5099@linux-b0ei> References: <20200603182058.109470-1-ycote@redhat.com> <20200603182058.109470-2-ycote@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200603182058.109470-2-ycote@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2020-06-03 14:20:55, Yannick Cote wrote: > From: Joe Lawrence > > The test-klp-callbacks script includes a few tests which rely on kernel > task timings that may not always execute as expected under system load. > These may generate out of sequence kernel log messages that result in > test failure. > > Instead of using sleep timing windows to orchestrate these tests, add a > block_transition module parameter to communicate the test purpose and > utilize flush_queue() to serialize the test module's task output. > > Suggested-by: Petr Mladek I am not sure if I deserve this. I suggested only few implementation details. > Signed-off-by: Joe Lawrence Looks good now: Reviewed-by: Petr Mladek Best Regards, Petr