lkml.org 
[lkml]   [2010]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2010-04-26 23:03    [W:4.502 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site