Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp778935imm; Wed, 4 Jul 2018 05:58:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd6z+e0cXAm42epl2UB9d0j0tOuu/YN1Dz00GcoLbPNQKnpLhHyEG9SW8gBUn5JyS+gQMYg X-Received: by 2002:a63:a70f:: with SMTP id d15-v6mr1852984pgf.168.1530709115678; Wed, 04 Jul 2018 05:58:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530709115; cv=none; d=google.com; s=arc-20160816; b=JlrWEBe/P4i+tqaGwGX3wY3fiB2wJ1QQq7EGBSiLCDjmB8xv1sJs3Pm8RutnJfgfKR /PUO/pXEplwRgR4m27HKT6yyxmrt2eJdifDk6y993t8q0yEqUePrcfOHsyO/8L+2cwzS Kj76DvY7mAfa5XdRuhQMYvwqMeA5TLoC9Yfmm32ZLqSU5JWc6mK/e163RU6vOFs9UyAx lSrLIUFQkckQHN26e9jOKKJQOllD9Y1yMoqezgd+AX0jbsbJETbVvAsNmfvSkfXK+lov GPUXjzHsKo8vL1C6VvGabdWMRXgvGWDg8wL8FB6nE6Mbv/CoObnxeQ8VHTvsR8a6WVK7 pWPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date :arc-authentication-results; bh=KcuchfN+qmJo6+VT2m3MxrGLos7koS+NlMr7iDY/fQU=; b=MLvjalsLHgpWbsB5vUG5daBaOMukSViffjPMUhRBorSoX3tttaoNDQJFXh+H5tV4ZQ U0P9ZJxgRIpns3+1aq0MSD7XAtVE7tBVdoQCiDDlXHTRVqev8Rcx1TK4R7VCedJt+HlK nL6MlxApQMdfd0aDYMwdvGJf5xsA5dlpUL7Vm4VfUKiH2+UAqWdJzTQCq1P1ui1oF1uJ 0hRkU8AMia5Ei7576QIIRK/q+j5LisWjtNCU1Lhvg71cnM8qCbLGlfoGnFZreJB/dvGl XA2wpudpWDpuBj1p/d5CcczI+CxBzhlbVhIgPJi07sWlZBv9WOptVYwadM74Dcnd4i1P 7bYA== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r23-v6si3407989pgb.623.2018.07.04.05.58.21; Wed, 04 Jul 2018 05:58:35 -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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753345AbeGDM5d (ORCPT + 99 others); Wed, 4 Jul 2018 08:57:33 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:55904 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752426AbeGDM5a (ORCPT ); Wed, 4 Jul 2018 08:57:30 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w64Ct9ul057850 for ; Wed, 4 Jul 2018 08:57:30 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0b-001b2d01.pphosted.com with ESMTP id 2k0uupfch2-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 04 Jul 2018 08:57:29 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 4 Jul 2018 13:57:28 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 4 Jul 2018 13:57:24 +0100 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w64CvNNE42467450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 4 Jul 2018 12:57:23 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9E0104203F; Wed, 4 Jul 2018 15:57:48 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EEF3342042; Wed, 4 Jul 2018 15:57:47 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.8.160]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 4 Jul 2018 15:57:47 +0100 (BST) Date: Wed, 4 Jul 2018 15:57:21 +0300 From: Mike Rapoport To: Michal Hocko 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 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> <20180704125121.GO22503@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180704125121.GO22503@dhcp22.suse.cz> User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 18070412-0016-0000-0000-000001E34E18 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18070412-0017-0000-0000-00003237B3F2 Message-Id: <20180704125720.GG4352@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-04_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807040149 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 04, 2018 at 02:51:21PM +0200, Michal Hocko wrote: > 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. Not really. With wrapping if looks better like this :) > -- > Michal Hocko > SUSE Labs > -- Sincerely yours, Mike.