Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6166273imm; Wed, 27 Jun 2018 03:25:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKav6S3YA6puflwHkAb4ncVCCnqMqQx3nQfOyRWomKvF8AJvjy99acwM0RG/GsNAb8iyXvG X-Received: by 2002:a65:4809:: with SMTP id h9-v6mr4658818pgs.258.1530095115670; Wed, 27 Jun 2018 03:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530095115; cv=none; d=google.com; s=arc-20160816; b=fmftScVomfNabp/15/PUG8HjOJ3qOcFsnsHeo0Ob2QHM05D7elXDdIo0KWPF8TTbDU TeBsO50o1ix83n5GwVmGxMs2+6S0VJZOQhsQU5e5HFhTfVHCJAzmmjzZKhhhZSqT3soa fcnTbo8k73Ote5rGztqYcnDoF/PvCAKV+ARvm53LWWeRGl3gwh49YaSK5C3a05ot7Cyy +KDfAdBLBew+CX6h42AUTkssm2tQb66mu0M8pWIGQtz/os66ApgdBpfeqMT0cn6hr879 g3+aRhAIw8LrZsxN4dxLxUuKogDC7+70f41em4pw3Zg2pc4R46hQC1oI42Deu3aD2lC1 9GQw== 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=s5F6TFs+ZM7W/6W8MiNVWARA2iY3XI5dchJiAx+4BKU=; b=wufnIL2ct9a554SF7dBR5LpOIiSVy/hHlB6zmQ6yUcdUr5ZKHRVkRr8+4qEyrZR5yY ndu99Of6Drdvt+v8MhUecSqFyan/a6IZd2K6SzwoxntAsErhOEHYQHAW8n7wnZREOXB1 GbXbKKBNgiRE40zdCvLXvGVWFpypNuqV517y/S9B/Mlce6pGviSN1j3pP0Zu29JUc7C4 tJgl8VOHzDVsTVBRyxb/deyd3m2RPH6sXda0gBKPKkZU2+fTgvOz3aUAawGcQbITEko4 Uo0Z22YCISmOPK/F5hoaz1daExVDcoxVMG5gBIRYERsv1elB5jmMGGkH4zDZIZJVFbXX 83mA== 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 k14-v6si1096084pfd.23.2018.06.27.03.24.58; Wed, 27 Jun 2018 03:25: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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753395AbeF0KMN (ORCPT + 99 others); Wed, 27 Jun 2018 06:12:13 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:58864 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753238AbeF0KMM (ORCPT ); Wed, 27 Jun 2018 06:12:12 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5R9xJcJ115612 for ; Wed, 27 Jun 2018 06:12:12 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2jv6asxhrx-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Jun 2018 06:12:06 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 27 Jun 2018 11:11:50 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp05.uk.ibm.com (192.168.101.135) 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 11:11:48 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5RABldI26935460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 27 Jun 2018 10:11:47 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9EB2352050; Wed, 27 Jun 2018 11:11:39 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.8.118]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 0C3F552054; Wed, 27 Jun 2018 11:11:38 +0100 (BST) Date: Wed, 27 Jun 2018 13:11:44 +0300 From: Mike Rapoport To: Rob Herring Cc: mhocko@kernel.org, linux-mm@kvack.org, hannes@cmpxchg.org, Andrew Morton , linux-arch@vger.kernel.org, Linux Kernel Mailing List Subject: Re: why do we still need bootmem allocator? References: <20180625140754.GB29102@dhcp22.suse.cz> 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: 18062710-0020-0000-0000-0000029F76B2 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18062710-0021-0000-0000-000020EBF4A3 Message-Id: <20180627101144.GC4291@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-27_02:,, 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=585 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1806270115 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > Btw. what really needs to be > > done? Btw. is there any documentation telling us what needs to be done > > in that regards? > > No. The commits converting the arches are the only documentation. It's > a bit more complicated for platforms that have NUMA support. > > Rob > -- Sincerely yours, Mike.