1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys
Konstantin Belousov 1565bf54af Lock the vnode around the call to VOP_GETATTR. Move the locked code
and vn_fullpath (that call malloc(..., M_WAITOK)) from under the
vm object lock, since sleep is not allowed while holding the mutex.

Being there, wrap VOP_GETATTR call with conditional Giant aquire.
Currently this is (almost) noop because pseudofs is Giant-locked.

Tested by:	kris
Approved by:	pjd (mentor)
MFC after:	2 weeks
2006-08-08 12:29:26 +00:00
..
amd64 Pass VM_PROT_EXECUTE to vm_fault() instead of VM_PROT_READ if the page 2006-08-08 04:01:29 +00:00
arm Remove a bogus i = 0. 2006-08-08 01:18:18 +00:00
boot Commit the results of the typo hunt by Darren Pilgrim. 2006-08-04 07:56:35 +00:00
bsm
cam Drop Giant before returning in error path, thus eliminates 2006-07-14 13:58:32 +00:00
coda
compat Lock the vnode around the call to VOP_GETATTR. Move the locked code 2006-08-08 12:29:26 +00:00
conf Move definition of UNIX domain socket protosw and domain entries from 2006-08-07 12:02:43 +00:00
contrib Import from OpenBSD 1.168, dhartmei: 2006-07-21 09:48:13 +00:00
crypto Remove trailing spaces. 2006-07-28 14:48:30 +00:00
ddb Fix two nits in the ps header that offset each other making them largely 2006-08-01 22:30:55 +00:00
dev Remove the global dock variable. Each dock device should be able to 2006-08-08 01:33:03 +00:00
fs Commit the results of the typo hunt by Darren Pilgrim. 2006-08-04 07:56:35 +00:00
gdb
geom Commit the results of the typo hunt by Darren Pilgrim. 2006-08-04 07:56:35 +00:00
gnu Add snd_emu10kx driver for Creative SoundBlaster Live! and Audigy series 2006-07-15 19:36:28 +00:00
i4b Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of 2006-07-09 21:16:06 +00:00
i386 If a beep was enabled, turn it off 3 seconds after resume. 2006-08-08 01:30:54 +00:00
ia64 Complete the transition from pmap_page_protect() to pmap_remove_write(). 2006-08-01 19:06:06 +00:00
isa
isofs/cd9660
kern Reduce the scope of the page queues lock in vfs_busy_pages() now that 2006-08-08 06:00:49 +00:00
libkern
modules Add device to access and modify Open Firmware NVRAM settings in 2006-08-01 22:19:01 +00:00
net With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
net80211 add support for 802.11 packet injection via bpf 2006-07-26 03:15:16 +00:00
netatalk Since soisdisconnected() is no longer called in pru_detach(), call it 2006-08-05 14:14:34 +00:00
netatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netgraph - Use log(9) instead of printf(9). 2006-08-07 08:05:10 +00:00
netinet With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netinet6 With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netipsec Fix build breakage from previous commit which confused key_abort and key_close. 2006-07-22 09:18:02 +00:00
netipx Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netkey With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netnatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netncp - Fix ncp_poll() to not panic if the socket doesn't have any pending data. 2006-08-03 15:31:52 +00:00
netsmb - Fix ncp_poll() to not panic if the socket doesn't have any pending data. 2006-08-03 15:31:52 +00:00
nfs
nfs4client Always supply curthread as argument to nfs_asyncio and nfs_doio 2006-07-12 09:16:35 +00:00
nfsclient soreceive_generic(), and sopoll_generic(). Add new functions sosend(), 2006-07-24 15:20:08 +00:00
nfsserver - Add a new function nfsrv_destroycache() to tear down the server request 2006-08-01 16:27:14 +00:00
opencrypto
pc98 Remove sio(4) and related options from MI files to amd64, i386 2006-07-29 18:38:54 +00:00
pccard
pci Commit the results of the typo hunt by Darren Pilgrim. 2006-08-04 07:56:35 +00:00
posix4 Backout the feature which can change thread's scheduling option, I really 2006-07-13 06:41:26 +00:00
powerpc Use proper trap code for the EXC_ALI traps. This fixes SIGBUS during 2006-08-03 22:44:46 +00:00
rpc
security Make mpo_associate_nfsd_label() return void, not int, to match 2006-08-06 16:56:15 +00:00
sparc64 Eliminate the unnecessary acquisition and release of the page queues lock 2006-08-06 19:36:07 +00:00
sys Move definition of UNIX domain socket protosw and domain entries from 2006-08-07 12:02:43 +00:00
tools
ufs Rather than print out a nice error message giving details sufficent to fix 2006-07-31 15:44:13 +00:00
vm Eliminate the acquisition and release of the page queues lock around a call 2006-08-06 00:17:17 +00:00
Makefile