Re: 2.5.38-mm3

William Lee Irwin III (wli@holomorphy.com)
Fri, 27 Sep 2002 21:36:55 -0700


> On Fri, 27 Sep 2002, Dipankar Sarma wrote:
>> The counts are off by one.
>> With a UP kernel, I see that fget() cost is negligible.
>> So it is most likely the atomic operations for rwlock acquisition/release
>> in fget() that is adding to its cost. Unless of course my sampling
>> is too less.

On Sat, Sep 28, 2002 at 12:35:30AM -0400, Zwane Mwaikambo wrote:
> Mine is a UP box not an SMP kernel, although preempt is enabled;
> 0xc013d370 <fget>: push %ebx
> 0xc013d371 <fget+1>: mov %eax,%ecx
> 0xc013d373 <fget+3>: mov $0xffffe000,%edx
> 0xc013d378 <fget+8>: and %esp,%edx
> 0xc013d37a <fget+10>: incl 0x4(%edx)

Do you have instruction-level profiles to show where the cost is on UP?

Thanks,
Bill
-
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/