p_sched is unused.
td_sched is pointless, the corresponding memory is always next after the struct thread itself, except for thread0. The later is easily fixable, it only looks ugly. IMO it is better to remove the useless indirection.
 Differential  D6711  
Remove struct proc p_sched and struct thread td_sched. Authored by kib on Jun 3 2016, 9:55 PM. Tags None Referenced Files 
 
 
 
 
 
 
 
 Subscribers 
Details p_sched is unused. td_sched is pointless, the corresponding memory is always next after the struct thread itself, except for thread0. The later is easily fixable, it only looks ugly. IMO it is better to remove the useless indirection. 
Diff Detail 
 Event TimelineComment Actions Move the struct thread0_storage right after the struct thread.  |