linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Is free_all_bootmem broken for ARM in Linux 4.0
@ 2015-06-01  2:05 Andy Joe
  0 siblings, 0 replies; only message in thread
From: Andy Joe @ 2015-06-01  2:05 UTC (permalink / raw)
  To: linux-mm

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-01  2:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-01  2:05 Is free_all_bootmem broken for ARM in Linux 4.0 Andy Joe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox