lkml.org 
[lkml]   [2011]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: minor doc correction: Documentation/iostats.txt: bit-size reference
On Fri, 18 Mar 2011 14:41:28 -0700 Linda Walsh wrote:

>
>
> Documentation/iostats.txt describes fields in /proc/diskstats as
> 32-bit unsigned values that can wrap.
>
> On a 64-bit system, it appears they are 64-bit unsigned values.
>
> Should 'iostats.txt' describe fields as "unsigned, native-word-sized
> values" or is my 64-bit system not behaving according to "spec"? ;-)

They are "unsigned long", so yes, that is basically your native-word-sized
values. That text file was written in 2003 or earlier, so things have changed
a bit (or several bits) since then.

thanks.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***


\
 
 \ /
  Last update: 2011-03-18 23:11    [W:0.038 / U:2.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site