From: Rik van Riel on 26 Apr 2010 17:10 On 04/18/2010 03:02 PM, Arjan van de Ven wrote: > From 526a9f347d5a953f37b67b4b2afb39d7b4d77a92 Mon Sep 17 00:00:00 2001 > From: Arjan van de Ven<arjan(a)linux.intel.com> > Date: Sun, 18 Apr 2010 10:49:30 -0700 > Subject: [PATCH 5/7] sched: eliminate the ts->idle_lastupdate field > > Now that the only user of ts->idle_lastupdate is update_ts_time_stats(), > the entire field can be eliminated. > > In update_ts_time_stats(), idle_lastupdate is first set to "now", > and a few lines later, the only user is an if() statement that > assigns a variable either to "now" or to ts->idle_lastupdate, > which has the value of "now" at that point. > > Signed-off-by: Arjan van de Ven<arjan(a)linux.intel.com> Reviewed-by: Rik van Riel <riel(a)redhat.com> -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: sched: introduce get_cpu_iowait_time_us() Next: [PATCH 0/4] Add a Coccinelle front-end script |