Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2731907pxb; Mon, 19 Apr 2021 12:27:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxPmcpT5do+wCDMKEUEK65FLVt8rM2OshndjkIT9rm8puMDQpbsPfBdHj6hmehFySpOkYm X-Received: by 2002:aa7:8389:0:b029:209:da1c:17b5 with SMTP id u9-20020aa783890000b0290209da1c17b5mr21351743pfm.29.1618860427410; Mon, 19 Apr 2021 12:27:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618860427; cv=none; d=google.com; s=arc-20160816; b=NDXLsfq9Vq1TrKddLLupjzroE+1rTtw6gQghBToLur4gt+yFq1F7C01kgRePIGxW4i FHggF55V3+gmOyVg4R+et/OJSutH+ADv/uMBEaA9cFcK53P1CsGVkGywmQf97ax7G/U9 mPM4uUthhCdEkROGYd5yd9HoGGhW+sdqCnuZ/FDKZN70kpwnxdFcM/KWaSzoWsrneugS WDoQ0tt6tFYTBMmoVLfkfKAet4nLFrlBiytX5WOBmwhFFqTkeOfFc45wcnM3Wdn1d356 /yJCeM1leOao1OizKmjhdJQmZOCXyXGS/MNzL2y4eypaRkfxdRCZ1mN8jVmhtT6ekLqT G7UQ== 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=VOD6fSTnJ0sxKqRv1Zy1j/kX7uLedN8DTQxW0wXJyco=; b=fdZHOw3VAXSP9TuXjLDplMudCMZ5zKjLP6Hpk+nlwQyRAnrh8EJuj9xihldoyG1wgu kVJbs7LQbajLQwJXUfITiLKAYWhXKMo+akG5VLw+atbGT2ea3G0PvnZh76bSYYEo1P6r FKDGBTq1caLm6KdV7GpgtXO+eUoAplSciLpcjGJ7dq+QiIPIS1AJ9NEBGdxviPKoShmM 5wAvtQIORtbd6T9RM2X6uCVzVsHd35pYMYuStqfIauKPpjxZ3WF0yikYZzwQAH33tqGR pSCmlcx/tZjz/fCy1LToVGK+09EJvv+KyuCJpS5m38DXsj1FlPLo+xAlMX3st1kdZVKp dvWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="YIKlN/ia"; 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 130si18159491pga.231.2021.04.19.12.26.53; Mon, 19 Apr 2021 12:27:07 -0700 (PDT) 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=20161025 header.b="YIKlN/ia"; 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 S241043AbhDSPZE (ORCPT + 99 others); Mon, 19 Apr 2021 11:25:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232354AbhDSPZD (ORCPT ); Mon, 19 Apr 2021 11:25:03 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A12F4C061761 for ; Mon, 19 Apr 2021 08:24:32 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id j18so56628371lfg.5 for ; Mon, 19 Apr 2021 08:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VOD6fSTnJ0sxKqRv1Zy1j/kX7uLedN8DTQxW0wXJyco=; b=YIKlN/iaDDCGQNbzTFFfJP6sWsYrorpW3sSJSdyQ13T1gkKmdGshdBUhzC6EvKQYkW Sezawn45Mqj5pFAmBGbAKtgcUC6iww86lqDmCvh5MHPZu4FWm2R3fbRCCPvfwvSE5fZC Itpl/gk0GvzQi7KM8ITmoosf6SWDs0M8pijLME1h/JtzuGSnzou3Qaw6jlFfMlPv2dB/ jRGZJvdl8wfywsIOUIufJN7PxOd1N65rEI2DJWwtyfMrS8KsoUt/mjDyaEZa7HSM213y srzXsAmBws2o5qdgVpks2Zm0Um9bglM1BB5nLxfl/3Lvjkqrgw2vwOM9i0zaLWicKYqo xZVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VOD6fSTnJ0sxKqRv1Zy1j/kX7uLedN8DTQxW0wXJyco=; b=OCuzQv54XgW4nCNS62co793N7r85YBrjFtKpiUP4XB9Xba9tSiFVdSWQYa27qSpjZ4 iE+pKtfNYPti968RIyIdO+zkf9FkvNyS8h1g6qz9QVzwT1EHz9jZDz8M/jgGVBmeY4mY Iyq1b4BwX8Hd2TiO2gVWrOIg2NmTgtijQnse/Q3BwF9zxCedQZE5qlDx+PnZhWqek5nX rjYfNWiLtajpsiKCrbSmwWfR15Byk2U2Rg9fx6OOkvh9BLDugNP1pBn6/jHEVXASe5eU Kx9Wkj5aPQUEk+TWqVXCvMI+QSvcmyyUYhDGXfmgT+yIEDJjCR9AChDiPU6qSnjl3FOp 47dg== X-Gm-Message-State: AOAM533uwlvAqQDvNFkuZlyTCTGQOM1SDPYOwP6EQSTS7Cc43sxJD4jz tDjslfJGcFyq0/ywrKe5PiIh6mjcCEijdRLlwf1uHw== X-Received: by 2002:a05:6512:92e:: with SMTP id f14mr6800461lft.347.1618845870988; Mon, 19 Apr 2021 08:24:30 -0700 (PDT) MIME-Version: 1.0 References: <20210419000032.5432-1-longman@redhat.com> <20210419000032.5432-2-longman@redhat.com> In-Reply-To: <20210419000032.5432-2-longman@redhat.com> From: Shakeel Butt Date: Mon, 19 Apr 2021 08:24:19 -0700 Message-ID: Subject: Re: [PATCH v4 1/5] mm/memcg: Move mod_objcg_state() to memcontrol.c To: Waiman Long Cc: Johannes Weiner , Michal Hocko , Vladimir Davydov , Andrew Morton , Tejun Heo , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Vlastimil Babka , Roman Gushchin , LKML , Cgroups , Linux MM , Muchun Song , Alex Shi , Chris Down , Yafang Shao , Wei Yang , Masayoshi Mizuma , Xing Zhengjun , Matthew Wilcox Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 18, 2021 at 5:00 PM Waiman Long wrote: > > The mod_objcg_state() function is moved from mm/slab.h to mm/memcontrol.c > so that further optimization can be done to it in later patches without > exposing unnecessary details to other mm components. > > Signed-off-by: Waiman Long Reviewed-by: Shakeel Butt