Messages in this thread | | | Subject | Re: [PATCH] sched: Make nr_uninterruptible count a signed value | From | Peter Zijlstra <> | Date | Tue, 08 May 2012 23:56:32 +0200 |
| |
On Tue, 2012-05-08 at 14:39 -0700, Diwakar Tundlam wrote: > Declare nr_uninterruptible as a signed long to avoid garbage values > seen in cat /proc/sched_debug when a task is moved to the run queue of > a newly online core. This is part of a global counter where only the > total sum over all CPUs matters.
Its late here, but do explain how any of this makes any difference what so ever? Since all we do with that field is add/sub the whole sign issue shouldn't matter one way or the other.
| |