Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1580716pxb; Mon, 8 Mar 2021 00:45:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOVcB/6X4m0nUL73+yAwxzvVPHyALiWXgZf48bh5DpWG6A5EdJcDnq8KR6SIR28ZgP1xtM X-Received: by 2002:a17:906:33da:: with SMTP id w26mr14055404eja.302.1615193099917; Mon, 08 Mar 2021 00:44:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615193099; cv=none; d=google.com; s=arc-20160816; b=ckNuuHaAontlPYV+uSjm1vuFM5yGduEoMsZkOX2HGR9yIobG9PAkGKL0pHgHsT2HkB Y3CiYYnT2a90dhgphZe8DHPUOUM+Y4/twTvFTB1zrI1TJ16wjIHGEAJTgkWgqU0fTp/0 XAXy0sy+JllAWCwQ03B652eiUaEdrZiD0RddSf4Ho1QceULmmFhyvW0CqwD06Xe3Qb1W ycow81VSjjx+skFbCF4vw+B6Q1Od8+dLpi5g/Cfo9b04THLjNJgNTGaL+fYy1Dr0Yzmy joT8YmUVBvxGSJzK5eFCJwY1A5E3qFeJJH2OR4kbf/6gCPEzzJ/E6XLJNSf1Nc9+3NMe IlHA== 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=uoC8QNlvTR8++BIKTNy/5o3MzhxCe5WO+3UpJfEpK6c=; b=kwyraWE2y1LY3tUhIKHMY8L+Jkjjj4fQOLeSAHjEYmf4qeNVf9tsa9DYeuO57nQX0m qXQsYdN4WY4QlOVEYdZNLAffXsBm/l8Gv5DHIoNZ/+OT37pRXOvpOJ7D5Ac1Vn9GklmX pRsQeNqSVizb7tMzJTaHLoZW8PvaHsMXFsJpQWu6G0KOwtTfjDOchhABnrXYBZeLjt6C MGLnbp+ihVe2+a7CZB86tz3cdu9abv5yPytp5lMlPwU6lOr1mr6v7Y1satica7XX45/9 v/twvwcVPtJSVEp9RPeTnDnW5gE/ctWa/I6nGdrR3+idHyohnbQdQe+bPuOw30JiawjS C1cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=LGL8vyV1; 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 c3si7397073edj.192.2021.03.08.00.44.37; Mon, 08 Mar 2021 00:44:59 -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=20161025 header.b=LGL8vyV1; 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 S235040AbhCHGt0 (ORCPT + 99 others); Mon, 8 Mar 2021 01:49:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235024AbhCHGtX (ORCPT ); Mon, 8 Mar 2021 01:49:23 -0500 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 A33D1C06175F for ; Sun, 7 Mar 2021 22:49:22 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id v9so19331925lfa.1 for ; Sun, 07 Mar 2021 22:49:22 -0800 (PST) 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=uoC8QNlvTR8++BIKTNy/5o3MzhxCe5WO+3UpJfEpK6c=; b=LGL8vyV10hWlr4AyKOFUhQb+foDReKdTXstB87PngQ/jmO1URKyMs5x5mPH6Glxxwi OhtezJgG5daQPD776QholBRx01BRhXwkd45SpxvtQP2Je+aquHxwr0rF1Euk8JnaT6oD lk8Jr/hTZQXXS3VAUsPy1Q+3oTbjSaSfG7rHWXgYob5wGa2e4seMDNlApIUHDbrq7OGh lkYFxTxe6QFp4WlRiOkkOV1Xbi0N4ZsGTfPu7Vie0rJ7JJ3jVibkF0H81k1CewVGhIRz cLKR8xFauyk+yQwHcRx5HcLegtdH+fVviAATzWl9fEqcMOAh1OLcc00BDy2QNjb2prd7 4mgg== 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=uoC8QNlvTR8++BIKTNy/5o3MzhxCe5WO+3UpJfEpK6c=; b=dTNpRYKIIVvEuEQzhn6kiKdd+hPT36faVNpkntPYHDm2BIJthdPt63oYpLKuO89rFP mkD8REotIrsW1EkBwHoYi0M72eoi9A8k7mIpl4jWauQcgofXs60bnhezwi/zuyGEyH/u sWMU4kR1c8+zVQBi24QtEVlpyhxHEYz4ESUWGavAM2af5HAr8lTl2AYHGjZaIiCQ3Fyz 9VL3295Kki+MFGLUoexCHhUPpPW9740eYml68CTaatmE5sfICmlXtD9ybrO1Z1dPSxqc dGqh/dDidw3ckMJXfEX6z9LnT8TN24Nr1bcllq8Yj5aSAbwBT+WZia9Y244W9tGM5RrS EzVQ== X-Gm-Message-State: AOAM532xuOb6jK8vjolaFx2BFjAKm0r60AiPyINyQ1P7fq2M7bdHHYe1 fz5TaZK4grAn+/mLg2kXihr6buu0mgLTXEvCKqYGgQ== X-Received: by 2002:a19:c14a:: with SMTP id r71mr13425508lff.358.1615186160205; Sun, 07 Mar 2021 22:49:20 -0800 (PST) MIME-Version: 1.0 References: <20210217001322.2226796-1-shy828301@gmail.com> <20210217001322.2226796-5-shy828301@gmail.com> In-Reply-To: <20210217001322.2226796-5-shy828301@gmail.com> From: Shakeel Butt Date: Sun, 7 Mar 2021 22:49:06 -0800 Message-ID: Subject: Re: [v8 PATCH 04/13] mm: vmscan: remove memcg_shrinker_map_size To: Yang Shi Cc: Roman Gushchin , Kirill Tkhai , Vlastimil Babka , Dave Chinner , Johannes Weiner , Michal Hocko , Andrew Morton , Linux MM , linux-fsdevel , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 16, 2021 at 4:13 PM Yang Shi wrote: > > Both memcg_shrinker_map_size and shrinker_nr_max is maintained, but actually the > map size can be calculated via shrinker_nr_max, so it seems unnecessary to keep both. > Remove memcg_shrinker_map_size since shrinker_nr_max is also used by iterating the > bit map. > > Acked-by: Kirill Tkhai > Acked-by: Roman Gushchin > Acked-by: Vlastimil Babka > Signed-off-by: Yang Shi Reviewed-by: Shakeel Butt