]> git.karo-electronics.de Git - linux-beck.git/commit
sched: RT-balance, only adjust overload state when changing
authorGregory Haskins <ghaskins@novell.com>
Fri, 25 Jan 2008 20:08:23 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:23 +0000 (21:08 +0100)
commitcdc8eb984ce47a7c90a049f45229f7b0d59ba781
treecebcaf9d854b843a5381cae18cffa6fd836a20ab
parentcb46984504048db946cd551c261df4e70d59a8ea
sched: RT-balance, only adjust overload state when changing

The overload set/clears were originally idempotent when this logic was first
implemented.  But that is no longer true due to the addition of the atomic
counter and this logic was never updated to work properly with that change.
So only adjust the overload state if it is actually changing to avoid
getting out of sync.

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_rt.c