Re: [PATCH v3 07/11] tty: improve tty_insert_flip_char() fast path

2017-06-27 Thread Arnd Bergmann
On Mon, Jun 26, 2017 at 3:58 PM, Arnd Bergmann wrote: > * With asan-stack=1, gcc uses at least 64 bytes per such variable > (two times ASAN_RED_ZONE_SIZE), while clang only uses 16 bytes > (2 * (1< use any more space

Re: [PATCH v3 07/11] tty: improve tty_insert_flip_char() fast path

2017-06-27 Thread Arnd Bergmann
On Mon, Jun 26, 2017 at 3:58 PM, Arnd Bergmann wrote: > * With asan-stack=1, gcc uses at least 64 bytes per such variable > (two times ASAN_RED_ZONE_SIZE), while clang only uses 16 bytes > (2 * (1< use any more space than with kasan completely disabled > (no -fsanitize=kernel-address).

Re: [PATCH v3 07/11] tty: improve tty_insert_flip_char() fast path

2017-06-26 Thread Arnd Bergmann
On Fri, Jun 23, 2017 at 6:07 PM, Greg Kroah-Hartman wrote: > On Thu, Jun 22, 2017 at 07:13:51PM +0200, Arnd Bergmann wrote: >> kernelci.org reports a crazy stack usage for the VT code when CONFIG_KASAN >> is enabled: >> >> drivers/tty/vt/keyboard.c: In function

Re: [PATCH v3 07/11] tty: improve tty_insert_flip_char() fast path

2017-06-26 Thread Arnd Bergmann
On Fri, Jun 23, 2017 at 6:07 PM, Greg Kroah-Hartman wrote: > On Thu, Jun 22, 2017 at 07:13:51PM +0200, Arnd Bergmann wrote: >> kernelci.org reports a crazy stack usage for the VT code when CONFIG_KASAN >> is enabled: >> >> drivers/tty/vt/keyboard.c: In function 'kbd_keycode': >>

Re: [PATCH v3 07/11] tty: improve tty_insert_flip_char() fast path

2017-06-24 Thread kbuild test robot
Hi Arnd, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.12-rc6 next-20170623] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v3 07/11] tty: improve tty_insert_flip_char() fast path

2017-06-24 Thread kbuild test robot
Hi Arnd, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.12-rc6 next-20170623] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v3 07/11] tty: improve tty_insert_flip_char() fast path

2017-06-23 Thread Greg Kroah-Hartman
On Thu, Jun 22, 2017 at 07:13:51PM +0200, Arnd Bergmann wrote: > kernelci.org reports a crazy stack usage for the VT code when CONFIG_KASAN > is enabled: > > drivers/tty/vt/keyboard.c: In function 'kbd_keycode': > drivers/tty/vt/keyboard.c:1452:1: error: the frame size of 2240 bytes is > larger

Re: [PATCH v3 07/11] tty: improve tty_insert_flip_char() fast path

2017-06-23 Thread Greg Kroah-Hartman
On Thu, Jun 22, 2017 at 07:13:51PM +0200, Arnd Bergmann wrote: > kernelci.org reports a crazy stack usage for the VT code when CONFIG_KASAN > is enabled: > > drivers/tty/vt/keyboard.c: In function 'kbd_keycode': > drivers/tty/vt/keyboard.c:1452:1: error: the frame size of 2240 bytes is > larger

[PATCH v3 07/11] tty: improve tty_insert_flip_char() fast path

2017-06-22 Thread Arnd Bergmann
kernelci.org reports a crazy stack usage for the VT code when CONFIG_KASAN is enabled: drivers/tty/vt/keyboard.c: In function 'kbd_keycode': drivers/tty/vt/keyboard.c:1452:1: error: the frame size of 2240 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] The problem is that

[PATCH v3 07/11] tty: improve tty_insert_flip_char() fast path

2017-06-22 Thread Arnd Bergmann
kernelci.org reports a crazy stack usage for the VT code when CONFIG_KASAN is enabled: drivers/tty/vt/keyboard.c: In function 'kbd_keycode': drivers/tty/vt/keyboard.c:1452:1: error: the frame size of 2240 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] The problem is that