From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D58AC433FE for ; Sun, 2 Oct 2022 03:45:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229519AbiJBDpk (ORCPT ); Sat, 1 Oct 2022 23:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbiJBDpb (ORCPT ); Sat, 1 Oct 2022 23:45:31 -0400 Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 982392EF21; Sat, 1 Oct 2022 20:45:27 -0700 (PDT) Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1664682325; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vc7/td9WozM5pVmB5K7uQM4nbJeJhzcm1HJ4XY9GakU=; b=lKPtg3cGoFY9Kpcu070SXiUX1GJwQaYBbfJzBQ4ZE15SZIv0jkZr0kPwUqy0BUAUPg//h5 T9oOOROm3XM4Qi52/Z9EfdLCEUlWdP/UklihlzZf6I4ieJ2Y8BgEnxvNOnEHcyAiN5DTTA lEN6x8V2zTvhdvOaWB9XSVVAGJaJzTs= MIME-Version: 1.0 Subject: Re: [PATCH] mm: memcontrol: use mem_cgroup_is_root() helper X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20220930134433.338103-1-kamalesh.babulal@oracle.com> Date: Sun, 2 Oct 2022 11:45:19 +0800 Cc: Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Tom Hromatka , cgroups@vger.kernel.org, Linux MM , linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <828C4B5A-7114-47AF-BA99-0920EA41C753@linux.dev> References: <20220930134433.338103-1-kamalesh.babulal@oracle.com> To: Kamalesh Babulal X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Sep 30, 2022, at 21:44, Kamalesh Babulal = wrote: >=20 > Replace the checks for memcg is root memcg, with mem_cgroup_is_root() > helper. >=20 > Signed-off-by: Kamalesh Babulal Reviewed-by: Muchun Song Thanks.