Re: [PATCH v6 2/6] mm/mmzone: Tag pg_data_t with crypto capabilities

Kees Cook
2022-02-07T21:19:40Z

On Thu, Feb 03, 2022 at 01:43:24PM -0300, Martin Fernandez wrote:
> Add a new member in the pg_data_t struct tell whether the node
> corresponding to that pg_data_t is able to do hardware memory encryption.
>
> This will be read from sysfs.
>
> Signed-off-by: Martin Fernandez <martin.fernandez@eclypsium.com>

Seems reasonable, and doesn't grow the structure size. :)

Reviewed-by: Kees Cook <keescook@chromium.org>

--
Kees Cook