From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CC812C15A3 for ; Wed, 7 Jan 2026 03:49:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767757787; cv=none; b=inWtE3zA7JxPCLBCq7Putkj7pdZBFRMT8vBxOlOQ3Cs8pr+LFezT89Fr5TBlzPP8K8HJqzOH75iyc7osl/Rs+1M9V0i6Q7W9VOomPJ1JgGKxtP0BIrU66gV2+iFP4Xsicv8yzRhzPBRs/ZX/0wip4QFSlkv5fVyyqWQ1hbg6S68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767757787; c=relaxed/simple; bh=GblSqByrnOyWARKVerxxmttj6WzbnJ0LUGnjdhyijzU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dhliqaLjUIKV7F38i6woMhq6LkAMSCjQK5l0QNlvGbcuOJ0GLdURCcbI8kEewyjcPNl3EsSWwH4KPNqd+h1+/j0zWz1CBWw8aQTbadChdLjPWCB/Df3R7fkSrl55hO67/0Q17id5gXSva3nRb5S1QG3JZ32GRZvovVonNPL2jws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=pROKaz7k; arc=none smtp.client-ip=91.218.175.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="pROKaz7k" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1767757772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TZsXTVrwMS0dDeLUg9YyVb83Bpf4n/yK7h7JcyrhB0U=; b=pROKaz7k9W2yQFZoeXw0bXp/kUCf8aFBj1bN/mqKhs9ncaqPQ7mPjCxIdSne1hW1GoZ8r9 ye67XXGc4F08YGhoGUywC2g1KNW5gQa6fTIo87Qfzx1xEFGFLB0M0rAZFSGd+2oAbXUbtT nU+wo3MbsOcwP2pdKYoOy8ddHOcFkwc= From: Fushuai Wang To: fushuai.wang@linux.dev Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-trace-kernel@vger.kernel.org, mathieu.desnoyers@efficios.com, mhiramat@kernel.org, rostedt@goodmis.org, shuah@kernel.org, wangfushuai@baidu.com Subject: Re: [PATCH v2] selftests/tracing: Fix test_multiple_writes stall Date: Wed, 7 Jan 2026 11:49:14 +0800 Message-Id: <20260107034914.22315-1-fushuai.wang@linux.dev> In-Reply-To: <20251227041821.75504-1-fushuai.wang@linux.dev> References: <20251227041821.75504-1-fushuai.wang@linux.dev> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT > When /sys/kernel/tracing/buffer_size_kb is less than 12KB, > the test_multiple_writes test will stall and wait for more > input due to insufficient buffer space. > > Check current buffer_size_kb value before the test. If it is > less than 12KB, it temporarily increase the buffer to 12KB, > and restore the original value after the tests are completed. > > Fixes: 37f46601383a ("selftests/tracing: Add basic test for trace_marker_raw file") > Suggested-by: Steven Rostedt > Signed-off-by: Fushuai Wang Gentle ping. --- Regards, WANG