lkml.org 
[lkml]   [2011]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 0/2 v1.0]sched: updating /proc/schedstat

>>
>> This patch set removes only those fields which are currently not in use.
>> If you observe the fields of /proc/schedstat the following fields are not
>> being updated.
>
> Ah... I misunderstood the meaning of `unused' and complained based on too
> old kernel's source. Sorry.>

> I confirmed that these fields are actually not treated by upstream kernel
> at all. So I think it's OK if any userland tools are updated synchronized
> with this change.

Thanks for verifying it.

Does its benefit is more than its cost? In my
> understanding, its benefit is improving readability and reducing some memory
> footprint, and its cost is changing all userspace tools referring /proc/schedstat.

In my opinion we should go ahead with updating /proc/schedstat.
As I mentioned earlier, we can have an updated script for
http://eaglet.rain.com/rick/linux/schedstat/

>
> # Unfortunately I don't know how much it costs.

The changes required in the userspace would be very small.
Its just a matter of re-ordering the values. I also can't think
of much complicated scenario than this.

-Ciju
>


\
 
 \ /
  Last update: 2011-01-19 16:59    [W:0.053 / U:1.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site