Re: [RFC PATCH 4/4] sched:Implement set_gang_buddy

From: Nikunj A Dadhania
Date: Sun Dec 25 2011 - 21:34:48 EST

On Mon, 19 Dec 2011 16:51:48 +0100, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Mon, 2011-12-19 at 14:05 +0530, Nikunj A. Dadhania wrote:
> > + /*
> > + * Gang buddy, lets be unfair here
> > + */
> And why would you think that's an option?
Long answer, my previous experiments with set_next_buddy showed that the
gang groups were getting lesser cpu bandwidth than the baseline. Then I
thought of having a new helper(set_gang_buddy) that would give better
chance to gang sched tasks. This will only be affecting the following
cpus. In the cpu, which has gang_leader set, the code is not giving
undue advantage to the gang task.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at