OK. :) So, I'd say don't do it this way. First, think about how it
should like on SMP, with 2, 4 or more processors. Hint: don't look at
the code, it's broken. On SMP you can't determine how much the machine
is idling since it appears to be never idle according to /proc/uptime.
-- Janos - Don't worry, my address is real. I'm just bored of spam.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/