Re: [PATCH] sched: fix build with GCC_PLUGIN_RANDSTRUCT

2020-06-27 Thread Mike Rapoport
On Sat, Jun 27, 2020 at 06:12:14PM -0400, Steven Rostedt wrote: > On Sat, 20 Jun 2020 13:41:36 +0300 > Mike Rapoport wrote: > > > From: Mike Rapoport > > > > Since the commit a148866489fb ("sched: Replace rq::wake_list") > > task_struct and CSD_TYPE_TTWU objects can be on the same queue and thi

Re: [PATCH] sched: fix build with GCC_PLUGIN_RANDSTRUCT

2020-06-27 Thread Steven Rostedt
On Sat, 20 Jun 2020 13:41:36 +0300 Mike Rapoport wrote: > From: Mike Rapoport > > Since the commit a148866489fb ("sched: Replace rq::wake_list") > task_struct and CSD_TYPE_TTWU objects can be on the same queue and this > requires that have "layout similar enough". > > This assumption is broken

[RESEND PATCH] sched: fix build with GCC_PLUGIN_RANDSTRUCT

2020-06-27 Thread Mike Rapoport
From: Mike Rapoport Since the commit a148866489fb ("sched: Replace rq::wake_list") task_struct and CSD_TYPE_TTWU objects can be on the same queue and this requires that have "layout similar enough". This assumption is broken when CONFIG_GCC_PLUGIN_RANDSTRUCT is enabled: CHK include/genera

Re: [PATCH] sched: fix build with GCC_PLUGIN_RANDSTRUCT

2020-06-24 Thread Mike Rapoport
ping? On Sat, Jun 20, 2020 at 01:41:36PM +0300, Mike Rapoport wrote: > From: Mike Rapoport > > Since the commit a148866489fb ("sched: Replace rq::wake_list") > task_struct and CSD_TYPE_TTWU objects can be on the same queue and this > requires that have "layout similar enough". > > This assumpti

[PATCH] sched: fix build with GCC_PLUGIN_RANDSTRUCT

2020-06-20 Thread Mike Rapoport
From: Mike Rapoport Since the commit a148866489fb ("sched: Replace rq::wake_list") task_struct and CSD_TYPE_TTWU objects can be on the same queue and this requires that have "layout similar enough". This assumption is broken when CONFIG_GCC_PLUGIN_RANDSTRUCT is enabled: CHK include/genera