Messages in this thread | | | Date | Wed, 06 Mar 2002 17:13:20 -0800 | From | mingming cao <> | Subject | Re: [PATCH] Rework of /proc/stat |
| |
Alan Cox wrote:
>>I've made a new version of IO statistics in kstat that remove the >>previous limitations of MAX_MAJOR. I've made tests on my machine only, so could someone test it, please? >>Feedback welcome. >> > > Any reason for preferring this over the sard patches in -ac ? >
Basically, statistic data are moved from the global kstat structure to the request_queue structures, and it is allocated/freed when the request queue is initialized and freed. This way it is
1)self-controlled; 2)avoid the lookup step before the accounting, so it should be faster; 3)statistics implementation is not affected by the major/minor numbers; 4)able to gathering statistics for all disks while keep the memory needs minimized.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |