[RFC 28/60] cosched: Add is_sd_se() to distinguish SD-SEs from TG-SEs

2018-09-07 Thread Jan H . Schönherr
Add a function is_sd_se() to easily distinguish SD-SEs from a TG-SEs. Internally, we distinguish tasks, SD-SEs, and TG-SEs based on the my_q field. For tasks it is empty, for TG-SEs it is a pointer, and for SD-SEs it is a magic value. Also modify propagate_entity_load_avg() to not page fault on

[RFC 28/60] cosched: Add is_sd_se() to distinguish SD-SEs from TG-SEs

2018-09-07 Thread Jan H . Schönherr
Add a function is_sd_se() to easily distinguish SD-SEs from a TG-SEs. Internally, we distinguish tasks, SD-SEs, and TG-SEs based on the my_q field. For tasks it is empty, for TG-SEs it is a pointer, and for SD-SEs it is a magic value. Also modify propagate_entity_load_avg() to not page fault on