Re: [PATCH 36/36] tty/vt: consolemap: walk the buffer only once in con_set_trans_old()

From: Ilpo Järvinen
Date: Tue Jun 07 2022 - 12:33:48 EST


On Tue, 7 Jun 2022, Jiri Slaby wrote:

> Fetch the user data one by one (by get_user()) and fill in the local
> buffer simultaneously. I.e. we no longer require to walk two buffers and
> save thus 256 B from stack (whole ubuf).
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
...for this and all patches that were not commented individually.

--
i.