1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys
Konstantin Belousov 56bdf2dbc2 Since r218070 reenabled the call to vm_map_simplify_entry() from
vm_map_insert(), the kmem_back() assumption about newly inserted
entry might be broken due to interference of two factors. In the low
memory condition, when vm_page_alloc() returns NULL, supplied map is
unlocked. If another thread performs kmem_malloc() meantime, and its
map entry is placed right next to our thread map entry in the map,
both entries wire count is still 0 and entries are coalesced due to
vm_map_simplify_entry().

Mark new entry with MAP_ENTRY_IN_TRANSITION to prevent coalesce.
Fix some style issues, tighten the assertions to account for
MAP_ENTRY_IN_TRANSITION state.

Reported and tested by:	pho
Reviewed by:	alc
2011-02-15 09:03:58 +00:00
..
amd64 Sort include files in the alphabetical order. 2011-02-13 19:07:48 +00:00
arm Oops, wasn't supposed to commit this. 2011-02-13 20:04:29 +00:00
boot Fix build. 2011-02-12 06:22:23 +00:00
bsm
cam
cddl Use the preload_fetch_addr() and preload_fetch_size() convenience 2011-02-13 19:46:55 +00:00
compat Style(9) fix. Do not initialize variables in the declarations. 2011-02-14 17:24:58 +00:00
conf Add missing USB_HOST_ALIGN option. 2011-02-12 21:17:38 +00:00
contrib Merge ACPICA 20110211. 2011-02-12 01:03:15 +00:00
crypto
ddb
dev - Use the correct DMA tag/map pair for synchronize the FC scratch area. 2011-02-14 21:50:51 +00:00
fs Further simplify tmpfs_reg_resize(). Also, update its comments, including 2011-02-14 15:36:38 +00:00
gdb
geom Correct a subtle bug in the 'gsched_rr' disk scheduler. 2011-02-14 08:09:02 +00:00
gnu
i386 Sort include files in the alphabetical order. 2011-02-13 19:07:48 +00:00
ia64 Comment-out FLOWTABLE. It causes a kernel panic due to a misaligned memory 2011-02-06 22:18:37 +00:00
isa
kern Mfp4 CH=177256: 2011-02-14 20:49:37 +00:00
kgssapi
libkern
mips The Lanner MR-730 uses the first two MACs at its MAC base for the 10/100 2011-02-12 02:41:33 +00:00
modules Move linux_clone(), linux_fork(), linux_vfork() to a MI path. 2011-02-12 18:17:12 +00:00
net Mfp4 CH=177255: 2011-02-11 14:17:58 +00:00
net80211 Instead of always returning 0 to a scan request, indicate if there is 2011-01-30 14:05:21 +00:00
netatalk
netgraph
netinet Fix a bug reported by Jonathan Leighton in his web-sctp testing 2011-02-13 14:48:11 +00:00
netinet6 Fix bugs related to M_FLOWID: 2011-02-07 15:04:23 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient
nfsserver Unless "cnt" exceeds MAX_COMMIT_COUNT, nfsrv_commit() and nfsvno_fsync() are 2011-02-05 21:21:27 +00:00
nlm
opencrypto
pc98 Based on discussions on the svn-src mailing list, rework r218195: 2011-02-08 00:16:36 +00:00
pci
powerpc Put the general logic for being a CPU hog into a new function 2011-02-02 16:35:10 +00:00
rpc
security Unless "cnt" exceeds MAX_COMMIT_COUNT, nfsrv_commit() and nfsvno_fsync() are 2011-02-05 21:21:27 +00:00
sparc64 Set td_kstack_pages for thread0. 2011-02-08 23:21:35 +00:00
sun4v Put the general logic for being a CPU hog into a new function 2011-02-02 16:35:10 +00:00
sys Retire mp_fixme(). It's no longer used. 2011-02-14 02:37:27 +00:00
teken
tools
ufs Use the native sector size of the device backing the UFS volume for SU+J 2011-02-12 12:52:12 +00:00
vm Since r218070 reenabled the call to vm_map_simplify_entry() from 2011-02-15 09:03:58 +00:00
x86 Use a dedicated taskqueue with a thread that runs at a software-interrupt 2011-02-03 13:09:22 +00:00
xdr
xen
Makefile