Re: should we use atomic instructions to manipulate vmstats.v_wire_count?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernel@...>
Date: Sunday, January 13, 2008 - 3:44 pm

None of the VM system is MP safe.

    kmalloc() and kfree() are MP safe, as is the OBJCACHE code
    (kern/kern_objcache.c).

    zalloc and friends are deprecated.  Only a few subsystems still use
    it and none of them are MP safe.  Most can easily be converted to
    using the objcache though the pmap code would probably need special
    attention.

						-Matt
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: should we use atomic instructions to manipulate vmstats...., Matthew Dillon, (Sun Jan 13, 3:44 pm)