Commit Graph

184572 Commits

Author SHA1 Message Date
jnemeth
30d0592bd3 allow passing a NULL proplib dictionary to modctl(MODCTL_LOAD, ...) 2009-10-16 00:27:07 +00:00
pooka
d0c17feb81 We have real pollsuck() now, so remove this, ahem, less-than-perfect one.
(XXX: only thing in the kernel using pollsuck is netsmb)
2009-10-16 00:16:32 +00:00
pooka
254ffabc38 Include sys_select.c for proper select()/poll() support. 2009-10-16 00:14:53 +00:00
pooka
cc056ae92c include rumpcpu_generic 2009-10-15 23:42:40 +00:00
pooka
2f6e67dfd6 When allocating the temporary lwp we must have an lwp context. So
take turns using lwp0 for this purpose, nothing else uses it.
2009-10-15 23:15:55 +00:00
hubertf
f7456856c8 Make the format for -k clearer 2009-10-15 23:12:53 +00:00
hubertf
2058a998c8 Fix -p:
* rm_eo is the first character *after* the match, so no need for a +1
 * Blowfish hashes are only 53 chars long, not 54
2009-10-15 23:03:02 +00:00
jym
6ddc6bb7bf Remove pool_cache_invalidate_local(9) from the sets, and mark the
entries as obsolete.

Noted by haad@. Thanks!
2009-10-15 22:59:12 +00:00
macallan
fef6357143 set -DHAVE_ISA on shark, with this accelerated Xorg works again on rev. 4
sharks.
2009-10-15 22:54:45 +00:00
thorpej
1f59a448f4 - pool_cache_invalidate(): broadcast a cross-call to drain the per-CPU
caches before draining the global cache.
- pool_cache_invalidate_local(): remove.
2009-10-15 20:50:12 +00:00
thorpej
b93b3929c3 Regenerate for:
Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit.  Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
2009-10-15 20:35:19 +00:00
plunky
8ac5e94172 reinstate a sentence partly removed in v1.43 regarding the default
facility/priority for local kernel messages
2009-10-15 20:35:07 +00:00
thorpej
1e0ab6fbf0 Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit.  Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
2009-10-15 20:35:01 +00:00
joerg
ef66228296 Do not use .Xo/.Xc to work around ancient groff limits. 2009-10-15 17:26:57 +00:00
pooka
9b92a8f383 comment adjustment. hardly any functional change involved. 2009-10-15 16:50:00 +00:00
pooka
05c281e378 fix test for new-world rump lwp usage 2009-10-15 16:47:23 +00:00
pooka
cfc0373f49 rump_get_curlwp() is dead 2009-10-15 16:46:37 +00:00
pooka
2ce66cd910 use newstyle rump lwp interfaces 2009-10-15 16:41:08 +00:00
pooka
c663ed2f3f regen: lwp interface changes 2009-10-15 16:40:15 +00:00
pooka
8559951571 Give lwp usage some much-needed love: stop treating lwp0 as the
all-sink and make sure each separate thread in rump has its own
lwp.  Happy-go-lucky callers will get scheduled a temporary lwp
on entry, while true lwp connoisseurs may request a stable lwp
for their purposes.  Some more love may be required later down the
road, but for now different threads will stepping on each others
toes.
2009-10-15 16:39:22 +00:00
joerg
7c4d7328b0 pkg_install-20091015:
Use directory index caching by default.
2009-10-15 13:01:24 +00:00
joerg
eace2ff26e libfetch-2.26:
- Add support to aggressively cache directory listenings, useful for
HTTP
- Avoid leaking memory in error cases. From Xavier from Arch Linux.
2009-10-15 12:59:57 +00:00
hannken
4e246abd4c No longer abuse TAILQ internal data. 2009-10-15 10:05:48 +00:00
dsl
40f437887d Reverse previous, committed by mistake. 2009-10-15 06:19:35 +00:00
enami
e91a07076b There is no variable called __SRC_TOP_OBJ__. Use the correct one instead. 2009-10-15 03:21:45 +00:00
joerg
568625a8d1 Do not work around ancient groff limits with .Xo/.Xc. 2009-10-15 02:27:44 +00:00
joerg
63ec927bcc Use -compact + explicit .Pp instead of .sp with negative line length. 2009-10-15 02:26:38 +00:00
joerg
2d19820108 Kill bad tab in markup. 2009-10-15 02:18:22 +00:00
joerg
1444b07e5e Explicitly request literal mode after .Xr. 2009-10-15 02:15:19 +00:00
pooka
5a586117cf fix previous to make sense 2009-10-15 01:50:08 +00:00
pooka
466e9bcfec adjust for new rump_cpu 2009-10-15 01:35:23 +00:00
pooka
8c6bd3376a forgot to commit with previous batch 2009-10-15 01:29:06 +00:00
joerg
45354b5b39 Expand [= prog-name =] in man pages. 2009-10-15 01:28:10 +00:00
joerg
cb83818524 Fix markup. 2009-10-15 00:59:01 +00:00
roy
5f96926957 Handle errors from getdelim better. 2009-10-15 00:36:24 +00:00
pooka
9bb1dbd8d7 rump_cpu is now a pointer 2009-10-15 00:34:05 +00:00
pooka
fcebdb26e0 Add prototype for wait operation variants which do not drop any
resources (because they should be holding any in the first place).
2009-10-15 00:33:37 +00:00
pooka
f1f3f36233 regen: scheduling points 2009-10-15 00:32:11 +00:00
pooka
000a197343 regen: scheduling points in rump_pub wrappers 2009-10-15 00:31:25 +00:00
pooka
624234c0c5 Generate scheduling points around rump vnode operations. 2009-10-15 00:29:40 +00:00
pooka
cd231d0604 Generate scheduling points in rump_pub calls. 2009-10-15 00:29:19 +00:00
pooka
9454f185c4 Add initial work on a rump virtual cpu scheduler. This is necessary
for kernel code which has been written to avoid MP contention by
using cpu-local storage (most prominently, select and pool_cache).

Instead of always assuming rump_cpu, the scheduler must now be run
(and unrun) on all entry points into rump.  Likewise, rumpuser
unruns and re-runs the scheduler around each potentially blocking
operation.  As an optimization, I modified some locking primitives
to try to get the lock without blocking before releasing the cpu.

Also, ltsleep was modified to assume that it is never called without
the biglock held and made to use the biglock as the sleep interlock.
Otherwise there is just too much drama with deadlocks.  If some
kernel code wants to call ltsleep without the biglock, then, *snif*,
it's no longer supported and rump and should be modified to support
newstyle locks anyway.
2009-10-15 00:28:46 +00:00
joerg
18654546a6 Fix markup. 2009-10-15 00:16:28 +00:00
joerg
d935d602c7 Fix redundancy. 2009-10-15 00:07:45 +00:00
joerg
59da3d1cf9 Fix markup. 2009-10-14 23:55:26 +00:00
pooka
af40e60966 WARNS 2009-10-14 23:51:52 +00:00
pooka
8a435a0401 WARNS + make compile 2009-10-14 23:51:22 +00:00
joerg
77fe034dc2 Simplify markup. 2009-10-14 23:49:50 +00:00
joerg
29fcd46aba Fix and improve markup. 2009-10-14 23:40:05 +00:00
joerg
addb345ac7 Do not work around ancient groff limits with .Xo/.Xc. 2009-10-14 23:37:33 +00:00