linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andy Joe <jyizheng@gmail.com>
To: linux-mm@kvack.org
Subject: Is free_all_bootmem broken for ARM in Linux 4.0
Date: Sun, 31 May 2015 22:05:02 -0400	[thread overview]
Message-ID: <CAD6TEOBtaWsYAx8YYUdTzgm8vRUzjiSKz3BVf4vnUk_Wn6tVwQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

Hi Experts,

I found that there some modifications to the initialization of memory
system for ARM. In particular, init_bootmem_node is no longer called.
But free_all_bootmem is still in use. In this sense, the global variable
bdata_list is empty. I wonder how the new code is able to free pages
to buddy system. Is this an issue?

The related code are listed below.

http://lxr.free-electrons.com/source/arch/arm/mm/init.c#L530
http://lxr.free-electrons.com/source/mm/bootmem.c#L272

Please help.
Thanks,

Yizheng

[-- Attachment #2: Type: text/html, Size: 872 bytes --]

                 reply	other threads:[~2015-06-01  2:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAD6TEOBtaWsYAx8YYUdTzgm8vRUzjiSKz3BVf4vnUk_Wn6tVwQ@mail.gmail.com \
    --to=jyizheng@gmail.com \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox