Changeset 107

Timestamp:
Sep 24, 2010, 1:48:56 PM (14 years ago)
Author:
bouyer
Message:

Do not sleep in pmap_destroy, it may be called from mi_switch()
via pmap_activate().
Use mutex_tryenter to take the pmap queue lock and if this fail,
enqueue the pmap in a per-cpu list protected by splsched().
process this list when pmap_destroy can get the lock.

XXX implement a hook called from cpu_idle to process this list from
the idle loop ?

(No files)

Note: See TracChangeset for help on using the changeset viewer.