Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1234707 > unrolled thread

Deferred struct page initialization issue vs memblocks

Started byMika Penttilä <mika.j.penttila@gmail.com>
First post2015-09-29 06:10 +0200
Last post2015-09-29 06:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  Deferred struct page initialization issue vs memblocks Mika Penttilä <mika.j.penttila@gmail.com> - 2015-09-29 06:10 +0200

#1234707 — Deferred struct page initialization issue vs memblocks

FromMika Penttilä <mika.j.penttila@gmail.com>
Date2015-09-29 06:10 +0200
SubjectDeferred struct page initialization issue vs memblocks
Message-ID<qdUoN-3IA-1@gated-at.bofh.it>
deferred_init_memmap() uses for_each_mem_pfn_range() which (in x86)
uses memblocks. Because of CONFIG_ARCH_DISCARD_MEMBLOCK, the memblock
infos have already been freed to page allocator (in
free_low_memory_core_early()), which happens before
deferred_init_memmap().

Maybe the fix is not to allow DISCARD_MEMBLOCK in deferred case, or
discard memblock infos later.

Thanks,

Mika
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web