Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-04 Thread Måns Rullgård
Nicolas Pitre writes: > On Tue, 3 Nov 2015, Arnd Bergmann wrote: > >> On Tuesday 03 November 2015 13:32:17 kbuild test robot wrote: >> > >> >net/can/bcm.c: In function 'bcm_proc_show': >> > >> net/can/bcm.c:223:1: warning: the frame size of 1156 bytes is larger >> > >> than 1024 bytes

Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-04 Thread Nicolas Pitre
On Tue, 3 Nov 2015, Arnd Bergmann wrote: > On Tuesday 03 November 2015 13:32:17 kbuild test robot wrote: > > > >net/can/bcm.c: In function 'bcm_proc_show': > > >> net/can/bcm.c:223:1: warning: the frame size of 1156 bytes is larger > > >> than 1024 bytes [-Wframe-larger-than=] > > } >

Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-04 Thread Nicolas Pitre
On Tue, 3 Nov 2015, Arnd Bergmann wrote: > On Tuesday 03 November 2015 13:32:17 kbuild test robot wrote: > > > >net/can/bcm.c: In function 'bcm_proc_show': > > >> net/can/bcm.c:223:1: warning: the frame size of 1156 bytes is larger > > >> than 1024 bytes [-Wframe-larger-than=] > > } >

Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-04 Thread Måns Rullgård
Nicolas Pitre writes: > On Tue, 3 Nov 2015, Arnd Bergmann wrote: > >> On Tuesday 03 November 2015 13:32:17 kbuild test robot wrote: >> > >> >net/can/bcm.c: In function 'bcm_proc_show': >> > >> net/can/bcm.c:223:1: warning: the frame size of 1156 bytes is larger >>

Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-03 Thread Arnd Bergmann
On Tuesday 03 November 2015 13:32:17 kbuild test robot wrote: > >net/can/bcm.c: In function 'bcm_proc_show': > >> net/can/bcm.c:223:1: warning: the frame size of 1156 bytes is larger than > >> 1024 bytes [-Wframe-larger-than=] > } Interesting, that is a lot of stack for a function that

Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-03 Thread Arnd Bergmann
On Tuesday 03 November 2015 13:32:17 kbuild test robot wrote: > >net/can/bcm.c: In function 'bcm_proc_show': > >> net/can/bcm.c:223:1: warning: the frame size of 1156 bytes is larger than > >> 1024 bytes [-Wframe-larger-than=] > } Interesting, that is a lot of stack for a function that

Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-02 Thread kbuild test robot
Hi Nicolas, [auto build test WARNING on asm-generic/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Nicolas-Pitre/div64-h-optimize-do_div-for-power-of-two-constant-divisors/20151103-065348 config:

[PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-02 Thread Nicolas Pitre
64-by-32-bit divisions are prominent in the kernel, even on 32-bit machines. Luckily, many of them use a constant divisor that allows for a much faster multiplication by the divisor's reciprocal. The compiler already performs this optimization when compiling a 32-by-32 division with a constant

Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-02 Thread kbuild test robot
Hi Nicolas, [auto build test WARNING on asm-generic/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Nicolas-Pitre/div64-h-optimize-do_div-for-power-of-two-constant-divisors/20151103-065348 config:

[PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-02 Thread Nicolas Pitre
64-by-32-bit divisions are prominent in the kernel, even on 32-bit machines. Luckily, many of them use a constant divisor that allows for a much faster multiplication by the divisor's reciprocal. The compiler already performs this optimization when compiling a 32-by-32 division with a constant