From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E9E3336BCD7 for ; Tue, 14 Jul 2026 14:52:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784040752; cv=none; b=Ziy3G8BgrJr7+H6XoSsQPC1zMRcS0MxBuM7ys7D9Ev/ii7dDbON9rd+6I9hZMLgiu0+rebtlF/c6/v8N8u9N3dNJTyuzVLa7at0QPaiTwXY+Fk51Zv3AQXcQD6PHcft2UphEVjmam1IxP7MUIMugE9JtVMnn3DenqOrVTAATiJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784040752; c=relaxed/simple; bh=Pi+tkmWWehAq0knNs79c4/VSyA+iCZgN1QB3qpWt/1I=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=gjXvhO2/c3C7is6RqceH7iJhP4UMacgtOu2wnvmeUHQzmjreO8Z+tOkKPYwc9BEOJAtZGQt1NI+KvwMfywP9vRfOaHseCId5Wm241ozzXw9ALo/29b55PisX2GEAdtVn6I4NiL9Vpx9nCQyHMc9UvyMSi9Wzvu6nEqsEYfpalqI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r9KfQylL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="r9KfQylL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82FEE1F000E9; Tue, 14 Jul 2026 14:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784040750; bh=8AE9OX130W4YbKuNbK8IGPKbPcN6oSmOLYFtUvJokO8=; h=Subject:To:Cc:From:Date; b=r9KfQylLD7frxsvki+76fJy8JwQcxz0mViBI4l1/fz6g5aGWt/oB7VZwhO8dlMMnA f36NYpCO5adu3wFXldopLTC3I3dbpaQeP651SFM1MyBdLeSpsVUXrKZwk0xDrgngl/ MF8BD/jDRFgScINVu7oNgLqdFDLnj8JQTMmoJGQI= Subject: FAILED: patch "[PATCH] tools/mm/slabinfo: Fix trace disable logic inversion" failed to apply to 5.15-stable tree To: wangxuewen@kylinos.cn,18810879172@163.com,sj@kernel.org,vbabka@kernel.org Cc: From: Date: Tue, 14 Jul 2026 16:52:14 +0200 Message-ID: <2026071414-goldsmith-census-69bf@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x 235ab68d67eadbef1fdbfb771f21f5bacc77a2ae # git commit -s git send-email --to '' --in-reply-to '2026071414-goldsmith-census-69bf@gregkh' --subject-prefix 'PATCH 5.15.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 235ab68d67eadbef1fdbfb771f21f5bacc77a2ae Mon Sep 17 00:00:00 2001 From: Xuewen Wang Date: Mon, 18 May 2026 14:21:57 +0800 Subject: [PATCH] tools/mm/slabinfo: Fix trace disable logic inversion The disable trace path in slab_debug() had a logic error where it would set trace=1 instead of trace=0. This made trace functionality permanently enabled once turned on for any slab cache. Fixes: a87615b8f9e2 ("SLUB: slabinfo upgrade") Cc: stable@vger.kernel.org Reviewed-by: SeongJae Park Signed-off-by: Xuewen Wang WARNING: From:/Signed-off-by: email address mismatch: 'From: wangxuewen <18810879172@163.com>' != 'Signed-off-by: wangxuewen ' Link: https://patch.msgid.link/20260518062159.80664-2-wangxuewen@kylinos.cn Signed-off-by: Vlastimil Babka (SUSE) diff --git a/tools/mm/slabinfo.c b/tools/mm/slabinfo.c index 54c7265ab52d..39f7eae7eecd 100644 --- a/tools/mm/slabinfo.c +++ b/tools/mm/slabinfo.c @@ -798,7 +798,7 @@ static void slab_debug(struct slabinfo *s) fprintf(stderr, "%s can only enable trace for one slab at a time\n", s->name); } if (!tracing && s->trace) - set_obj(s, "trace", 1); + set_obj(s, "trace", 0); } static void totals(void)