On Mon, Feb 08, 2010 at 11:40:50AM +0900, Masao Uebayashi wrote:
> The update process is very rare, and expected.  Administrators carefully
> connects a device when the machine is not running some important task.  So
> what I need here is to protect such a data adding no run-time performance
> loss.
> 
> Do we have any standard way to do this?

I don't think there is a standard way.

Does the tc_detach() approach work for the vm_physseg list?

BTW, a similar problem is to make sure all threads have exited a
device_t/softc before detaching it, with the least changes to the code
and the least expensive synchronization mechanism.

Dave

-- 
David Young             OJC Technologies
dyo...@ojctech.com      Urbana, IL * (217) 278-3933

Reply via email to