Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4068684imm; Mon, 25 Jun 2018 09:11:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJzwuYDAur5Q5GYsWX2ocRVGyL9EIxOrx/2f/Kd7O7cYIxwFO5EbTVhmnkX4DvWfpJZDSRi X-Received: by 2002:a63:7101:: with SMTP id m1-v6mr11288823pgc.66.1529943072798; Mon, 25 Jun 2018 09:11:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529943072; cv=none; d=google.com; s=arc-20160816; b=z1t5O6/RAJDIikirlz9xJvfVjWhWIBwbYOGbeIsJZSIrYz1xLIq1RSNaremLbfwXMf O7hjnYPD2VpiDyQThvNp0kIRZ+YrhgviyjsAGV9RNvMXjNFA6qqnuZ5+/Ly93i1pPdmV 7Emtuvc0b/lrYw0REXZkOTbNCXZhabvCzU5tzBJgBnZFZCNpF8iadh5s2Vow1NusY32v RK7C0XMG+1pMY5Yv5Qp8EIaYqDp2Z6UWhi9Ar/QYL1phXv8C+FMxUv6tZessdHp03tTR Yg+XOC2Woyl5wogZGgby5iqiZFa/Ygph7ID9KYypQk5klRRZCURUZ5WIDZ3VuWPD2MGF 4fgQ== 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=3cf21v2rm+c/iUacBJtSh/xDuIiTubUDUtyr/HBLYHc=; b=kKvnE95z4yAaPrYknbp+Rvi7Qp4n6BpfT6v0DNrO6RBRtpvMUm8xm/1kiC4JkNAV76 5ampbsWkDaMc1IlVbpEJV/Z89LGZSMnSx/mr0wyv0Yuc7vx7uPDBuMdW0D0l49etPTXo EsNljOuTazRklqQBWWHYz2xRV8OjHNQDRSnI4hVfN5pbN+m77312wPhzxmvuzMcf5gWg eole5MDwGQll+xOhV2q6M6sZGKnduU9qK7bZmzIvbGF9WCE2xiopkb6+SspZHtiRt68W PiXsFB/dJk/SCj60oIGUszzIp1s4zUT+QAnex9VjmwMTbLpBegTDw5jfuogoikoo+NsN FnUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CBGWONEA; 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 w5-v6si13395256plz.438.2018.06.25.09.10.57; Mon, 25 Jun 2018 09:11:12 -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=CBGWONEA; 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 S932384AbeFYQJ4 (ORCPT + 99 others); Mon, 25 Jun 2018 12:09:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:59482 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752415AbeFYQJy (ORCPT ); Mon, 25 Jun 2018 12:09:54 -0400 Received: from mail-wr0-f172.google.com (mail-wr0-f172.google.com [209.85.128.172]) (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 E163925DE2 for ; Mon, 25 Jun 2018 16:09:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1529942994; bh=3cf21v2rm+c/iUacBJtSh/xDuIiTubUDUtyr/HBLYHc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=CBGWONEAAhBNiseK7fRaObqflctZstbaTpYVvED84+KRCV+smPJhH8h4PPX9WG2xO CUClNowAsh01yqrrtM/YNlLb+q9hBIvIEc/jBICSMaS9rOxM5r2cCO/fGbFT1AMIuu g1Bp38Qg815WW94Nlf4vWpqeopmEvM+pHdEnsRHs= Received: by mail-wr0-f172.google.com with SMTP id a12-v6so14283474wro.1 for ; Mon, 25 Jun 2018 09:09:53 -0700 (PDT) X-Gm-Message-State: APt69E3dTeoz7wBFCT3F5aafUj7V+4KvVonslP64KXC0yYm3raJxlJ9c KEEludcIGB3fn91wfn0mty9IZuEzqx3z2P31F4i38w== X-Received: by 2002:adf:be03:: with SMTP id n3-v6mr2639025wrh.267.1529942992322; Mon, 25 Jun 2018 09:09:52 -0700 (PDT) MIME-Version: 1.0 References: <20180625140754.GB29102@dhcp22.suse.cz> In-Reply-To: <20180625140754.GB29102@dhcp22.suse.cz> From: Rob Herring Date: Mon, 25 Jun 2018 10:09:41 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: why do we still need bootmem allocator? To: mhocko@kernel.org Cc: linux-mm@kvack.org, hannes@cmpxchg.org, Andrew Morton , linux-arch@vger.kernel.org, Linux Kernel Mailing List 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 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. > 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