Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6410949imm; Wed, 27 Jun 2018 07:18:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe7/4MxzJFvRyUBOgEiOzDZfF+Sqz1qdVvs60MBqS/+mglKb8bl/IFpYef8biQ0uDrmmIGJ X-Received: by 2002:a62:9385:: with SMTP id r5-v6mr6049497pfk.59.1530109130932; Wed, 27 Jun 2018 07:18:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530109130; cv=none; d=google.com; s=arc-20160816; b=CYl4WrWtmGv9DGGCKxBrV3PKRHRMfaXhYrz/i7FFD4xzyMn0PJVBk+K2D2jvLeXASF 74kLUaLh8LHG1EBfnqm5C8sb2VxSHHfGbmJv9J5it4nEiDWBBMeosD0hzTrM8ye5GL+5 ipQaGiFViUVa9eS83l+Wl3RkaIBqv+fGlQaC9XqxDO+M0qybEDtdB1C6iFu1Wr5O4cUh u/FHIJbHwzviGE6UG8tNkSe+Sz3SF95/m6f0na7MbnXBsuLeX1iIFHTIDX9RZCYNwpES yXyKrhqhEyiCDSqT5/jsPjYiJcRYmJLNjfIj+R1x+nwCLkWJuoPmUpBzpBFkCZvqctzj UM0w== 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:dkim-signature :arc-authentication-results; bh=xERWcpP6zM34lRZ19g6GJyCDtSfzvxoFbvt9ACzPHjg=; b=J3mWj76HdsTTkTw81ldfrLA7+TkqwkfQTMdreKxFLitlCkvOWIdbbFOyEsQyAGv393 Rk6GscfTvJ4fCJIfwyBS3iAjDzyy6/p0fYPHk9JWv2y4XdXZZKAah+VNQscgc4FkhOz4 g98uqYYBQgpTAwSaExMdI/lcsztXhhrIvv5OuH+9phhiQTAr8MN9dySFQsazeQBT1xDL +h6NiJGTrIQcpXxKpWSqArUFb30b1JAMPCdwEKLco8TCVgPU1fpDyCCIYHdo+TqLeX3f u0jlCzs5AO5jtQNzeSxrCvpCAAq4KUnb9WS2OBtmYLiW/5VCkJv2c1VhFLh2iFsZHFQ3 r+kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r2bF86Af; 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=pass (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 k8-v6si4287878pfg.42.2018.06.27.07.18.36; Wed, 27 Jun 2018 07:18:50 -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; dkim=pass header.i=@kernel.org header.s=default header.b=r2bF86Af; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934375AbeF0N6d (ORCPT + 99 others); Wed, 27 Jun 2018 09:58:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:49892 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754546AbeF0N6b (ORCPT ); Wed, 27 Jun 2018 09:58:31 -0400 Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 28753265EF; Wed, 27 Jun 2018 13:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1530107911; bh=xERWcpP6zM34lRZ19g6GJyCDtSfzvxoFbvt9ACzPHjg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=r2bF86AfKtIwVXjwRk+R11EK6aNbIOMaaDPWaYTpIIQ4YWwZq2AeEwAV037TJV8zY 74BQ0YSD9GjhOn1+A8LiuWzGrhNeg5/IlsP/eOkEr3i6E2nHjC0KK9L7EziwNjuMG+ zYt/biOgZzEH8l1yyW+WPC9TQ46AMvRsgA36YPlI= Received: by mail-it0-f50.google.com with SMTP id u4-v6so7687823itg.0; Wed, 27 Jun 2018 06:58:31 -0700 (PDT) X-Gm-Message-State: APt69E1wXDLsibrJLSgKhm8ercXkS/AiTksw88Lwa/FUx+8lKghbYOvb +aLklk2/PiBXpbaU0dqFrqvQRCE7bShz/V+mYA== X-Received: by 2002:a24:798f:: with SMTP id z137-v6mr4744921itc.19.1530107910578; Wed, 27 Jun 2018 06:58:30 -0700 (PDT) MIME-Version: 1.0 References: <20180625140754.GB29102@dhcp22.suse.cz> <20180627101144.GC4291@rapoport-lnx> In-Reply-To: <20180627101144.GC4291@rapoport-lnx> From: Rob Herring Date: Wed, 27 Jun 2018 07:58:19 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: why do we still need bootmem allocator? To: rppt@linux.vnet.ibm.com Cc: mhocko@kernel.org, linux-mm@kvack.org, Johannes Weiner , Andrew Morton , "open list:GENERIC INCLUDE/ASM HEADER FILES" , "linux-kernel@vger.kernel.org" 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 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. Rob