commit | 575969a0dd3fe65c6556bcb8f87c42303326ea55 | [log] [tgz] |
---|---|---|
author | Vivek Goyal <vgoyal@redhat.com> | Thu May 19 15:38:29 2011 -0400 |
committer | Jens Axboe <jaxboe@fusionio.com> | Fri May 20 20:34:53 2011 +0200 |
tree | 0db18fa173b20076e03b5b9c4be4c31c56baa438 | |
parent | 5624a4e445e2ec27582984b068d7bf7f127cee10 [diff] |
blk-cgroup: Make 64bit per cpu stats safe on 32bit arch Some of the stats are 64bit and updation will be non atomic on 32bit architecture. Use sequence counters on 32bit arch to make reading of stats safe. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>