Commit Graph

162555 Commits

Author SHA1 Message Date
yamt
b79fded28d use mremap for huge -> huge realloc.
fix PR/31425 (Nicolas Joly) and possibly PR/36175 (Brian de Alwis).
2007-10-16 15:12:16 +00:00
ad
bc9419f99a Crank libpthread_dbg major. 2007-10-16 15:11:27 +00:00
ad
f1b2c1c4c9 ... but preserve the linked list, for the debugger only. 2007-10-16 15:07:02 +00:00
ad
9472415c5e Remove stuff that is no longer useful. 2007-10-16 15:06:11 +00:00
kiyohara
3c75d069ac Whenever writing once, m_adj() is called.
Do not call m_adj() by 0 when it is "rlen==m_len" and is not empty in the
  buffer.
Must call m_adj().
2007-10-16 13:47:17 +00:00
ad
9583eeb248 Replace the global thread list with a red-black tree. From joerg@. 2007-10-16 13:41:18 +00:00
simonb
198e82a3b8 Recognise the R2000A cpu as found in some pmaxen.
From Dennis Grevenstein on port-pmax@.
2007-10-16 12:19:19 +00:00
pooka
8215b8c2bc Close file handles if opencount drops to zero instead of closing
them if it does not drop to zero, i.e. fix a pretty obvious bug.
2007-10-16 10:53:02 +00:00
joerg
545f4d8d88 Sync callout(9) man page with bool changes. 2007-10-16 09:17:44 +00:00
tls
215e50961e Add httpd to the build. Add _httpd to passwd and groups and postinstall.
Add /var/www to mtree, add example line to inetd.conf.
2007-10-16 02:47:12 +00:00
tls
1d63366b2d Get httpd ready for inclusion in build. 2007-10-16 01:31:03 +00:00
tls
ba6eac50dd Move bozohttpd.8 to httpd.8 2007-10-16 01:29:44 +00:00
tls
60dbe74596 Import of bozohttpd for its originally intended purpose: a small (~30k)
simple run-from-inetd httpd suitable for small systems (and some large
ones).
2007-10-16 01:14:01 +00:00
wiz
ceaca18114 Fix syntax error in example. 2007-10-16 00:21:51 +00:00
xtraeme
f2b7f02f51 Remove reference to unexistent cpu(4) manpage. 2007-10-15 20:32:51 +00:00
plunky
f7ac443042 for PRU_ATTACH, we should make sure that so_pcb is not allocated when
there is any error
2007-10-15 18:04:34 +00:00
pooka
1b050f3a07 update usage to match reality. caught by jmcneill 2007-10-15 17:28:13 +00:00
vanhu
702eac21e5 Try to increase the buffer size of the pfkey socket, this may help things when we have a huge SPD 2007-10-15 16:05:01 +00:00
ad
9c3109d6c5 Add _SC_NPROCESSORS_ONLN and _SC_NPROCESSORS_CONF for sysconf(). These
are extensions but are provided by many Unix systems.
2007-10-15 14:12:54 +00:00
pooka
430c2395ef - uvn_attach.9
+ ubc_uiomove.9
2007-10-15 14:00:49 +00:00
pooka
72133aa8cb document ubc_uiomove() 2007-10-15 13:39:50 +00:00
tsutsui
90ab854495 Disable agr(4) to shrink an install kernel. 2007-10-15 13:34:06 +00:00
tsutsui
58d0161508 Add IPL_SERIAL definition since MI com(4) now requires it for mutex(9). 2007-10-15 13:29:42 +00:00
yamt
c3ee5a2d35 uvm_mremap: fix alignment check for the easy cases. 2007-10-15 11:26:13 +00:00
yamt
0de985a71c uvm_map_reserve: don't ignore alignment. fixes mremap. 2007-10-15 11:24:30 +00:00
yamt
89aa62f9b2 we don't have reallocf. 2007-10-15 11:18:44 +00:00
yamt
687cd24ebe make lint happy. 2007-10-15 10:30:56 +00:00
yamt
1277f9b0a0 malloc_print_stats: print huge_allocated correctly. it's already in bytes. 2007-10-15 10:28:10 +00:00
hannken
988890176c When swapping to a regular file use a workqueue to signal I/O completion.
VOP_STRATEGY() no longer gets called from interrupt context via
biodone() -> sw_reg_iodone() -> sw_reg_start().

Removes a deadlock condition reported in PR 37109.

Ok: YAMAMOTO Takashi <yamt@netbsd.org>
2007-10-15 08:12:13 +00:00
sjg
1d55b1afc4 If we don't have emalloc, we won't have strndup either.
Allows building current make on 2.0.
2007-10-15 01:07:34 +00:00
yamt
14bfffc9db use MAP_ALIGNED. 2007-10-15 00:05:00 +00:00
martin
27701280d7 We count last activity in time_update nowadays, so use that to compare
idle timeouts as well.
2007-10-14 23:44:49 +00:00
uwe
04d80981e9 For KSTACK_DEBUG fill lwp0 switchframe with 0xb4 too to match
what we do to other lwps in sh3_setup_uarea in vm_machdep.c.
2007-10-14 22:38:48 +00:00
apb
810a68fb1a regen 2007-10-14 20:27:22 +00:00
apb
7f785f3945 Adapt to the changed way of telling make which shell to use. 2007-10-14 20:26:47 +00:00
apb
4d49fce1d6 * Add Makefile.regen to regenerate configure from configure.ac;
* Add comments in configure.ac to explain how to regenerate configure.
2007-10-14 20:25:35 +00:00
apb
d15c1edea0 Make it easier for the build environment (such as a configure script)
to override the default shell:

* Rename _BASENAME_DEFSHELL to DEFSHELL_CUSTOM, because it's no longer
  always a basename, it might be a full path;
* Rename DEFSHELL to DEFSHELL_INDEX, because it's actually an index into
  an array;
* Provide symbolic names for the possible values if DEFSHELL_INDEX;
* Document how the build environment may set DEFSHELL_INDEX or
  DEFSHELL_CUSTOM to choose the default shell;
* Move the fallback definition of DEFSHELL_INDEX from config.h to job.c,
  because it's used only in job.c.

Discussed with sjg.
2007-10-14 20:22:53 +00:00
kiyohara
eb89d5dad9 + Add #ifdef DPRINTF{,N} before #undef.
+ Initialize m_pkthdr.len, and increment if not escape charactor.
+ Call bcsp_start() if there is no transmitted packet.
+ Call m_adj() after debug print.
+ Reset the values of the Sequencing layer if link reset it.
2007-10-14 18:13:49 +00:00
wiz
2d2dc93ca4 less-408 out. 2007-10-14 18:11:12 +00:00
yamt
2affaa4ac8 yamt-x86pmap-base3 2007-10-14 14:40:35 +00:00
yamt
568c54c442 sleepq_remove: remove a stale comment. 2007-10-14 14:23:12 +00:00
yamt
2171d72e8b fix typos in a comment. 2007-10-14 13:56:32 +00:00
nisimura
20160bd91a fix typos about a pair of multicast hash table registers. 2007-10-14 12:06:17 +00:00
nisimura
f385186cc1 add multicast filter support; either to use HW hash table lookup
filter or to accept any mcast frames.
2007-10-14 11:49:39 +00:00
jnemeth
ba708bffb8 typo 2007-10-14 11:30:37 +00:00
lukem
5a1df86c01 Convert to using raise_default_signal(3). 2007-10-14 11:21:32 +00:00
agc
a7eecfa1f4 Add a file containing information about NetBSD iSCSI target compatibility
with various different initiators.

Any more information gratefully received (either positive or negative).
2007-10-14 11:01:21 +00:00
plunky
11054f05ab make it clear that no deactivate call will be made if the activate returns
an error.
2007-10-14 10:10:04 +00:00
lukem
bd560fde31 Convert to using raise_default_signal(3). 2007-10-14 04:54:34 +00:00
xtraeme
ee740853d7 regen 2007-10-14 01:09:00 +00:00