Commit Graph

195902 Commits

Author SHA1 Message Date
rmind 0d6d18d2d7 do_posix_fadvise: fix and improve previous change - add a comment with
some rationale and handle few range overflows.

Per report/discussion with yamt@.
2010-12-18 01:18:48 +00:00
rmind a5d3437d2b mi_switch: remove invalid assert and add a note that preemption/interrupt
may happen while migrating LWP is set.

Reported by Manuel Bouyer.
2010-12-18 01:13:36 +00:00
rmind 628e094cdc NPF checkpoint:
- Add support for session saving/restoring.
- Add packet logging support (can tcpdump a pseudo-interface).
- Support reload without flushing of sessions; rework some locking.
- Revisit session mangement, replace linking with npf_sentry_t entries.
- Add some counters for statistics, using percpu(9).
- Add IP_DF flag cleansing.
- Fix various bugs; misc clean-up.
2010-12-18 01:07:25 +00:00
eeh 3c8b71849f Byebye deadlock. 2010-12-18 00:01:46 +00:00
njoly 53ac8d2f21 Fix typo in cross-refernce. 2010-12-17 23:57:07 +00:00
christos 3a693ad8ca PR/44248: Antti Kantee: Fix multi-threaded localtime hang. 2010-12-17 23:11:57 +00:00
njoly 29263bd796 Add _tcpdump uid/gid checks. 2010-12-17 22:56:22 +00:00
yamt 9ca0d1bba8 new_vmcmd: assertions 2010-12-17 22:35:07 +00:00
yamt 1ad15d6549 - lookup_once: when crossing a mount point, don't keep the parent vnode locked.
ie. don't lock a vnode while holding another vnode which belongs to a
  different filesystem.  otherwise we propagate slowness (or deadness) of a
  filesystem to another via vnode lock chain.
- lookup_parsepath: don't alter vnode states.  let the caller do it instead.
- add comments and assertions.
2010-12-17 22:34:04 +00:00
yamt ef99b60b5d wrap a long line. 2010-12-17 22:24:11 +00:00
yamt a46f9dd300 nfs_rcvunlock: don't wake up all waiters. 2010-12-17 22:22:00 +00:00
yamt 56704cd648 realtimerexpire: rename a confusing variable. no functional change.
(now_ms -> now_ns as it hold a nano second value)
2010-12-17 22:08:18 +00:00
yamt 112d262cd3 update some comments 2010-12-17 22:06:31 +00:00
yamt 07928aac69 aio_worker: add an assertion 2010-12-17 22:05:36 +00:00
yamt 6156c347df 0 -> NULL for a pointer 2010-12-17 22:04:42 +00:00
yamt 5d63916ff3 do minimal locking to make assertions like KASSERT(VOP_ISLOCKED(vp)) happy. 2010-12-17 22:03:00 +00:00
yamt 473b1715a5 cosmetics. no functional changes.
- constify
- wrap long lines
- assertions
- comments
2010-12-17 22:00:43 +00:00
njoly 9f266c104e Fix cross-reference, dir(5) -> dirent(3). 2010-12-17 19:20:42 +00:00
phx c5192b20f5 Set the GPIO to enable AGP configuration space access when attaching gtpci0
and do not reset it again. This keeps AGP devices visible after configure().
Improved the match-function to look for a Discovery controller on the PCI
bus.
2010-12-17 19:18:49 +00:00
pooka c1e38b8cc4 the setlist joy for a new tp 2010-12-17 19:13:48 +00:00
pooka afe2ac389d Add an isolated test case for PR lib/44248. 2010-12-17 19:12:30 +00:00
pooka 34fb222dd0 fix editing artifact 2010-12-17 14:51:27 +00:00
pooka f4f60017b9 * remove #ifdef nonsense (which caused the lossage in the first place)
* make it a DRIVER so that it autoloads when /dev/nsmb is opened
2010-12-17 14:27:34 +00:00
pooka 5b13bc43b2 use aprint 2010-12-17 13:37:37 +00:00
pooka 3a3ba15647 Try to unbreak module a little. It would be really nice to not
utterly break things in the name of modularization, especially if
avoiding breakage takes 2min.
2010-12-17 13:24:45 +00:00
pooka 8fb9443f66 unifdef -D__NetBSD__ 2010-12-17 13:05:29 +00:00
jruoho 2daf152b55 There is no harm to add a manual page for the GNU typeof()-construct, given
that it has already crawled into the source tree.
2010-12-17 12:14:03 +00:00
plunky 804a0485e5 correct the error message (wait3->waitpid) 2010-12-17 11:32:57 +00:00
wiz 1e9e3652c6 Bump date for chroot default. 2010-12-17 10:35:10 +00:00
jruoho 27cfff3b3e Make tcpdump(8) to drop root privileges and chroot(2) by default. 2010-12-17 09:54:27 +00:00
wiz 617acddc41 Remove superfluous Pp. 2010-12-17 08:50:26 +00:00
jruoho 43b7e12140 Note that the previous are available only for the kernel. 2010-12-17 08:23:04 +00:00
jruoho cc55e6fca5 Briefly describe __read_mostly and __cachline_aligned. 2010-12-17 08:13:09 +00:00
jruoho 5a336bb26c Note __func__ and restrict. 2010-12-17 07:25:33 +00:00
jruoho 52b33dcfd8 Add __insn_barrier(3). XXX: Someone more knowledgeable may want to check this. 2010-12-17 07:10:37 +00:00
skrll 1ee8ff33ba Remove implementation detail.
Bump date.
2010-12-17 07:04:52 +00:00
joerg 7ca993a691 Fix build by pulling in uvm/uvm_extern.h. 2010-12-17 02:36:35 +00:00
wiz db9d3e0efd Sort ERRORS. Fix a typo. Readd macro usage lost in previous.
Remove trailing whitespace.
2010-12-17 01:30:50 +00:00
wiz a5f2300ef5 Sort SEE ALSO, add a serial comma. 2010-12-17 01:30:14 +00:00
wiz 72b0a97144 Use more markup. 2010-12-17 01:29:45 +00:00
joerg dc09d3bc32 Support MKREPRO 2010-12-17 00:53:16 +00:00
joerg fe0427534e Kill use of __DATE__ and __TIME__ in SCCS strings. 2010-12-17 00:23:58 +00:00
joerg bff70242e1 Fix up mktime_z.3 entries 2010-12-16 23:01:56 +00:00
joerg 6c436c698f Push C++ library linkage into the shared Makefile.inc fragments. 2010-12-16 22:54:18 +00:00
joerg c4120e324e Replace use of errlist with a single concatenated version and an offset
array. This requires less storage and avoids one runtime relocation per
errno value.
2010-12-16 22:52:32 +00:00
joerg 67cc8c0871 Don't use normal environment handling functions from libc, but iterate
once over the array and clean out entries as needed.
2010-12-16 22:47:27 +00:00
christos 059bb058bd add missing files. 2010-12-16 22:19:37 +00:00
christos d6bc393ba9 it is getname not time. 2010-12-16 22:18:37 +00:00
christos 84df4ad5ec add the 3 missing man pages. 2010-12-16 21:53:56 +00:00
skrll 126c589398 s/rdbg/dbg/ in a few places. 2010-12-16 19:59:39 +00:00