Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2119135ybg; Fri, 5 Jun 2020 06:11:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE79jEgXFxoDlANNiI92iF0ofbEKeQyC7eQBn5KKgVAnTQa8bBtTZ+a3ogtYtSq7KXq35M X-Received: by 2002:a17:906:938b:: with SMTP id l11mr8373993ejx.99.1591362670348; Fri, 05 Jun 2020 06:11:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591362670; cv=none; d=google.com; s=arc-20160816; b=XkRrC+Wwr/9kh/NpcwU4VIxmr1mG5Yob0bv+XbAZSQ9XIX+WdZoYfZ1xwXrq3e3Rvs l0Zqi28mn9Lgn16vyFsQJZfenOK8Pf3rjtqPigeSol0f1fq2R0teGmxXqf2KABar02NS PmU/7nsOw4HL0fXFiz5Rol2o6n/kY6/+zJCgH6TRY38kWG+nzGACCyM2dYsD+m7OKXaQ 4Iod40O/JjpsPwj4f4le/Tjw2E9vvS60dvSiysNWVTrxT1Hx6rNpXVoVmibWQEcQSCkH 9qYomw0fb6DbjJEK29Pf9iEg1fPjdj3e/mxisyKGeXxxhoiB0ZMO+GAy64LniREBNg4H B6oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=v2YwxECbtSCRFSY/xfuHcFZpOBKoKsn7ZrOCKHfY7HI=; b=Tt6fGV/8U7ytscNLUV//WWqbyGXoVFSlyPj2dinTwzeuFm7fZOqj7VZWPRIlmDH7y3 lWjdEGrm6+m5n0yHKvyXB3nL38F5KxkxQN3E9P7WTN8KP3TprDeifHPShYhBtRVEiRNs Ho3oQR/ca4o6eBGz39H7XsCzOlMIxmt+k4JX6tlX846SENsIwg+JPPyOBIxSo4LToHk7 MrfpBi1JhtxuXauun1c0D/FGtkBbzVpD1dtUSF3ardm7fYUWEfW0aDsMIDhhR3kPT5me ig07WEwdZfZkgbMTADk/dos5AfJjUFvL36MbFgv1EYNjpCHVdqo2hvPkcP/IiIuTQ7Hz JugQ== 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 b1si3682569ejb.364.2020.06.05.06.10.46; Fri, 05 Jun 2020 06:11:10 -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 S1726935AbgFENGE (ORCPT + 99 others); Fri, 5 Jun 2020 09:06:04 -0400 Received: from mx2.suse.de ([195.135.220.15]:33080 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726854AbgFENF6 (ORCPT ); Fri, 5 Jun 2020 09:05:58 -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 1F23BAEE8; Fri, 5 Jun 2020 13:05:59 +0000 (UTC) Date: Fri, 5 Jun 2020 15:05:55 +0200 (CEST) From: Miroslav Benes To: Yannick Cote cc: live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org, joe.lawrence@redhat.com, linux-kernel@vger.kernel.org, pmladek@suse.com, kamalesh@linux.vnet.ibm.com Subject: Re: [PATCH v2 1/4] selftests/livepatch: simplify test-klp-callbacks busy target tests In-Reply-To: <20200603182058.109470-2-ycote@redhat.com> Message-ID: References: <20200603182058.109470-1-ycote@redhat.com> <20200603182058.109470-2-ycote@redhat.com> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 3 Jun 2020, 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 > Signed-off-by: Joe Lawrence Acked-by: Miroslav Benes M