Thread (18 messages) 18 messages, 3 authors, 2017-10-10

[PATCH v10 09/10] mm: stop zeroing memory during allocation in vmemmap

From: mhocko@kernel.org (Michal Hocko)
Date: 2017-10-06 11:47:35
Also in: linux-mm, linuxppc-dev, lkml, sparclinux

On Fri 06-10-17 11:10:14, David Laight wrote:
From: Pavel Tatashin
quoted
Sent: 05 October 2017 22:11
vmemmap_alloc_block() will no longer zero the block, so zero memory
at its call sites for everything except struct pages.  Struct page memory
is zero'd by struct page initialization.
It seems dangerous to change an allocator to stop zeroing memory.
It is probably saver to add a new function that doesn't zero
the memory and use that is the places where you don't want it
to be zeroed.
Not sure what you mean. memblock_virt_alloc_try_nid_raw is a new
function which doesn't zero out...
-- 
Michal Hocko
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help