From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8AF94C433FE for ; Tue, 2 Nov 2021 14:12:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6C92660F90 for ; Tue, 2 Nov 2021 14:12:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230483AbhKBOO6 (ORCPT ); Tue, 2 Nov 2021 10:14:58 -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