Re: [tip: sched/urgent] sched: Fix RANDSTRUCT build fail

2020-06-22 Thread Guenter Roeck
On 6/20/20 9:32 AM, Linus Torvalds wrote: > On Fri, Jun 19, 2020 at 8:14 PM Kees Cook wrote: >> >> On Wed, Jun 10, 2020 at 10:34:16AM -, tip-bot2 for Peter Zijlstra wrote: >>> The following commit has been merged into the sched/urgent branch of tip: >>> >>> Commit-ID: bfb9fbe0f7e70ec5c8e51

Re: [tip: sched/urgent] sched: Fix RANDSTRUCT build fail

2020-06-22 Thread Peter Zijlstra
On Mon, Jun 22, 2020 at 10:10:27AM +0200, Peter Zijlstra wrote: > On Sat, Jun 20, 2020 at 09:32:26AM -0700, Linus Torvalds wrote: > > Peter/Ingo? > > I have the below (and a whole fair number of even more patches), but > I've been struggling with a possibly related NULL pointer deref, which > is w

Re: [tip: sched/urgent] sched: Fix RANDSTRUCT build fail

2020-06-22 Thread Peter Zijlstra
On Mon, Jun 22, 2020 at 10:10:27AM +0200, Peter Zijlstra wrote: > Instead of relying on BUG_ON() to ensure the various data structures > line up, use a bunch of horrible unions. > struct irq_work { > + union { > + struct __call_single_node node; > + struct { > +

Re: [tip: sched/urgent] sched: Fix RANDSTRUCT build fail

2020-06-22 Thread Peter Zijlstra
On Sat, Jun 20, 2020 at 09:32:26AM -0700, Linus Torvalds wrote: > Peter/Ingo? I have the below (and a whole fair number of even more patches), but I've been struggling with a possibly related NULL pointer deref, which is why I've been holding off on landing this. It looks like we finally have a h

Re: [tip: sched/urgent] sched: Fix RANDSTRUCT build fail

2020-06-20 Thread Linus Torvalds
On Fri, Jun 19, 2020 at 8:14 PM Kees Cook wrote: > > On Wed, Jun 10, 2020 at 10:34:16AM -, tip-bot2 for Peter Zijlstra wrote: > > The following commit has been merged into the sched/urgent branch of tip: > > > > Commit-ID: bfb9fbe0f7e70ec5c8e51ee55b6968d4dff14456 > > Gitweb: > > ht

Re: [tip: sched/urgent] sched: Fix RANDSTRUCT build fail

2020-06-19 Thread Kees Cook
On Wed, Jun 10, 2020 at 10:34:16AM -, tip-bot2 for Peter Zijlstra wrote: > The following commit has been merged into the sched/urgent branch of tip: > > Commit-ID: bfb9fbe0f7e70ec5c8e51ee55b6968d4dff14456 > Gitweb: > https://git.kernel.org/tip/bfb9fbe0f7e70ec5c8e51ee55b6968d4dff144

[tip: sched/urgent] sched: Fix RANDSTRUCT build fail

2020-06-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: bfb9fbe0f7e70ec5c8e51ee55b6968d4dff14456 Gitweb: https://git.kernel.org/tip/bfb9fbe0f7e70ec5c8e51ee55b6968d4dff14456 Author:Peter Zijlstra AuthorDate:Wed, 10 Jun 2020 12:14:09 +02:00 Commi