Commit Graph

191734 Commits

Author SHA1 Message Date
hannken
1423e65b26 Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.
2010-06-24 12:58:48 +00:00
reinoud
cd63900e30 Pullup changes from the write implementation:
- remove unnessisary check that would prevent it from mounting newer nilfs
  images. A field has been added in the segment summary.
- store blocks of files on their virtual block number
2010-06-24 12:15:46 +00:00
hannken
e8d576583d genfs_nolock(): LK_INTERLOCK flag no longer possible. 2010-06-24 10:39:35 +00:00
hannken
d06039d236 coda_lock(): LK_INTERLOCK flag no longer possible. 2010-06-24 10:37:22 +00:00
reinoud
038180ae32 Update NiLFS(2) on-disc structures from Linux version 2010-06-24 10:20:08 +00:00
hannken
da75ace1d5 Regen. LK_EXCLOTHER has gone. 2010-06-24 07:56:22 +00:00
hannken
f6c438ba23 Clean up vnode lock operations:
- VOP_LOCK(vp, flags): Limit the set of allowed flags to LK_EXCLUSIVE,
   LK_SHARED and LK_NOWAIT.  LK_INTERLOCK is no longer allowed as it
   makes no sense here.

- VOP_ISLOCKED(vp): Remove the for some time unused return value
  LK_EXCLOTHER.  Mark this operation as "diagnostic only".
  Making a lock decision based on this operation is no longer allowed.

Discussed on tech-kern.
2010-06-24 07:54:46 +00:00
jruoho
4a8a89e213 Couple of grammar fixes. 2010-06-24 04:21:58 +00:00
macallan
108405a01e register definitions for Brooktree Bt461 and Bt462 RAMDACs, used on CG12 and
others
2010-06-24 03:30:36 +00:00
eeh
605be4ce9b indir-block needs to be the size of a filesystem block or bad things can happen. 2010-06-24 00:54:12 +00:00
wiz
e012a9fa38 Remove unnecessary whitespace. 2010-06-23 21:03:16 +00:00
pgoyette
daa18b081d Update man page to sync with driver update. 2010-06-23 19:00:57 +00:00
pgoyette
55ac16fd0f Update if_axe for additional chips and models. Mostly imported from
OpenBSD, with significant contribution from FUKAUMI Naoki.

Also addresses PR kern/40456
2010-06-23 19:00:26 +00:00
yamt
355e79354d don't bother to connect to amd unless necessary. PR/42207 2010-06-23 18:07:59 +00:00
rmind
2e5851d2b3 Fix build for Alpha. 2010-06-23 13:52:26 +00:00
pooka
2327d76dfc If kernel modules are set to autoload, skip the vfslist part of
the check when determining if there is kernel support for a given
fs.  Makes tmpfs tests run and fixes PR misc/43304.
2010-06-23 11:19:17 +00:00
pooka
c15f18f449 As normal, fix breakage from untested commits by rmind. 2010-06-23 08:36:03 +00:00
pgoyette
e526de58fe Fix cut&paste error - the commit log message was correct, just the code
got messed up.  Thanks cegger@ for noticing!
2010-06-23 06:25:17 +00:00
pgoyette
97c9adb3c6 Make sure we unlock before exit. 2010-06-22 21:30:55 +00:00
wiz
432f682f2f Bump date for previous. 2010-06-22 20:51:04 +00:00
rmind
3e68c94985 Keep the lock around pmap_update() where required. While fixing this
in ubc_fault(), rework logic to "remember" the last object of page and
reduce locking overhead, since in common case pages belong to one and
the same UVM object (but not always, therefore add a comment).

Unlocks before pmap_update(), on removal of mappings, might cause TLB
coherency issues, since on architectures like x86 and mips64 invalidation
IPIs are deferred to pmap_update().  Hence, VA space might be globally
visible before IPIs are sent or while they are still in-flight.

OK ad@.
2010-06-22 18:34:50 +00:00
rmind
fc8b3b7154 Replace tmpfs_pool custom allocator code with a simpler layer for memory
accounting.  Use wired memory (which can be limited) for meta-data, and
kmem(9) for string allocations.

Close PR/31944.  Fix PR/38361 while here.  OK ad@.
2010-06-22 18:32:07 +00:00
rmind
ef1673540e KNF and tidy-up example module slightly. 2010-06-22 18:30:20 +00:00
rmind
1840edb963 Implement high priority (XC_HIGHPRI) xcall(9) mechanism - a facility
to execute functions from software interrupt context, at SOFTINT_CLOCK.
Functions must be lightweight.  Will be used for passive serialization.

OK ad@.
2010-06-22 18:29:01 +00:00
rmind
518a6c84b7 Fix ucas_32/ucas_64 on amd64. 2010-06-22 18:26:05 +00:00
dogcow
4ed2cab9df nbtool.h'ify; fixes cross-compilation. 2010-06-22 14:54:11 +00:00
simonb
f9e3860700 Restore (and update) half of the TLB miss handler that went missing
during the mips64 merge.  This gets my sbmips kernel booting to the
login prompt.  This code could not possibly have been tested after
the merge.

Should fix PR port-mips/43431.
2010-06-22 12:42:21 +00:00
pooka
8b642d489c Remove overeager checks. 2010-06-22 12:33:15 +00:00
vanhu
9049130b27 added a specific script hook when a dead peer is detected 2010-06-22 09:41:33 +00:00
wiz
88b9c8a3fe Fix typo, remove trailing whitespace. 2010-06-22 07:00:12 +00:00
mrg
fe5370d748 note bozohttpd 20100621 2010-06-22 05:28:56 +00:00
mrg
30539536b5 merge bozohttpd 20100621 2010-06-22 05:24:12 +00:00
pooka
c063f898e1 regen for vnd (or at least something like that since this file
still isn't really generated, just copypasted)
2010-06-21 21:51:22 +00:00
pooka
6884cd395b add vnd info for pseudodevfs 2010-06-21 21:50:19 +00:00
pooka
594cd00900 zzlib 2010-06-21 21:46:58 +00:00
pooka
cb2fa571d5 support zlib 2010-06-21 21:43:28 +00:00
christos
02bc858973 - fix format print issue. from anon ymous 2010-06-21 19:49:31 +00:00
skrll
d2db4f3b98 Allow PVF_UNCACHEABLE in set/clear of pmap_changebit call (for now). 2010-06-21 14:43:34 +00:00
pooka
2f312a0c44 check etfs mappings with offsets 2010-06-21 14:39:35 +00:00
pooka
9cb9168c28 Calculate memory mapping size based on underlying file size, not
our window to it.  This fixes cases like opening a window at offsets
[8,32] to a file, which would cause host file offset [0,32-8] to
be mapped, i.e. [0,16] inside the window.  Obviously, access to
the entire in-window [0,24] range should have been mapped (and
after this fix it is).
2010-06-21 14:25:35 +00:00
skrll
16cdb55026 Remove some debug code. 2010-06-21 11:04:27 +00:00
skrll
6b473d5964 Add entry for mkubootimage.debug 2010-06-21 10:37:46 +00:00
skrll
bb2cefaa36 Don't define UTURNDEBUG. 2010-06-21 09:06:03 +00:00
skrll
23383d229c Fixup uturn DMA for real mode. That is, use uncacheable directly mapped
pages.
2010-06-21 07:09:59 +00:00
joerg
6d1420650f Sort prologue 2010-06-20 21:57:59 +00:00
matt
4e3cefe215 Add entry for usr/sbin/ofctl 2010-06-20 21:32:33 +00:00
matt
026f5f1d75 Make ofctl for ofppc machines. 2010-06-20 21:30:26 +00:00
pooka
ec25c2dafe Check that etfs block mapping works for >2TB devices. 2010-06-20 17:43:33 +00:00
mrg
88d56f4c97 - note that if MKINET6 is "no", MK11 must also be "no". we don't support
building X11 without inet6 support.  the support to maintain patches to
  generated files and other files is too great.  PR#42856
- add TOOL_PIGZ, which defaults to the (not yet default) built tools/pigz.
2010-06-20 06:54:23 +00:00
tnozaki
51c2514072 fix cross build breakage mklocale(1).
move inline finction that uses sys/ctype_bits.h to runetype_misc.h.
2010-06-20 02:23:15 +00:00