Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp789575imm; Wed, 4 Jul 2018 06:06:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf3y8+WE7e/RNxaz5POuloXcvJfcKBInI31jolMRbYz9sigUizW4QRy+u6p0V3WF2w3rKTt X-Received: by 2002:a65:5086:: with SMTP id r6-v6mr1835972pgp.375.1530709584533; Wed, 04 Jul 2018 06:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530709584; cv=none; d=google.com; s=arc-20160816; b=B/Jg90f+iAbzwfMk4Gx/ZMfdKb1AJvNDhDPXadBTzA823vHjZ91rOcgNAgQpF/fBqH DkdgY/XZw5hI4hijasOUirvYOOA/KnRCexZsOlFIsZe3iKmfXPZlhlAKBabxliXnsSQu g8GFKEGVngxYbqTsQhJyhjGOd0aeFcsBZZVTDPWCH/q0xpLLgcdTZQDEJ+49hdDgfiPm k+tdclxXh+Hm1gTtQnj90D1JXCoKIb2SY1x4Z34p2JfKu1dx9NF0hn5cFgA8NDhCr5io aChaWwCd6XhcC3RGY57J/wJVFIqqiWZ8hQdyCg6RhLBVjadpEft0Jrb+CxYAL+gRaPP7 T2og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:arc-authentication-results; bh=NwBuPP7wIE031NipU6ShfvOC2YAg4HSQfL9YpKHS6Mw=; b=REm0Zn2CRJtsSw3mqG+On6YvKQqUI0j+pPeR65fSnM3NW1IKDRqnqzwVbWuCD4Mqdv PAHFJIxq/HRQdj59f260zSLOfPtuWXbUvAdWR1A0q/PAwOarhN1VnUF7JovyElU8Nwed GvoAQMbz5KbSu6jk72CmyCTbtV9vhGvnEl9m8DhYSmmpj68TSNjZoji3NRQe+0ge1qyb piVCkXXxI1OBhASAa9rVJgpbBukf/HxhnbV0MlANnJWKTxV6FiaO9jHcYK4/TLKV936R i7wQ4jeX8w2rasr3nRU0H/4qnJvGYbDPAU2loUaAsM7MLWiJo/Y6/BNu9t4BD5cB6rhY YPpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3-v6si3460423plb.100.2018.07.04.06.06.09; Wed, 04 Jul 2018 06:06:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753345AbeGDNFW (ORCPT + 99 others); Wed, 4 Jul 2018 09:05:22 -0400 Received: from mail-vk0-f67.google.com ([209.85.213.67]:34096 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753248AbeGDNFU (ORCPT ); Wed, 4 Jul 2018 09:05:20 -0400 Received: by mail-vk0-f67.google.com with SMTP id l189-v6so3055161vke.1 for ; Wed, 04 Jul 2018 06:05:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NwBuPP7wIE031NipU6ShfvOC2YAg4HSQfL9YpKHS6Mw=; b=qtP6ohwBkU9fbK5c70ucvF+sUmeVZo9bCOE9Ay/FVA2ZgULbbVP8NFEqU2DyR6kgft Nrxxd+Q07SNDuYdNC4DoUcW760zQAqM586Aym7PODdh1Vzf+YthzHcHg0z9rMIeOfh6p vsWWo5pCdVaT+L6kr8llXm9h9zMP6o/9f5wFLpgWgL9ScIhEG6S+XSiqvfy6T8FTo6FX Qi9M15s646WNqIrRDZpeJU92wumLjxtNM8SRA40N8J3mooQ4ZriRgx6JBImtJ0kg8of6 zcR0RUsAkh39K7KKrYvqvSJ19V5vm0cER9qlj5+sSScqev+rz6XBu751jw/HGr3xpcgM 0Fcg== X-Gm-Message-State: APt69E3DC8j8ui0+DfSsUoXadKcHjZPNCOqJvwNHIEIBm2TdXp2jLekY jr6NXcfR8IW9zp6Y9CLImnrrqrp8lsdXx0exSWs= X-Received: by 2002:a1f:654:: with SMTP id 81-v6mr1017863vkg.159.1530709520040; Wed, 04 Jul 2018 06:05:20 -0700 (PDT) MIME-Version: 1.0 References: <1530685696-14672-1-git-send-email-rppt@linux.vnet.ibm.com> <1530685696-14672-4-git-send-email-rppt@linux.vnet.ibm.com> <20180704075410.GF22503@dhcp22.suse.cz> <89f48f7a-6cbf-ac9a-cacc-cd3ca79f8c66@suse.cz> <20180704123627.GM22503@dhcp22.suse.cz> In-Reply-To: <20180704123627.GM22503@dhcp22.suse.cz> From: Geert Uytterhoeven Date: Wed, 4 Jul 2018 15:05:08 +0200 Message-ID: Subject: Re: [PATCH v2 3/3] m68k: switch to MEMBLOCK + NO_BOOTMEM To: Michal Hocko Cc: Vlastimil Babka , Mike Rapoport , Greg Ungerer , Sam Creasey , linux-m68k , Linux MM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michal, On Wed, Jul 4, 2018 at 2:36 PM Michal Hocko wrote: > [CC Andrew - email thread starts > http://lkml.kernel.org/r/1530685696-14672-1-git-send-email-rppt@linux.vnet.ibm.com] > > OK, so here we go with the full patch. > > From 0e8432b875d98a7a0d3f757fce2caa8d16a8de15 Mon Sep 17 00:00:00 2001 > From: Michal Hocko > Date: Wed, 4 Jul 2018 14:31:46 +0200 > Subject: [PATCH] memblock: do not complain about top-down allocations for > !MEMORY_HOTREMOVE > > Mike Rapoport is converting architectures from bootmem to noboodmem nobootmem > allocator. While doing so for m68k Geert has noticed that he gets > a scary looking warning > WARNING: CPU: 0 PID: 0 at mm/memblock.c:230 > memblock_find_in_range_node+0x11c/0x1be > memblock: bottom-up allocation failed, memory hotunplug may be affected > The warning is basically saying that a top-down allocation can break > memory hotremove because memblock allocation is not movable. But m68k > doesn't even support MEMORY_HOTREMOVE is there is no point to warn so there is > about it. > > Make the warning conditional only to configurations that care. Still, I'm wondering if the warning is really that unlikely on systems that support hotremove. Or is it due to the low amount of RAM on m68k boxes? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds