Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp773473imm; Wed, 4 Jul 2018 05:52:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdnNvCPZCI/ZEIzHmHWRqSjexuxtgPHWFJ7Q2BM06oUWu0Au61vTukAFNQLFhIUXrOpFl2h X-Received: by 2002:a65:6258:: with SMTP id q24-v6mr1827696pgv.131.1530708735099; Wed, 04 Jul 2018 05:52:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530708735; cv=none; d=google.com; s=arc-20160816; b=jllbQvqPF5ZepwXIlLhPpixpGNUQ0jpj0ftfGj3njWyIx6nn8wc9xdupVgx1EHYcgJ 5IJNNyRBj5C3zPdmQTPHQ/1eptTFMCv9ewsvNJzPdhVakYNw8GdqWXMTRzYJAKShOhQU cJASrMFqSdKvuoBLY1pakYK+yyWfWmNJg3iBh57CskQ/x9jHsho0EiHCI3tNWcHAjxkK y3eehFP/y6GV+X9i6T01AfmOCn+TkUjCy13IbasdS55sACj1kSpfoEkj7UwF2drHW+hk +b8iq8tx97occxL4JsKh9CdHQRM7x0JlpH1EVsZSS77ngXunjO3z0dav9EcELm0TQXPm /tLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=PaSd3xCRbs3DmvslMKJ27ySxH7noFMokRxdXUJ/4WdI=; b=pZcdkhQOIJl1AZ9xrO+uB0/dqxM0UeRQVRtDgGkmNW9epTm0E1QyEzrz3ouEbUMBs3 IP00/5uCyZ6r5BRpielTI/osvn16noGg/Bs1XerFIxaF6/OMTQUTZwN8ZBqid4Sthul8 JnGR0X3cB3bkSRvBaekOBbsvfGji9wzZvJmQqcjsN4Iw8xuW6957z5tZgSpbXvS5fji1 qdwT8NkLwvdzSMdFSy5ybwFiKyyazVs879EfCI3Lq2IzbEmm2MneNVsn68fF1bTqmX6j l2zNBgOcSHGj5QZ7h0W+XsMeYleP+HCqsnfs/54Q0ZLSTr4JS/RetD3bwEeSu4XDfJf+ B57g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c87-v6si3518102pfe.29.2018.07.04.05.52.00; Wed, 04 Jul 2018 05:52:15 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752724AbeGDMvY (ORCPT + 99 others); Wed, 4 Jul 2018 08:51:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:49280 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751075AbeGDMvX (ORCPT ); Wed, 4 Jul 2018 08:51:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 04717ACF1; Wed, 4 Jul 2018 12:51:22 +0000 (UTC) Date: Wed, 4 Jul 2018 14:51:21 +0200 From: Michal Hocko To: Mike Rapoport Cc: Vlastimil Babka , Geert Uytterhoeven , Greg Ungerer , Sam Creasey , linux-m68k , Linux MM , Linux Kernel Mailing List Subject: Re: [PATCH v2 3/3] m68k: switch to MEMBLOCK + NO_BOOTMEM Message-ID: <20180704125121.GO22503@dhcp22.suse.cz> 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> <20180704124335.GE4352@rapoport-lnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180704124335.GE4352@rapoport-lnx> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 04-07-18 15:43:35, Mike Rapoport wrote: > On Wed, Jul 04, 2018 at 02:36:27PM +0200, Michal Hocko wrote: [...] > > diff --git a/mm/memblock.c b/mm/memblock.c > > index 03d48d8835ba..2acec4033389 100644 > > --- a/mm/memblock.c > > +++ b/mm/memblock.c > > @@ -227,7 +227,8 @@ phys_addr_t __init_memblock memblock_find_in_range_node(phys_addr_t size, > > * so we use WARN_ONCE() here to see the stack trace if > > * fail happens. > > */ > > - WARN_ONCE(1, "memblock: bottom-up allocation failed, memory hotunplug may be affected\n"); > > + WARN_ONCE(IS_ENABLED(CONFIG_MEMORY_HOTREMOVE), > > + "memblock: bottom-up allocation failed, memory hotremove may be affected\n"); > > nit: isn't the warning indented too much? this is what vim did for me. The string doesn't fit into 80 even if I indented it to the first bracket. If you feel strongly I can do that though. -- Michal Hocko SUSE Labs