Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4320468pxt; Wed, 11 Aug 2021 03:21:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygWtd+Rr+otau0VP4xewjz0eL2CSPb5cjElSlpol1C64spbvLShuYXEq0jwcB6bqW4cjKL X-Received: by 2002:a5e:9747:: with SMTP id h7mr88452ioq.92.1628677317810; Wed, 11 Aug 2021 03:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628677317; cv=none; d=google.com; s=arc-20160816; b=QRFHA6SCnQ1wak2iBNmrjwrkv2vkCaxtJskwWqeEf4ci0ywvdvKI9SZ0M56ZdvDjeR ROnU9F33rw2kb6SK65u0nayteiHt7UWaBfsZbje67uIDAIIpouv3vafezeC2zX9etvv+ 68jTivXyDTRNpyUU8LWEGVcq1H2n6b1jeWmoVqEg2Rs/Qj9pEkGUcVu/N6B53T4WBeIZ sH3ruiiSB+kvvwwjxog1eEW1CSVp/eSLqF/+Mxr+CWdnXq76yBJ9Wn70CZcEThlLTX0/ 57C7gCb2xD1gU6Q/FGks371YibhmTJzEpgMU3tJZm4d0LjxUHqC8mPLJHG2AnQMa85OS Fx+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=QAGk8iOiGdr+N/h116Wjgrew3d+TBsOOLglnQkB62gk=; b=vi9/zuK76dYpVQsYXP1bExKecLF1L0IJf1bZevS+Aa48CThWLV33t/Jt6ID3CDBUt3 59L2rhorjsR8sUUQQtlgDJxa8M/lromYXOP4qUshq1nkFxK0d1NAmr4RC19d7LgyHaBa zm6sz9MDxDsvdsMzr5Z2OimtcOdf6WOWLToT8W0JE5N+eyMS46QsbZFzLOQrfgwTxDTL 0Y/TqBvmNKDf8ftG8U4U01ArtukXI9KqQG3+LCaVVcqT1MkqANtwZHkljOdzYj14Fg0X RMkv9uooYx3/XTRUGY6rMhdHwlqnzVMkgrhV69DbvlNBTkWMH4cTrdM9g6y4MtT/3rMw 9Jjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=JIUKtvQZ; dkim=neutral (no key) header.i=@suse.cz header.b=rf3Qvjla; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si10681775iow.39.2021.08.11.03.21.43; Wed, 11 Aug 2021 03:21:57 -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=@suse.cz header.s=susede2_rsa header.b=JIUKtvQZ; dkim=neutral (no key) header.i=@suse.cz header.b=rf3Qvjla; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237042AbhHKKVB (ORCPT + 99 others); Wed, 11 Aug 2021 06:21:01 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:47656 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237045AbhHKKUw (ORCPT ); Wed, 11 Aug 2021 06:20:52 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id F139B221CC; Wed, 11 Aug 2021 10:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628677227; h=from:from:reply-to: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=QAGk8iOiGdr+N/h116Wjgrew3d+TBsOOLglnQkB62gk=; b=JIUKtvQZFGHR6+JpRBtCklcDPvZKsfGiHDpFhQOGdKfGWYjCjy7fcxp0u83uy2CkTsJXJQ WmUG1cxvJxF4U957bod/H/A3QhsBee6i5DFX6f+YLDcAWzG7Lr8xSUaORP/8Ed/ANeOnER VC62Tp6uDhdegvWjjRKNXV7IbPXZMGA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628677227; h=from:from:reply-to: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=QAGk8iOiGdr+N/h116Wjgrew3d+TBsOOLglnQkB62gk=; b=rf3QvjlaW3f4bRmlW/2QvNNbrnOmhST9WeDhT8C0rd4KXAb+l54atTniMyLbuNXZyDUpky F53kYo4N6nuSPfAg== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id D48B6131F5; Wed, 11 Aug 2021 10:20:27 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id Rrg1M2ukE2FQDQAAGKfGzw (envelope-from ); Wed, 11 Aug 2021 10:20:27 +0000 Subject: Re: [PATCH v14 035/138] mm/memcg: Use the node id in mem_cgroup_update_tree() To: "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Michal Hocko , Johannes Weiner , Christoph Hellwig References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-36-willy@infradead.org> From: Vlastimil Babka Message-ID: <95316d90-fad8-61c4-edeb-c2fc56e0b346@suse.cz> Date: Wed, 11 Aug 2021 12:20:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210715033704.692967-36-willy@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/15/21 5:35 AM, Matthew Wilcox (Oracle) wrote: > By using the node id in mem_cgroup_update_tree(), we can delete > soft_limit_tree_from_page() and mem_cgroup_page_nodeinfo(). Saves 42 > bytes of kernel text on my config. > > Signed-off-by: Matthew Wilcox (Oracle) > Acked-by: Michal Hocko > Acked-by: Johannes Weiner > Reviewed-by: Christoph Hellwig Acked-by: Vlastimil Babka