Please sign in to comment.
Fix min_load to pick actual min load across all objects
find_overloaded_objs() calls gather_load_stats() to get stats across all objects to help migrate overloaded IRQ's. There is a bug in gather_load_stats() to pick min_load across all objects when the first object's load is 0. Eg with 2 objects: obj1->load = 0 and obj2->load = 5000 During first iteration, info->min_load will be 0. However during second iteration, info->min_load will be 5000. This flaw in the logic doesn't allow IRQ's to be migrated as it ends up picking the overloaded core as the one with min load. Reviewed-by: Alakesh Haloi <email@example.com> Signed-off-by: Vallish Vaidyeshwara <firstname.lastname@example.org> Signed-off-by: Neil Horman <email@example.com>
- Loading branch information...