Re: [PATCH 0/4] Add specific vt input's key map

From: Alan Cox
Date: Wed Sep 12 2018 - 10:35:30 EST


On Tue, 11 Sep 2018 22:23:55 +0200
Remi Pommarel <repk@xxxxxxxxxxxx> wrote:

> This patchset adds a way to have a specific keyboard config (i.e.
> keycode to keysym map) for a vt attached input.

Who actually needs this given that you can't even render most
international symbols in text mode and X and friends already deal with
mapping of keyboards at this degree of fine-ness and even more so ?

> - kbd_detach_conf is a bit clumsy because it tries to copy a shared sparse
> pointer array without using GFP_ATOMIC.

It's not a performance critical path at least. You could look at
switching it to use RCU but firstly I think the question is whether
anyone cares enough to bother putting it in the upstream kernel ?

Alan