DragonFly kernel List (threaded) for 2008-01
DragonFly BSD
DragonFly kernel List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 13 Jan 2008 11:44:10 -0800 (PST)

    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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]