[v6 14/15] mm: optimize early system hash allocations
Pasha Tatashin
pasha.tatashin at oracle.com
Fri Aug 11 09:13:13 PDT 2017
>> Clients can call alloc_large_system_hash() with flag: HASH_ZERO to specify
>> that memory that was allocated for system hash needs to be zeroed,
>> otherwise the memory does not need to be zeroed, and client will initialize
>> it.
>>
>> If memory does not need to be zero'd, call the new
>> memblock_virt_alloc_raw() interface, and thus improve the boot performance.
>>
>> Signed-off-by: Pavel Tatashin <pasha.tatashin at oracle.com>
>> Reviewed-by: Steven Sistare <steven.sistare at oracle.com>
>> Reviewed-by: Daniel Jordan <daniel.m.jordan at oracle.com>
>> Reviewed-by: Bob Picco <bob.picco at oracle.com>
>
> OK, but as mentioned in the previous patch add memblock_virt_alloc_raw
> in this patch.
>
> Acked-by: Michal Hocko <mhocko at suse.com>
Ok I will merge them.
Thank you,
Pasha
More information about the linux-arm-kernel
mailing list