From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from va-2-56.ptr.blmpb.com (va-2-56.ptr.blmpb.com [209.127.231.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 626E423C8A0 for ; Thu, 8 Jan 2026 16:27:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.127.231.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767889652; cv=none; b=K4CUEqCYaBsqobJ5+0+qgRWZC77M+L+7/UIFRLNns3vbAY4jj60I/8sYyl9Oo3KEJWHz1VjyE7jZitAcLnN2db840Oz9VSV0dTB6tqIPI3CrX1kz17A2+oZTMq+oIwv42AlQPGMg3VLdfUEjXUis3pTNAMUgcPh10Lq3Ia7vVBo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767889652; c=relaxed/simple; bh=SohaF2/SMnoHVjrTkmr4uq3Mx3bR62uwbaZmAhynnI8=; h=To:Date:Message-Id:In-Reply-To:From:Subject:Content-Type:Cc: Mime-Version:References; b=DRxvtB/Eurc8CAiyCPxUcdCdHa5JlSF/YVm4hxuYW0AHF3qf7h2gXQ/0t2bXJtrxog3TrcmHtjlTQGgJ++0YlMqI2Hgv0/e7CBCHwJsAv3NpxW21OqwFTzOKJ8evavx7IKm/TLFKJQRXxMWiNudBwdFhrxmgs5dkockH0tVC8Sk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com; spf=pass smtp.mailfrom=fnnas.com; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b=0oMxbA/e; arc=none smtp.client-ip=209.127.231.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fnnas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b="0oMxbA/e" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=fnnas-com.20200927.dkim.feishu.cn; t=1767888750; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=bkP5A+DWSl0+EX6qB6tFi7CpTKd+rQhuRBEv+xFcGek=; b=0oMxbA/eKMCuKhF6uUOF9n6uJkQRE2Wcu1/h65OCgzsQV1aCSA/NxE2vR+SKQXAAUksUYN frXnY6I6t2kT8QnlvMTBu/bfOBDtHqbm/WMc4yrW1GfFP1GBmhLyGpi10KK9hljB1J7toh NiAho8eAor6howwr+0lb838OGq2ijtdpLoG8rah2fyRbFFP6+ouaf+ktfrOlbp1X7qujG7 W2ApHSarhRQU7VKRzFxPB5i24ODJB3Sabnd5sgoEb649xf5Ekfrb10PGO1mIDNntBSGE4I grHr2EUaYDvlHX8N//Vt3yX/8Zyx76JDZPC2kvsJdzkJY+H9jOBy9C5VvYEcWA== Content-Language: en-US To: "Zheng Qixing" , , , Date: Fri, 9 Jan 2026 00:12:26 +0800 Message-Id: In-Reply-To: <20260108014416.3656493-2-zhengqixing@huaweicloud.com> From: "Yu Kuai" Subject: Re: [PATCH 1/3] blk-cgroup: factor policy pd teardown loop into helper User-Agent: Mozilla Thunderbird X-Original-From: Yu Kuai Reply-To: yukuai@fnnas.com Received: from [192.168.1.104] ([39.182.0.185]) by smtp.feishu.cn with ESMTPS; Fri, 09 Jan 2026 00:12:28 +0800 X-Lms-Return-Path: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Cc: , , , , , , , Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260108014416.3656493-1-zhengqixing@huaweicloud.com> <20260108014416.3656493-2-zhengqixing@huaweicloud.com> =E5=9C=A8 2026/1/8 9:44, Zheng Qixing =E5=86=99=E9=81=93: > From: Zheng Qixing > > Move the teardown sequence which offlines and frees per-policy > blkg_policy_data (pd) into a helper for readability. > > No functional change intended. > > Signed-off-by: Zheng Qixing > --- > block/blk-cgroup.c | 58 +++++++++++++++++++++------------------------- > 1 file changed, 27 insertions(+), 31 deletions(-) Reviewed-by: Yu Kuai --=20 Thansk, Kuai