Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2411910pxb; Sun, 30 Jan 2022 15:41:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzL1QUB8fhELplfKvt4dqVtVpuk52AE4WZBYTehcbgdzSsRhLLICZxzlCkvtEIn7aqLlJ8O X-Received: by 2002:a17:907:7f88:: with SMTP id qk8mr11493124ejc.622.1643586071861; Sun, 30 Jan 2022 15:41:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643586071; cv=none; d=google.com; s=arc-20160816; b=aBaVKSF5QevmCb2cj5QaX1OyK3KqNgNNY/ATYlXZFkFe3zdVIH0yDMwaAAePIoXg65 kDjuku12ZdH/vpN4ktBt7fnbvK19qK2o8evUenvo1S6LdJSvCcPlaBExPBx7jhLfeYgF iNhYJkV/AYQlQb3uDETC64br5TZ7WXbvsbQtAZ8sVATPI/1KI8fofbnEv61KhHSeGwqv ZOOy+MdDzCFWihygw+mC20xTmEqwLR+5gg4vhzVqewpGvbclIbqXgf6sffBfryViMLb7 gPcSOSWh+usZZkLH9Zo7UzBEGi29RqRz70R37swAJC4Ikctez8UmZHXLWcuP873R9Mbx 5pJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature:dkim-signature; bh=37Gsm1IqUIMRo4Ici9RHiEuf636sDOjp3AogAz570Po=; b=xRKQiex5Bt5y/P60kxMnS8w4uTF256cpYKIktP9keyoiZyxjvDw3dartk02mVenab1 /7mYI8ZUknloQVgZBbZ7dKbFZEBD5clR3PAZc1Xp/yGHfhqxRDzwAcau7+822PrI7Vh3 tIPu5YU62bSC34/tLHnGQimz2B33qx9Owki2R/jt5cFm597k2A/sDtWOLi40c8mn34Jw gyjyxZJXrVEK5rmuk7pCaS2UHcghE1gVAgNMuPUeDvkuCI+KHsxcUx5wMu06G/gsVzEG iNEerP7atXggQh51PQaxmIUe5SkquAEuCKJwOJBCSsHdTl8UipZN5HydsOqmmphKIfE9 wilA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=cEk3twzy; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si6788819edq.365.2022.01.30.15.40.47; Sun, 30 Jan 2022 15:41:11 -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=@suse.de header.s=susede2_rsa header.b=cEk3twzy; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347968AbiA1LBk (ORCPT + 99 others); Fri, 28 Jan 2022 06:01:40 -0500 Received: from smtp-out1.suse.de ([195.135.220.28]:53360 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbiA1LBj (ORCPT ); Fri, 28 Jan 2022 06:01:39 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (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 2354C212BB; Fri, 28 Jan 2022 11:01:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643367698; 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=37Gsm1IqUIMRo4Ici9RHiEuf636sDOjp3AogAz570Po=; b=cEk3twzyuE6Nz+5y6wQg/HcYfRSOj4+j9PVbl1sf4M9PNND4lTW7+JO1UDKH8YgtLtRIjP ymZiBLT+5NIDKxB8wWjyllHQskNs0HB3GJ7cZ5JlmIRkwo1cYBy3X7TEsaZ6G0E5ffm/6n z9S8K6wMNjRXoF6g2VR80n7h05FucOU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643367698; 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=37Gsm1IqUIMRo4Ici9RHiEuf636sDOjp3AogAz570Po=; b=4nK/NldkHONsuvlQ6D0XMHMjLKSP1YNEu5IdYj4NrjoZ33MCyaV9259pv6JrrvnFA4m+5F T5iCIAz3iho0+CAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (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 imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0D9B813A83; Fri, 28 Jan 2022 11:01:38 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id S7O7AhLN82HzLAAAMHmgww (envelope-from ); Fri, 28 Jan 2022 11:01:38 +0000 MIME-Version: 1.0 Date: Fri, 28 Jan 2022 12:01:37 +0100 From: Oscar Salvador To: Michal Hocko Cc: Andrew Morton , linux-mm@kvack.org, LKML , David Hildenbrand , Alexey Makhalov , Dennis Zhou , Eric Dumazet , Tejun Heo , Christoph Lameter , Nico Pache , Wei Yang , Rafael Aquini , Michal Hocko Subject: Re: [PATCH 6/6] memcg: do not tweak node in alloc_mem_cgroup_per_node_info In-Reply-To: <20220127085305.20890-7-mhocko@kernel.org> References: <20220127085305.20890-1-mhocko@kernel.org> <20220127085305.20890-7-mhocko@kernel.org> User-Agent: Roundcube Webmail Message-ID: X-Sender: osalvador@suse.de Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-01-27 09:53, Michal Hocko wrote: > From: Wei Yang > > alloc_mem_cgroup_per_node_info is allocated for each possible node and > this used to be a problem because not !node_online nodes didn't have > appropriate data structure allocated. This has changed by "mm: handle > uninitialized numa nodes gracefully" so we can drop the special casing > here. > > Signed-off-by: Wei Yang > Signed-off-by: Michal Hocko Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE Labs