Re: minor doc correction: Documentation/iostats.txt: bit-sizereference

From: Randy Dunlap
Date: Fri Mar 18 2011 - 18:09:24 EST


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 ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/