Re: 2.5.38-mm3

William Lee Irwin III
2002-09-28T04:36:55Z

> 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