aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2022-06-07 12:49:46 +0200
committerGreg Kroah-Hartman <[email protected]>2022-06-10 13:37:03 +0200
commit484923ad3ad1604efa666502ac507b1e3ee30e3b (patch)
tree1b6abb9562adf2d05a1a7b1b0a20826394fb31c5 /include/linux/timerqueue.h
parentfc440658346e1bff9b6661467f55856d1df1cdb2 (diff)
tty/vt: consolemap: walk the buffer only once in con_set_trans_old()
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). Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions