[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2d9f7511-ce65-d5ca-653e-f4d43994a32d@arm.com>
Date: Fri, 6 Sep 2019 16:20:26 +0100
From: James Morse <james.morse@....com>
To: Pavel Tatashin <pasha.tatashin@...een.com>
Cc: jmorris@...ei.org, sashal@...nel.org, ebiederm@...ssion.com,
kexec@...ts.infradead.org, linux-kernel@...r.kernel.org,
corbet@....net, catalin.marinas@....com, will@...nel.org,
linux-arm-kernel@...ts.infradead.org, marc.zyngier@....com,
vladimir.murzin@....com, matthias.bgg@...il.com,
bhsharma@...hat.com, linux-mm@...ck.org, mark.rutland@....com
Subject: Re: [PATCH v3 09/17] arm64, trans_pgd: add trans_pgd_create_empty
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
Powered by blists - more mailing lists