Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6526078imm; Wed, 27 Jun 2018 09:00:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJFOejprS3GkJ++oFzZb1z15MdmLrBJJ5m3PxHZyts+4SqbtM3d1KFaFdziZaYQysCYNOHZ X-Received: by 2002:a63:4106:: with SMTP id o6-v6mr5816486pga.453.1530115226349; Wed, 27 Jun 2018 09:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530115226; cv=none; d=google.com; s=arc-20160816; b=WYrUAATOxc/PAZmVG9Gwbe30/54jWPSUi2uB8bsZdecos5zpXUzx+GG93v+W2WGYAp BdcL3GmGbJz1SKg74YlJRMBylAbqidJauJFbMnsBOd0KlOrvedxnzLlWVOOxdyo+qc5T zg0QVKP4e6123LNAGxfDDNhg5G1U2pSJYKcVX7MyMfRuzHRF62AKx95ZtaTLk6I0EB42 9E+oXIUdIGWjRB+KNXRsqwVKfzJDY/riOc+l3pi27dGVz58m87Vd43JnNlSFNx8362b+ vtlSrk0opWusi5KO2QX2j21BPH2d3w2MNPpoIe7y+4JcTt0Fh/4OJwX/IEuyeiw2g65E b/8w== 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=sptRzEELGoIlvf64z2JuG8QdH54okh3rETWFDxDJDTs=; b=dQXlqc8FDbpX0ezsdOt7b1ZbFZNsCpnAe05Tr4cgZ9o85rvU5Gwrf9zPZG1xzwjDf3 0tJh+do1STUaHR3RrdwChWj7B3jNIbV+MLPydP6UgJVW2cOr/WpzPsVBpZNoAgtkQKju IYWVZN5P9uVRmmg1LVBoFvpl3TGmCMetxnPu7do3WdWEobyHc5wABFUl1R11u3nJ+9B+ WaYyDpNIw1VcicuzU4V3IYWNFnVm8pMzagnZgnUNxsVfvnFUa9yqNaxXlzIm5ks9ryTQ ecLMfHx8hXtKkX5Gs+5PkZErg8Wa/gsP6oeRfwOfVHkHW4GAx4p8Ynv1jgiepwx/a/Z/ H90A== 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 p18-v6si3325516pgu.671.2018.06.27.09.00.11; Wed, 27 Jun 2018 09:00:26 -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 S1754891AbeF0P6Y (ORCPT + 99 others); Wed, 27 Jun 2018 11:58:24 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:40080 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753229AbeF0P6V (ORCPT ); Wed, 27 Jun 2018 11:58:21 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5RFs6KZ107683 for ; Wed, 27 Jun 2018 11:58:21 -0400 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0b-001b2d01.pphosted.com with ESMTP id 2jvd8ms561-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Jun 2018 11:58:20 -0400 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 27 Jun 2018 16:58:18 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 27 Jun 2018 16:58:15 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5RFwE1m26935444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 27 Jun 2018 15:58:14 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3CD8911C04A; Wed, 27 Jun 2018 16:58:06 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 60AC811C050; Wed, 27 Jun 2018 16:58:05 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.205.67]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 27 Jun 2018 16:58:05 +0100 (BST) Date: Wed, 27 Jun 2018 18:58:12 +0300 From: Mike Rapoport To: Rob Herring Cc: mhocko@kernel.org, linux-mm@kvack.org, Johannes Weiner , Andrew Morton , "open list:GENERIC INCLUDE/ASM HEADER FILES" , "linux-kernel@vger.kernel.org" Subject: Re: why do we still need bootmem allocator? References: <20180625140754.GB29102@dhcp22.suse.cz> <20180627101144.GC4291@rapoport-lnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 18062715-4275-0000-0000-00000292879A X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18062715-4276-0000-0000-00003799F0DE Message-Id: <20180627155811.GA19182@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-27_03:,, 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=590 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1806270171 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 27, 2018 at 07:58:19AM -0600, Rob Herring wrote: > On Wed, Jun 27, 2018 at 4:11 AM Mike Rapoport wrote: > > > > On Mon, Jun 25, 2018 at 10:09:41AM -0600, Rob Herring wrote: > > > On Mon, Jun 25, 2018 at 8:08 AM Michal Hocko wrote: > > > > > > > > Hi, > > > > I am wondering why do we still keep mm/bootmem.c when most architectures > > > > already moved to nobootmem. Is there any fundamental reason why others > > > > cannot or this is just a matter of work? > > > > > > Just because no one has done the work. I did a couple of arches > > > recently (sh, microblaze, and h8300) mainly because I broke them with > > > some DT changes. > > > > I have a patch for alpha nearly ready. > > That leaves m68k and ia64 > > And c6x, hexagon, mips, nios2, unicore32. Those are all the platforms > which don't select NO_BOOTMEM. Yeah, you are right. I've somehow excluded those that HAVE_MEMBLOCK... > Rob > -- Sincerely yours, Mike.