Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4283539pxb; Tue, 2 Nov 2021 07:14:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2b5Nz2s5lLviLcgRt65kXgP83dlxyth+zV+UPAK/vr1yLGBafaL4/PbxUNTK65E5piV1l X-Received: by 2002:a05:6402:34d2:: with SMTP id w18mr51137225edc.172.1635862483566; Tue, 02 Nov 2021 07:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635862483; cv=none; d=google.com; s=arc-20160816; b=zm3rY9J1qPI5ORA3oZqRBaJqzJX7Byj6CapDec2I19AAZLGpR2RoeDtKFS4wew6tFB HrhPuODbMdFljTXF4prI1BY7HjJngnkJjQWN4Eqh95qbZPzxehL3gbg/YJwUa4kPQKHl ae0nRUXQPT/tq5OOkUos8wErFPcTMmLgHPkfST4Tu7UHfXbgE7JeZ8btQf/dDmPEndPR 7NKIsdrjamAotNNNpA2wRy/zqLUOAo/Ctz0WXpVVYVKM+J3KF84An5n03pIqvgPr+Ej5 dPYmuuEww98SA24aQdu1DHTfPzoKkG/x8fbPU1VOGCiI4fFcCtSqgidq6EEy1Wy7ql+A eYVQ== 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:dkim-signature; bh=zOgaJVxEip0PVqxzxEI60xVAoiPrv+jKDeYMfH5bsbQ=; b=uicwzWehEL/QTqA9+jBkrhNQlWJ3m7IDrYsehhHIh/iPQZV5jYEoGojAL6MJAMNRvG I0Hw/Q8/vlPH0buaG9mP0CglpUsUbpB65JU9kvcw++zdqIxieeZM5fZnvaTL5WTKdywR hERnZkg3cmhkc51SnzXCyGMYPpdoq5ktfMicwkZUMVkUDzG210SrQ3xxaLDhHRXLgXex JIdRZzycvzCyRCiW2oi8a+A6GQqVbeuSttfNCiprjDs21hhptQCNO4sbJN5cyxI9/raS +7rqhcd/pUd9jKWjXHlQ//8qU0QzgE+ub9WQiI0bLUHffUsqN/DhB4ajsoSLXGlu+SCr 2sRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Mt+wM1lc; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si23759700ejl.787.2021.11.02.07.14.16; Tue, 02 Nov 2021 07:14:43 -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.com header.s=susede1 header.b=Mt+wM1lc; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229981AbhKBOO5 (ORCPT + 99 others); Tue, 2 Nov 2021 10:14:57 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:51434 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229712AbhKBOOt (ORCPT ); Tue, 2 Nov 2021 10:14:49 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 9F4BA212C6; Tue, 2 Nov 2021 14:12:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1635862333; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zOgaJVxEip0PVqxzxEI60xVAoiPrv+jKDeYMfH5bsbQ=; b=Mt+wM1lcqW+lmIkB8/QM0Al6IlU3QQeWdMAh+xI6xaUeL1tTybspmIt8E3Wn2fKrj3dkBT P9w95XAL05OOIBLYzoN2v/hpUEwhjGLzd6jq4m6z0zotLHWP/WWGM8v7O+r82Or35l40E8 vQ+EAK7ws6dFmq0M3ydaA+zon15sdm8= Received: from suse.cz (unknown [10.100.201.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 72B0FA3B83; Tue, 2 Nov 2021 14:12:13 +0000 (UTC) Date: Tue, 2 Nov 2021 15:12:12 +0100 From: Michal Hocko To: David Hildenbrand Cc: Alexey Makhalov , "linux-mm@kvack.org" , Andrew Morton , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Oscar Salvador Subject: Re: [PATCH] mm: fix panic in __alloc_pages Message-ID: References: <42abfba6-b27e-ca8b-8cdf-883a9398b506@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 02-11-21 14:41:25, David Hildenbrand wrote: > On 02.11.21 14:25, Michal Hocko wrote: [...] > > Btw. do you plan to send a patch for pcp allocator to use cpu_to_mem? > > You mean s/cpu_to_node/cpu_to_mem/ or also handling offline nids? just cpu_to_mem > cpu_to_mem() corresponds to cpu_to_node() unless on ia64+ppc IIUC, so it > won't help for this very report. Weird, x86 allows memory less nodes as well. But you are right there is nothing selecting HAVE_MEMORYLESS_NODES neither do I see any arch specific implementation. I have to say that I have forgot all those nasty details... Sigh -- Michal Hocko SUSE Labs