1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/i386
John Baldwin f25fcd64b8 Change the way we ensure td_ucred is NULL if DIAGNOSTIC is defined.
Instead of caching the ucred reference, just go ahead and eat the
decerement and increment of the refcount.  Now that Giant is pushed down
into crfree(), we no longer have to get Giant in the common case.  In the
case when we are actually free'ing the ucred, we would normally free it on
the next kernel entry, so the cost there is not new, just in a different
place.  This also removse td_cache_ucred from struct thread.  This is
still only done #ifdef DIAGNOSTIC.

Tested on:	i386, alpha
2002-03-20 21:09:09 +00:00
..
acpica Fix typo in function name. 2002-01-10 03:26:46 +00:00
apm Remove __P. 2002-03-20 05:48:58 +00:00
bios Remove __P. 2002-03-20 05:48:58 +00:00
compile
conf Add a USB comm driver. 2002-03-18 18:23:42 +00:00
i386 Change the way we ensure td_ucred is NULL if DIAGNOSTIC is defined. 2002-03-20 21:09:09 +00:00
ibcs2 Remove __P. 2002-03-20 05:48:58 +00:00
include Fix minor style(9) violation in de__Ping 2002-03-20 19:04:56 +00:00
isa Remove __P. 2002-03-20 07:51:46 +00:00
linux Remove __P. 2002-03-20 07:51:46 +00:00
pci Don't call the bios if the interrupt appaers to be already routed. Some 2002-03-16 23:02:41 +00:00
svr4 Remove __P. 2002-03-20 07:51:46 +00:00
Makefile Update pathnames for creation of tags file. 2001-12-05 01:23:21 +00:00