sched/fair: Refactor packing eligible test
The purpose of is_packing_eligible() test is to check if we should throwaway the active cpu and use the idle CPU. Refactor this function such a way that, the throw away CPU (i.e active_cpu) is marked -1. The follow up patch use this refactoring to add more checks in this function. Change-Id: I0ae829dcc9b62da3ae69796b28abebd950b34462 Signed-off-by:Pavankumar Kondeti <pkondeti@codeaurora.org> [adharmap: made adjust cpus for packing inline] Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please register or sign in to comment