:>    p.s.  I'm pretty sure that the lock prefix costs nothing on a UP system,
:>    and probably wouldn't be noticed on an SMP system either because the
:>    write-allocation overhead is already pretty bad.  But I haven't tested
:>    it.
:
:it's actually quite expensive in terms of bus bandwidth because a lot of
:things have to be synchronized and stalled...
:
:--
:Poul-Henning Kamp             FreeBSD coreteam member
:[EMAIL PROTECTED]               "Real hackers run -current on their laptop."
:FreeBSD -- It will take a long time before progress goes too far!

    It depends on which L1/L2 cache model Intel is using.  I wouldn't expect
    it to be much more expensive then a standard read-modify-write, but I
    will run some tests on an SMP box between two user processes to get some
    hard numbers.

                                        -Matt
                                        Matthew Dillon 
                                        <[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to