:
:foo = save_intr(); disable_intr(); .. restore_intr()
:has 4 extra memory accesses.

    UGh.  I put my foot in it.  Let me qualify my remark... memory
    accesses that cause an L1 cache miss are a problem.  Memory accesses
    to locations written to by other cpu's are a problem.   Memory accesses
    that are L1 cached are NOT a problem.

    Memory accesses to the first few words of the stack are almost guarenteed
    to be in the L1 cache.  Just don't worry about it.

                                                -Matt



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

Reply via email to