Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp233722rdb; Mon, 18 Sep 2023 13:23:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0JfzxgCTBjKaaPgxZIv2N5QXDXil8pLTHi3D5WGvc9X2v+ZHD0MNVZwMQ2WHdX0Tdyv6k X-Received: by 2002:a54:4d8a:0:b0:3a7:3988:87ee with SMTP id y10-20020a544d8a000000b003a7398887eemr10282718oix.58.1695068603607; Mon, 18 Sep 2023 13:23:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695068603; cv=none; d=google.com; s=arc-20160816; b=wCpzZg9cFeMsQZui5bnxAqfpX5zAqZi++Y3dziJZ2V8AZbptyHB1ps/Foqk+lSZB1a G2xsorslQONRdRwfd68QxxFd6qLtkp2ZcDWjSVh+NId66RXh54XKkVbnIuVxIC+HyNPF W7hiKDd41eeQtVP7+fiXsSWeHiXWypxRhWXEPAXgYgTYmW8PSK3oPrlgdTP9ENNUvNOd Byf12Zu6C4MKf7ZyZ8OL4T5+YyYafgJDKmftsUPTeJca1vpyPIr6lv3JMmeatcKfFknx zBGPg5og0RB4mEAcY/1ypSSxyFqLBQDrxcqWFnn69uNKc3Y9wAXsS70qjoKqL5tUJIyS dZ/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=1ScKdDfhlF+ZG275yQXOonVaIbCq8z4oSkAgmpL2eHU=; fh=9WR6lBfQEvr7QYKdeskXwAUHfDGLe0t4IhrP8c/khXA=; b=gKyvv04NQZLDM5XEty1tLPfkWwVrvdTyLvJ6rIPB10SzMoJp7MoFp1djq/N3bvYTLR 8Ef6MbzGgjzt4k12DClx+bU1ZrFolP014KdrCNpfrT1DRIw7BG1/jaYpEQq9VKx6C0sC ldSf3mbt3BXKsmqwgRgUUaE6qx5Ja49MhzLl1Joev1tgcL5f+X9S98JhiCrU8qquyBIh dG4Yl81whhoORwzPae8cQrPSOI/tq5mh7SpQN6VbNaFooeWSBRXqAJ/so1OFHDzqms68 /E3+YlC85eiTsKgYgAODjjtVZDWdP2AcnXWMFFT5nuNKfRe+WIHcWjOY7y+bm/llpUGY g0Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lAZxHq4Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z11-20020a65610b000000b00573f9d84ecbsi8310522pgu.387.2023.09.18.13.23.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 13:23:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lAZxHq4Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 047F780AEB29; Mon, 18 Sep 2023 11:37:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229635AbjIRSh6 (ORCPT + 99 others); Mon, 18 Sep 2023 14:37:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjIRSh5 (ORCPT ); Mon, 18 Sep 2023 14:37:57 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AF0EFC for ; Mon, 18 Sep 2023 11:37:52 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1c451541f23so13315165ad.2 for ; Mon, 18 Sep 2023 11:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695062272; x=1695667072; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=1ScKdDfhlF+ZG275yQXOonVaIbCq8z4oSkAgmpL2eHU=; b=lAZxHq4Y1CD/DLV1L4yAAvPtSVulfJVzPzaRLMWSsqGjm14JBUyvfjnWNlbS5QbdnF ONWGd0sjDDwo7sFcSmDywINXjBPszYlO+Ex/IWTVW+f9/fjo2bpE/R7G8FjLZOXyE6Zx 98AuclCNmJoQ7VZFzhEOAe9V0g7EeiFL1E+WoLqNjik9xdPcp70bvXXaSFekc9NievaJ lG1c27nIbxqbv809Kdfuq6fjTPzYtdtr9I6QIW1QN91tWTNDY3LJoXjWD54tB7p0f22O sBhUv2nY3hSFBhcGVEikGwEX2ErNhxgLpAbp0+jAMkwjKcYQPH7MjUIUTi1uKDAQQC/V PmAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695062272; x=1695667072; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1ScKdDfhlF+ZG275yQXOonVaIbCq8z4oSkAgmpL2eHU=; b=H+UgvUKTkO/jqaR6ZhznHaG0wFKECpUK8O+YH8bjpIiN8LTZPzs1Z/BSxZISXVNFTs NPW2AdMYHVENSyKXAZnAsQ3NX94IlTdGm7EV/NxwKr8PbsI765/CBzg0X9vsrRnnLoXi crpqBZ0YOHWzsfwyQJWmP/oMvE6ks0nJQcwkcvvbew4fwVRpf8ReaAGTrn/0dYuTX5HR 2g1VNeiIrB9fZqIvc0s8koh616S5GqNc3uK0UYQguI90ygBj6Oqemk5QZgMbbxwi4cPF SMt6Et6KJUGvhjtv4Kk0a0uwgcg5hCWD4oxtk/XFggbFIwBB+AmzXDaw/DfmJMtPdsGO CzJg== X-Gm-Message-State: AOJu0YyPX0CW4Ms1xqbH4cRQ2GPF0Nvr366UxWUQ4MPaPK0VXs/6inlN k1K46rjXZ3STdsAZmf+hnLo= X-Received: by 2002:a17:902:6aca:b0:1c3:411c:9b7d with SMTP id i10-20020a1709026aca00b001c3411c9b7dmr8138103plt.57.1695062272019; Mon, 18 Sep 2023 11:37:52 -0700 (PDT) Received: from localhost (dhcp-72-235-13-41.hawaiiantel.net. [72.235.13.41]) by smtp.gmail.com with ESMTPSA id m2-20020a170902768200b001c1ef9d2215sm8509960pll.270.2023.09.18.11.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 11:37:51 -0700 (PDT) Sender: Tejun Heo Date: Mon, 18 Sep 2023 08:37:50 -1000 From: Tejun Heo To: Liu Shixin Cc: Andrew Morton , Yosry Ahmed , Michal =?iso-8859-1?Q?Koutn=FD?= , Zefan Li , Johannes Weiner , Jonathan Corbet , Michal Hocko , Kefeng Wang , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] Expose swapcache stat for memcg v1 Message-ID: References: <20230915105845.3199656-1-liushixin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230915105845.3199656-1-liushixin2@huawei.com> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 18 Sep 2023 11:37:56 -0700 (PDT) On Fri, Sep 15, 2023 at 06:58:43PM +0800, Liu Shixin wrote: > The first patch expose swapcache stat for memcg v1, the second patch > remote unused do_memsw_account() in memcg1_stat_format(). > > v1->v2: Cover MEMCG_SWAP with CONFIG_SWAP and delete unused code suggested > by Michal. > > Liu Shixin (2): > memcg: expose swapcache stat for memcg v1 > memcg: remove unused do_memsw_account in memcg1_stat_format Acked-by: Tejun heo Thanks. -- tejun