Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 21:02:41 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        freebsd-arch@freebsd.org
Subject:   uiomove TDF_DEADLKTREAT
Message-ID:  <16008.62273.582001.784737@grasshopper.cs.duke.edu>

next in thread | raw e-mail | index | archive | help

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










Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16008.62273.582001.784737>