lkml.org 
[lkml]   [2018]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC] Make call_srcu() available during very early boot
Hello,

On Tue, Aug 14, 2018 at 10:06:18AM -0700, Paul E. McKenney wrote:
> > Is there a way we could make a union, or reuse one of the other fields,
> > as we know that synchronize_srcu() can't be used yet (and if it is,
> > either warn, or just make it a nop). And when we call srcu_init() and
> > remove the srcu_struct from the list, we can then initialize whatever
> > we used as the temporary boot up list field.
>
> I will take a look. If nothing else, I could union it with the
> struct work_struct, since it cannot be used that early anyway. ;-)
>
> Or I could just use the work_struct that is already inside the struct
> work_struct. Tejun, would you be OK with that?

Hmm... not super against it given how specialized the whole thing is
but maybe just making it a union is cleaner?

Thanks.

--
tejun

\
 
 \ /
  Last update: 2018-08-17 18:08    [W:0.371 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site