| Date | Mon, 26 Apr 2010 17:00:47 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH 5/7] sched: eliminate the ts->idle_lastupdate field |
| |
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@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@linux.intel.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
-- All rights reversed
|