Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-07-03 Thread Geert Uytterhoeven
Hi Kees, On Mon, Jul 2, 2018 at 8:44 PM Kees Cook wrote: > On Sat, Jun 30, 2018 at 1:43 PM, Christoph von Recklinghausen > wrote: > > The last issue I'm chasing is build failures on ARCH=m68k. The error is > > atomic_read and friends needed by the jump label code not being found. > > The config

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-07-02 Thread Christoph von Recklinghausen
On 07/02/2018 04:54 PM, Kees Cook wrote: > On Mon, Jul 2, 2018 at 11:55 AM, Christoph von Recklinghausen > wrote: >> On 07/02/2018 02:43 PM, Kees Cook wrote: >>> On Sat, Jun 30, 2018 at 1:43 PM, Christoph von Recklinghausen >>> wrote: The last issue I'm chasing is build failures on ARCH=m68k

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-07-02 Thread Kees Cook
On Mon, Jul 2, 2018 at 11:55 AM, Christoph von Recklinghausen wrote: > On 07/02/2018 02:43 PM, Kees Cook wrote: >> On Sat, Jun 30, 2018 at 1:43 PM, Christoph von Recklinghausen >> wrote: >>> The last issue I'm chasing is build failures on ARCH=m68k. The error is >>> atomic_read and friends needed

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-07-02 Thread Christoph von Recklinghausen
On 07/02/2018 02:43 PM, Kees Cook wrote: > On Sat, Jun 30, 2018 at 1:43 PM, Christoph von Recklinghausen > wrote: >> The last issue I'm chasing is build failures on ARCH=m68k. The error is >> atomic_read and friends needed by the jump label code not being found. >> The config has CONFIG_BROKEN_ON_

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-07-02 Thread Kees Cook
On Sat, Jun 30, 2018 at 1:43 PM, Christoph von Recklinghausen wrote: > The last issue I'm chasing is build failures on ARCH=m68k. The error is > atomic_read and friends needed by the jump label code not being found. > The config has CONFIG_BROKEN_ON_SMP=y, so the jump label calls I added > will on

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-30 Thread Christoph von Recklinghausen
On 06/30/2018 04:11 PM, Kees Cook wrote: > On Wed, Jun 27, 2018 at 5:07 AM, Chris von Recklinghausen > wrote: >> Enabling HARDENED_USER_COPY causes measurable regressions in > nit: HARDENED_USERCOPY > >> networking performance, up to 8% under UDP flood. >> >> I'm running an a small packet UDP flo

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-30 Thread Kees Cook
On Wed, Jun 27, 2018 at 5:07 AM, Chris von Recklinghausen wrote: > Enabling HARDENED_USER_COPY causes measurable regressions in nit: HARDENED_USERCOPY > networking performance, up to 8% under UDP flood. > > I'm running an a small packet UDP flood using pktgen vs. a host b2b > connected. On the

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-29 Thread kbuild test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc2 next-20180629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/co

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-29 Thread kbuild test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc2 next-20180629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/co

[PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-27 Thread Chris von Recklinghausen
Enabling HARDENED_USER_COPY causes measurable regressions in networking performance, up to 8% under UDP flood. I'm running an a small packet UDP flood using pktgen vs. a host b2b connected. On the receiver side the UDP packets are processed by a simple user space process that just reads and drops