Re: [PATCH] Reading deterministic cache parameters and exporting it in /sysfs

2005-03-18 Thread Dave Jones
On Fri, Mar 18, 2005 at 11:18:47AM -0800, Venkatesh Pallipadi wrote: > > Here is the updated patch. > > I have seperated out the changes related to > (1) using new method to determine cache size in existing /proc/cpuinfo and > kernel boot messages (All but last hunk below) > (2) code

Re: [PATCH] Reading deterministic cache parameters and exporting it in /sysfs

2005-03-18 Thread Venkatesh Pallipadi
Here is the updated patch. I have seperated out the changes related to (1) using new method to determine cache size in existing /proc/cpuinfo and kernel boot messages (All but last hunk below) (2) code to look at sharedness of the caches and store these details for future uses inside ke

Re: [PATCH] Reading deterministic cache parameters and exporting it in /sysfs

2005-03-16 Thread Daniel Egger
On 16.03.2005, at 00:36, Dave Jones wrote: I really want to live to see the death of /proc/cpuinfo one day, Please don't. cpuinfo contains a vast amount of useful information for a quick inspection which cannot be determined usefully from userspace (think embedded devices) for very little code. Ser

Re: [PATCH] Reading deterministic cache parameters and exporting it in /sysfs

2005-03-15 Thread Andrew Morton
Venkatesh Pallipadi <[EMAIL PROTECTED]> wrote: > > The attached patch adds support for using cpuid(4) instead of cpuid(2), to > get > CPU cache information in a deterministic way for Intel CPUs, whenever > supported. - find_num_cache_leaves can be marked __init - Please look for other __ini

Re: [PATCH] Reading deterministic cache parameters and exporting it in /sysfs

2005-03-15 Thread Venkatesh Pallipadi
On Tue, Mar 15, 2005 at 06:36:20PM -0500, Dave Jones wrote: > On Tue, Mar 15, 2005 at 03:24:48PM -0800, Venkatesh Pallipadi wrote: > > > > The attached patch adds support for using cpuid(4) instead of cpuid(2), to > get > > CPU cache information in a deterministic way for Intel CPUs, wheneve

Re: [PATCH] Reading deterministic cache parameters and exporting it in /sysfs

2005-03-15 Thread Dave Jones
On Tue, Mar 15, 2005 at 03:24:48PM -0800, Venkatesh Pallipadi wrote: > > The attached patch adds support for using cpuid(4) instead of cpuid(2), to > get > CPU cache information in a deterministic way for Intel CPUs, whenever > supported. The details of cpuid(4) can be found here > > I

[PATCH] Reading deterministic cache parameters and exporting it in /sysfs

2005-03-15 Thread Venkatesh Pallipadi
The attached patch adds support for using cpuid(4) instead of cpuid(2), to get CPU cache information in a deterministic way for Intel CPUs, whenever supported. The details of cpuid(4) can be found here IA-32 Intel Architecture Software Developer's Manual (vol 2a) (http://developer.intel.com/de