RE: Strange load spikes on 2.4.19 kernel

From: Joseph D. Wagner (wagnerjd@prodigy.net)
Date: Sun Oct 13 2002 - 03:16:30 EST


>>> But there is no fundamental reason for that, we just haven't
>>> gotten around to threading that bit yet.
   
>> Oh yes there is. What if an allocation of blocks and/or
>> inodes is preempted? Another thread could attempt to
>> allocate the same set of blocks and/or inodes.
   
> That's why we protect the allocation with SMP locking
> primitives which under Linux prevent preemption.

"SMP locking primitives"? Tell me what that is again? Oh yeah! That's
when the kernel basically gives SMP a timeout and behaves as if there
was only one processor.

So in effect, I was right. File processes really do use one and only
one processor.

> This isn't rocket science....

I agree. I totally agree.

-
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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:45 EST