From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (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 E7E4C371CE3 for ; Fri, 12 Jun 2026 02:35:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781231733; cv=none; b=YsxAD2RAL0wEYKX8NeMR3dAreH6HT0svv5VRRxRw28BoseMgiH+ZfYdWlvxUzrpesi9HW9bd/BifLcOrFFRiop4Kg5TqrQNnXCmZmVU+5GVWpIMk15p2C+J8DDrW8fKC/bt5r+EpGk7VtGBCYiaZdVigGfrR5fmHpNb2MWXRoJw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781231733; c=relaxed/simple; bh=FLu0d7B8QvnaQsKbCZJYC58kz8T3KyzJWg9wgCkuitA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VVRpt55R9ZD9MWk81sa88RS7ecqVBpysqLtyJDR9Z02hvksj3mCh7K+AnA3IobEsKMPgYhlUcZcFGcoGTzMrXRXfFS/yKUOe4HDoDj5j+hyFxIk+5qpIhz5JT6ic/y/Pz58PAWFAV28qw5VBncWl0SV0cAGX9/+ub7Bl4pbMmGM= 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=s8stIotX; arc=none smtp.client-ip=95.215.58.182 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="s8stIotX" 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=1781231720; 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; bh=JU191SITecTWC0SD07RMi1rpH/CxSSF00YZEzaSXdcY=; b=s8stIotXYngU/xa0gOZE1mJqM4aEGz8Rf1BYrIaD0dlNn0Ij8YDCvCuEDZkUmuyvIx8pDP hEA0Y8ew7ZhsUxbfZw4qUUYf4GVnl3MmiKxeIGnqRjhgof7YoqRPJ69Ze9kg82Raf3wCqp LIAPOorcUo7oKdbwaBc3WMUdRGXJiq0= From: Kunwu Chan To: paulmck@kernel.org, frederic@kernel.org, neeraj.upadhyay@kernel.org, joelagnelf@nvidia.com, josh@joshtriplett.org, boqun@kernel.org, urezki@gmail.com, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, qiang.zhang@linux.dev, dave@stgolabs.net Cc: rcu@vger.kernel.org, linux-kernel@vger.kernel.org, Kunwu Chan Subject: [PATCH v2 0/3] rcu: Improve task-state reporting readability Date: Fri, 12 Jun 2026 10:34:11 +0800 Message-ID: <20260612023414.679618-1-kunwu.chan@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: Kunwu Chan This series replaces raw hexadecimal task-state values with task_state_to_char() output in RCU-related diagnostic messages. --- Changes in v2: - Split the original patch into three commits, one per file. - No code changes. v1: https://lore.kernel.org/rcu/442e80e0-4f91-421c-ab68-d26e0a031472@paulmck-laptop/ Based on: linux-rcu repo (dev branch) URL: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git base-commit: 85bf11e84 ("smp: Make CSD lock acquisition atomic for debug mode") Kunwu Chan (3): rcu: Use task_state_to_char() in stall-warning prints rcutorture: Use task_state_to_char() for task-state reporting hazptrtorture: Use task_state_to_char() for task-state reporting kernel/rcu/hazptrtorture.c | 4 ++-- kernel/rcu/rcutorture.c | 4 ++-- kernel/rcu/tree_stall.h | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) -- 2.43.0