Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2596066pxb; Mon, 17 Jan 2022 01:43:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvyEot6oBWIAlFzrOkRP7Q0nxi/1i5WvVkp3hcfiClon7gKfQyIeMTFnqrVjfDyLaFj1QY X-Received: by 2002:a17:903:41c8:b0:14a:4dc5:ebbb with SMTP id u8-20020a17090341c800b0014a4dc5ebbbmr20869279ple.36.1642412601437; Mon, 17 Jan 2022 01:43:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642412601; cv=none; d=google.com; s=arc-20160816; b=TodnrLWzuuB4lQWY5ypq4Rh4wzI1zbYLEm/3UGSKhJKhk66W1oSjMx5A/g9244n36N TnvCUCvf+rym6o/t4/L1rUx4s75P2SEjujH19M+pF2U+Enehhg3G5pkvZ9YqGEn73sq1 mr9hSTwwK7gPE8wNBwLix7wHEno6xHnQ+FMZBhC04o1v4tAm2+MbEzXLoSmLfF6y1Zs6 HgtI8DrKctBHVJYPrpo/29i2Xb47BxWhO/2jcu6EqrSZzTVVeIn63+XDZfTRJguSMhyz kBHsctm6hX00L5GXH+9dA/KzCbbEbV75SznkD8DdK4FqRAiiRz8eDyt3BhXiUAgwMwNU UTMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=c6evELW+tkD7CtjU/q82JAh8zwV9sibyS+oVT1wgMIo=; b=AAFV2LCfuwcGgmd1kOkEaWg2ryHHnh3uN3PZAF5H2t8yDQPdLLVZ4haahj7zPy14eL z3iFl+89+coSFoL0iNtO2VyJdZ7KOGTZPZVwdqAeYaPlRCwvVjYKnCdfUninN64OBshX ec9+VcT3lAu0cO/xkr2t28/WCNC9ixRFyptfmbNiNl2vgSKGziyxPNN5Wvm7LZzG7eZf 9qsRLYCXxdUeR4jIkpdK13MliaIifd+m2TyBulpXPZ0U426/bwkh3DHQEjCEa8H0/nlL qLMCVGwqSYag+8Pom3beeiMFIXt27zG3ShfUapLz7pxWhV85mWBwzXBlD6v2H4DQEqfk BgLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="pS/LRlqP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d64si13754616pga.809.2022.01.17.01.43.09; Mon, 17 Jan 2022 01:43:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="pS/LRlqP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236153AbiAPTYS (ORCPT + 99 others); Sun, 16 Jan 2022 14:24:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236157AbiAPTYR (ORCPT ); Sun, 16 Jan 2022 14:24:17 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 199FDC06161C for ; Sun, 16 Jan 2022 11:24:17 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id m3so35636403lfu.0 for ; Sun, 16 Jan 2022 11:24:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c6evELW+tkD7CtjU/q82JAh8zwV9sibyS+oVT1wgMIo=; b=pS/LRlqPd2v795c2ySY+8PL8UpC5Zl/zUN5+ti7B4CoFeYTvYKCSFwKmMbUVOPcDVc 7eDStVWQH+iALVLXbJ//2+WauF9fp7eC+h+NWylp10lReOm2dExRzmxX6TmsUpamL0FA 3mhzljQgdxIjCnOhaoIUlIh/xT31WP7v/ZND528u73eUybliaipUhuZ8Myurkri9/Bn0 VMYcEsiO5g5dBYFv1judak18DlWxlI2misGKjlM0Uy/c9j5/lFYy/XHbPdCQhuXVVchu erkNGuEzUvBLWQC3ykVipjL4zjFm2geGKSIDKJvecb5eGqp9umVpwKPwj9v6mlgDm1G1 E4Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c6evELW+tkD7CtjU/q82JAh8zwV9sibyS+oVT1wgMIo=; b=RjMMdmkYfv8MYvTfYsCxB279PZexzsFsQKJ0Pqa7Ws0yQU00Akjx7ioppiknXp8gIM mUoBIT6PWh7V+/45dBaIoLh0JXKXRnrdEErro/lstp7GYcO8l7xt6+P7FBLhbZiGP4F3 p+q1aC128/8cQKnLAlBfxZDon5f2/DaOz51MLImQKH4j2gowyadSc787G5DeGcQ2Lm6h CHzOEQYU/cwi3zgc3tUJZwuumZ229Obcoctu+WVnRXcgyWioKCE77PtckFT3AGiczstw xnYl5FdEOLVrH12qA6cru6QD7WJL+L8HR3VljhPVE+A0zjb0OHedWLE0DzmSi2RcSU4X mQ2w== X-Gm-Message-State: AOAM532BrAafbx67AerswvX16UgfbxyrZKt6E0vt8/gHCX19Oks/HEfC ZmzMJU9kbDkZ5YED/0I/Ic0kSHYwuTdhLfThdJKfXQ== X-Received: by 2002:a05:6512:2629:: with SMTP id bt41mr14284903lfb.264.1642361055116; Sun, 16 Jan 2022 11:24:15 -0800 (PST) MIME-Version: 1.0 References: <20220111010302.8864-1-richard.weiyang@gmail.com> <20220111010302.8864-2-richard.weiyang@gmail.com> In-Reply-To: <20220111010302.8864-2-richard.weiyang@gmail.com> From: Shakeel Butt Date: Sun, 16 Jan 2022 11:24:03 -0800 Message-ID: Subject: Re: [PATCH 2/4] mm/memcg: mem_cgroup_per_node is already set to 0 on allocation To: Wei Yang Cc: Johannes Weiner , Michal Hocko , Vladimir Davydov , Andrew Morton , Roman Gushchin , Vlastimil Babka , Matthew Wilcox , Muchun Song , Yang Shi , Suren Baghdasaryan , LKML , Cgroups , Linux MM Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 10, 2022 at 5:03 PM Wei Yang wrote: > > kzalloc_node() would set data to 0, so it's not necessary to set it > again. > > Signed-off-by: Wei Yang Reviewed-by: Shakeel Butt