freebsd-dev/sys
David Xu 1ecb38a365 Introduce two flags to control upcall behaviour:
o KMF_NOUPCALL
	Ask kse_release to not return to userland upcall entry, but instead
	direct returns to userland by using current thread's stack and return
	address on stack. This flags is intended to be used by UTS in critical
	region to wait another UTS thread to leave critical region, by using
	kse_release with this flag to avoid spinnng and burning CPU. Also this
	flags can be used by UTS to poll completed context when there is nothing
	to do in userland and needn't restart from its entry like normal upcall.

o KMF_NOCOMPLETED
	Ask kernel to not bring completed thread contexts back to userland when
	doing upcall, this flags is intend to be used with above flag when an
	upcall thread is in critical region and can not process completed contexts
	at that time.

Tested by: deischen
2003-04-21 07:27:59 +00:00
..
alpha Add device driver support for the ASIX Electronics AX88172 USB 2.0 2003-04-20 19:05:33 +00:00
amd64 Add device driver support for the ASIX Electronics AX88172 USB 2.0 2003-04-20 19:05:33 +00:00
arm - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
boot Cut&Paste considered far too easy: 2003-04-16 21:09:41 +00:00
cam Remove the unused ioctl routine. 2003-04-12 08:44:54 +00:00
coda - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
compat The proc lock is sufficient to test p_state against PRS_ZOMBIE, so don't 2003-04-17 22:09:08 +00:00
conf Add device driver support for the ASIX Electronics AX88172 USB 2.0 2003-04-20 19:05:33 +00:00
contrib Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
crypto
ddb Move the _oncpu entry from the KSE to the thread. 2003-04-10 17:35:44 +00:00
dev Add eMicro codec ids. 2003-04-21 04:48:40 +00:00
fs - Use a local variable to close a minor race when determining if the wmesg 2003-04-17 22:16:58 +00:00
geom Make more of the "hotspot" stuff generic: 2003-04-19 10:14:39 +00:00
gnu This commit was generated by cvs2svn to compensate for changes in r113778, 2003-04-21 02:27:52 +00:00
i4b - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
i386 Add device driver support for the ASIX Electronics AX88172 USB 2.0 2003-04-20 19:05:33 +00:00
ia64 Use the proc lock to protect p_singlethread and a P_WEXIT test. This 2003-04-18 20:20:00 +00:00
isa Add a module version number. 2003-04-15 04:19:49 +00:00
isofs/cd9660 Rename vfs_stdsync function to vfs_stdnosync which matches more 2003-03-11 22:15:10 +00:00
kern Introduce two flags to control upcall behaviour: 2003-04-21 07:27:59 +00:00
libkern Further GC of M_STRING, missed previously. 2003-02-26 01:00:29 +00:00
modules Add device driver support for the ASIX Electronics AX88172 USB 2.0 2003-04-20 19:05:33 +00:00
net Move MAC label storage for mbufs into m_tags from the m_pkthdr structure, 2003-04-14 20:39:06 +00:00
netatalk - Use if_broadcastaddr from struct ifnet rather than relying on 2003-03-21 17:53:16 +00:00
netatm Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
netgraph Remove extraneous reference to intrq.h, which broke the kernel build. 2003-04-21 03:17:27 +00:00
netinet style.Makefile(5) 2003-04-20 18:38:59 +00:00
netinet6 fixed a mbuf leak when an IP packet from ESP tunnel is redirected 2003-03-29 08:31:28 +00:00
netipsec Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netipx Remove unimplemented IP-in-IPX encapsulation support (options IPTUNNEL). 2003-03-08 06:58:22 +00:00
netkey Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netnatm Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netncp - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
netsmb - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
nfs Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfsclient Revert change 1.201 (removing mapping of VAPPEND to VWRITE). 2003-03-31 23:26:10 +00:00
nfsserver - Lock bufs before inspecting their flags. 2003-03-13 07:05:22 +00:00
opencrypto Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
pc98 Add device driver support for the ASIX Electronics AX88172 USB 2.0 2003-04-20 19:05:33 +00:00
pccard Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
pci Add support for Planex FNW-3602-T(CardBus 100M/10M). 2003-04-18 15:42:25 +00:00
posix4 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
powerpc Fix compile warning - proc should have been thread. 2003-04-19 02:18:51 +00:00
rpc
security Rather than check for M_PKTHDR and conditionally perform access control, 2003-04-18 20:22:23 +00:00
sparc64 Add device driver support for the ASIX Electronics AX88172 USB 2.0 2003-04-20 19:05:33 +00:00
sys Introduce two flags to control upcall behaviour: 2003-04-21 07:27:59 +00:00
tools MFp4: 2003-03-28 06:43:50 +00:00
ufs - Use the sched_nice() api instead of setting the nice value directly. 2003-04-12 01:05:19 +00:00
vm - Assert that the vm_object is locked in vm_object_clear_flag(), 2003-04-21 06:33:52 +00:00
Makefile