uiomove TDF_DEADLKTREAT

Andrew Gallatin gallatin at cs.duke.edu
Mon Mar 31 18:02:48 PST 2003


While glancing through some other code, I noticed that each time
uiomove is called, the sched_lock spinlock is aquired/released twice
to set and then clear some state in td_flags (TDF_DEADLOCKTREAT).


Are these locks/unlocks in the critical path required for non-vfs
callers of uiomove()?  (ie, sosend()/soreceive()?)

Drew










More information about the freebsd-arch mailing list