Commit Graph

171924 Commits

Author SHA1 Message Date
matt 5698938787 Make uvm_map.? use <sys/rb.h> instead of <sys/tree.h>. Change the
ambiguous members ownspace/space to gap/maxgap.  Add some evcnt for
evaluation of lookups using tree/list.  Drop threshold of using
tree for lookups from > 30 to > 15.

Bump kernel version to 4.99.71
2008-07-29 00:03:06 +00:00
pooka 8a2d75c65b add also the dir /usr/include/fs/tmpfs
pointed out by Kurt Schreiner
2008-07-28 20:17:46 +00:00
reinoud 71c9aa3395 Streamline allocation to prepare it for metadata partition. Also add
preliminary Metadata partition write support but its disabled still since
its not finished yet and not functioning correctly. All other formats are
checked and should work fine.
2008-07-28 19:41:13 +00:00
matt 34ac358652 Reacquire softnet_lock after calling soabort which returns with the socket
unlocked.
2008-07-28 18:41:07 +00:00
pooka b6138e3eb7 Backup some manual page sketches lest I delete the wrong source tree. 2008-07-28 18:34:31 +00:00
pooka 2eb2408c19 rump now builds on all ports 2008-07-28 18:12:53 +00:00
pooka b00e8162a5 Give rump a faux vmparam.h to work around problematic ports (hooray
for evbppc).  Obligatory inlined rant: it would be really nice if
we didn't have weird ports like that which sport totally incompatible
code for different kernels.
2008-07-28 18:12:15 +00:00
pooka f99d5e92e0 include correct header 2008-07-28 18:05:09 +00:00
pooka 966308f7e8 shuffle around some more defs for fstat
noticed by Kurt Schreiner on current-users
2008-07-28 18:00:20 +00:00
christos eda454c1f4 - trailing commas in enums
- arithmetic on enums needs cast
from Anon Ymous
2008-07-28 17:54:02 +00:00
christos cd84a96731 fix signed comparison warning. 2008-07-28 17:40:33 +00:00
christos 6636374a5a just whitespace fixes. 2008-07-28 17:02:45 +00:00
christos e365952e64 fix type punned warnings. 2008-07-28 17:01:16 +00:00
macallan df34d2042b Fix remaining register offset shifting left over from proper bus_space-ification
done a while ago. From Marco Trillo.
This should fix PR 39176.
2008-07-28 16:54:49 +00:00
pooka 2ba62ba2c7 Not everyone is building from my yet uncommitted trees, so catchup
here also.

tip-of-the-hat to simonb
2008-07-28 16:27:29 +00:00
christos a3d2246423 lint wins again :-) From Anon Ymous:
- fix a mis-placed parenthesis.
- fix assignment to the wrong variable.
2008-07-28 15:28:27 +00:00
drochner 6a47db887e -in usbd_probe_and_attach(), split out the code for per-device and
per-interface attachment into individual functions, to ease
 maintainance and allow easier plugin of new attachment functions
-keep a counter of USB interfaces in use on a device, and try to
 keep track of interfaces claimed by drivers behind the framework's
 back
2008-07-28 15:22:01 +00:00
drochner 6b623b615a add missing device_private(), fixes crash in interrupt handler 2008-07-28 14:25:30 +00:00
drochner a17262c3e3 Avoid NULL pointer dereference on power handler deregistration if
it was not registered before. I assume that a lot of drivers do not
proper bookkeeping in the case the attach() exits early due to
errors. This is hard to fix and to test, so just be generous here.
2008-07-28 14:22:14 +00:00
drochner 3126a6b09b Don't pmf_device_deregister() if it was not registered, which happens
if attach() encountered an error before.
In contrast, such a protection should not be needed for the register()
call, so remove it there.
2008-07-28 14:19:26 +00:00
pooka 49eea9ca9f add a comment stating why evbppc doesn't do lkm or modules 2008-07-28 14:09:55 +00:00
pooka e575982be5 blkset.S is needed on vax by some macros, so include it in the build. 2008-07-28 13:56:59 +00:00
simonb 240772bb7e Tidy up simonb-wapbl issues section. 2008-07-28 13:20:45 +00:00
pooka 97f4be43e9 Install mount argument structure header just like every other file system. 2008-07-28 12:42:12 +00:00
jmcneill 25b0c73dd3 Clarify some printfs in error cases so we at least know what subsystem
reported them.
2008-07-28 12:20:35 +00:00
simonb a6f8399573 simonb-wapbl branch now covers sbin/tunefs and usr.sbin/dumpfs. 2008-07-28 12:11:17 +00:00
oster 66303c1993 Mention turning on WAPBL_DEBUG_SERIALIZE to work around performance issue
in simonb-wapbl.
2008-07-28 04:07:59 +00:00
dsl d7ca47879f Change how 'while (0)' is commented out to avoid /* within a comment. 2008-07-27 20:12:47 +00:00
mlelstv 8dd705a60e add missing quote 2008-07-27 19:55:19 +00:00
joerg ce8ff65a78 Annotate dhcpcd-4.0.0rc3 import. 2008-07-27 19:33:55 +00:00
joerg d249112fae Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.
2008-07-27 19:31:02 +00:00
joerg b2f096aeb9 Import dhpcd-4.0.0rc3. Major changes since beta4:
- support for link state notification (e.g. renew lease after carrier
  returned)
- support to start go into background immediately
- don't cleanup interface state. dhcpcd will leave the interface in the
  same state as before if the lease uses separate addresses. -p still
  stops it from removing the configured address on exit
- various smaller bugfixes, optimisations and cleanups
2008-07-27 18:06:30 +00:00
pooka c8ccd39051 UKFS_UIOINIT() functionality has been provided for ages by rump
function interfaces, so remove the macro.
2008-07-27 16:12:23 +00:00
pooka f06b295c56 Adjust comment location to make it make sense.
no functional change
2008-07-27 15:08:37 +00:00
joerg 0528da675e Unbreak twa after the last two commits. 2008-07-27 13:10:11 +00:00
reinoud 7ac1927ba2 Delay physical partition spacebitmaps from volume-descriptor-checking until
the other supporting structures are read in.
2008-07-27 11:38:23 +00:00
reinoud 5c3627bcdf Unify naming scheme and source code beautify for better readablility. 2008-07-27 11:21:21 +00:00
reinoud 01c0b5bf89 Fix typo in cd9660 functionname cd9660_setup_boot_volume_descritpor ->
cd9660_setup_boot_volume_descriptor.

Interestingly the same typo was used in 3 files!
2008-07-27 10:29:32 +00:00
veego e012f27d4d Remove the '${.CURDIR}/' part in CLEANFILES, so that the files will be
deleted in the case of an objdir too.
Proposed to current-users on 20-Jul-2008 with no reply..

XXX The '*~' part should be removed too, but I leave that to someone else
    since it is used in a lot of other Makefiles too and there maybe a
    valid reason for it.
2008-07-27 07:57:40 +00:00
dholland 154fe9b1d9 Don't convert cpuid_t through int while testing it for being in range.
(Might truncate it, for one thing. Also, if the shift result is < 0 the
demons have already flown out of our nose.)

Fixes some -Wsign-compare warnings.
2008-07-27 05:47:56 +00:00
pgoyette 7c810deb09 Add myself to the list of developers. 2008-07-26 23:17:09 +00:00
reinoud 4e0493c8f8 Forgot to rename those two references to write_space_bitmap too. 2008-07-26 20:52:04 +00:00
reinoud 8f7887a864 Clarify the current spacemap read/write code is reading/writing physical
partition space maps. This in preperation of Metadata spacetable
reading/writeout work.
2008-07-26 20:49:33 +00:00
reinoud 3653a53255 Clarify not implemented allocation schemes; mostly UDF 2.50
HD-DVD/BluRay-RE and UDF 2.60 for BluRay-R
2008-07-26 20:33:36 +00:00
reinoud 6797eb00e2 Add UDF 2.50 metadata partition creation to newfs_udf(8). It allows a
percentage to the volume space to be pre-allocated for metadata on format.
Implementations that can't extent the metadata partitions can thus use the
discs too.

Note that the kernel UDF code can't write to UDF 2.50 metadata partitions
yet; this is a work-in-progress.

Also note that the default formatting version choice is still version 2.01
i.e. without the metadata partition.
2008-07-26 20:20:56 +00:00
plunky 86cf58d587 remove comment that is no longer true 2008-07-26 20:16:10 +00:00
darrenr 4dac121dab 2020447 IPFilter's NAT can undo name server random port selection
(fix output port range, was a random number in [0,max-min]
	 (byteswapped on litle endian), instead of [min,max])
2008-07-26 19:44:28 +00:00
heinz 4f58699ff4 Moved comments for some _POSIX_* constants in front of their definition,
like all the rest of them.
2008-07-26 19:37:58 +00:00
christos 081bb45d58 make sure we write little endian. From Anon Ymous 2008-07-26 15:10:34 +00:00
dsl c43281ec80 Remove all the pending connections in soclose().
'continue' in 'do .. while (0)' doesn't do what ad@ intended.
2008-07-25 22:45:58 +00:00