Re: [PATCH v2 4/6] sched_domain: Annotate RCU pointers properly

2019-02-25 Thread Paul E. McKenney
On Sat, Feb 23, 2019 at 01:34:32AM -0500, Joel Fernandes (Google) wrote: > The scheduler uses RCU API in various places to access sched_domain > pointers. These cause sparse errors as below. > > Many new errors show up because of an annotation check I added to > rcu_assign_pointer(). Let us

[PATCH v2 4/6] sched_domain: Annotate RCU pointers properly

2019-02-22 Thread Joel Fernandes (Google)
The scheduler uses RCU API in various places to access sched_domain pointers. These cause sparse errors as below. Many new errors show up because of an annotation check I added to rcu_assign_pointer(). Let us annotate the pointers correctly which also will help sparse catch any potential future