Thread (44 messages) 44 messages, 2 authors, 2019-10-11

Re: [PATCH v3 09/17] arm64, trans_pgd: add trans_pgd_create_empty

flat view

From: James Morse <james.morse@arm.com>
Date: 2019-09-06 15:20:32
Also in: kexec, linux-mm, lkml

Hi Pavel,

On 21/08/2019 19:31, Pavel Tatashin wrote:
This functions returns a zeroed trans_pgd using the allocator that is
specified in the info argument.

trans_pgds should be created by using this function.
This function takes the allocator you give it, and calls it once.

Given both users need one pgd, and have to provide the allocator, it seems strange that
they aren't trusted to call it.

I don't think this patch is necessary.

Let the caller pass in the pgd_t to the helpers.


Thanks,

James

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help