Commit Graph

170490 Commits

Author SHA1 Message Date
ginsbach b750bd80b0 Add some more LC_TYPE aliases. OK'ed by tnozaki. 2008-05-30 03:24:02 +00:00
ginsbach 008c3f646e These are really aliases for zh_CN.eucCN. This was a redundancy that
was incorrectly copied from FreeBSD.  OK'ed by tnozaki.
2008-05-30 03:12:59 +00:00
mrg 04f2afbef7 convert the rest of my licenses to 2-clause, extracting myself out
from a group as necessary.

bozohttpd remains, but it will get fixed next time i update it.
2008-05-30 02:29:37 +00:00
ad e98d2c1016 lwp_exit_switchaway: set l_lwpctl->lc_curcpu = EXITED, not NONE. 2008-05-29 23:29:59 +00:00
rmind 29170d3854 Simplifcation for running LWP migration. Removes double-locking in
mi_switch(), migration for LSONPROC is now performed via idle loop.
Handles/fixes on-CPU case in lwp_migrate(), misc.

Closes PR/38169, idea of migration via idle loop by Andrew Doran.
2008-05-29 22:33:27 +00:00
rmind 15e36ef766 sys_shmget: use the correct size variable for uobj_wirepages().
Adjust shm_memlock() for consistency too.

Fixes PR/38782, reported by Adam Hoka.
2008-05-29 21:38:18 +00:00
christos 56fe2d1f4d PR/38791: J.T. Conklin: routing socket event header not cleared 2008-05-29 17:53:01 +00:00
dyoung 7b1d20d162 Delete local variable 'sockets', whose value is never used. Reported
by J.T. Conklin.
2008-05-29 17:26:56 +00:00
joerg 32455b2087 Allow per-interface DHCP configuration using dhcpcd via
ifconfig_xxN=dhcp or a dhcp line in /etc/ifconfig.xxN.
2008-05-29 15:38:35 +00:00
joerg 157262cae8 Explicitly compute the next interval using 64bit arithmetic, if the time
was either stepped backwards or the timer has overflown. This fixes
PR 26470.
2008-05-29 15:27:51 +00:00
mrg c2b95373bf remove clause #3 from my license where there are no other
copyright holders involved.
2008-05-29 14:51:25 +00:00
tsutsui 8578fbdffa - also put a boot failure message to LCD
- fix botched (and unused) macro
- use struct lcd_message consistently
2008-05-29 14:25:00 +00:00
pooka 11e4a43ad9 Specify RUMP_WITHOUT_THREADS only in one place. 2008-05-29 13:12:29 +00:00
pooka 3bca2d2000 Also fake the namecache g/c thread in kthread_create() so that file
systems can again be run without threads (and hence gdb can be used
on them).
2008-05-29 12:25:12 +00:00
pooka 0e278b287d Use rump_sys_pread/write instead of rump_sys_read/write to make I/O
from offset != 0 work again.

from Arnaud Ysmal
2008-05-29 12:03:52 +00:00
pooka df177ce90b regen 2008-05-29 12:02:31 +00:00
pooka de98844194 Mark pread/pwrite rump syscalls.
from Arnaud Ysmal
2008-05-29 12:01:37 +00:00
ad 355c5b9e63 Fix busted test. 2008-05-29 11:32:07 +00:00
hannken 336f2a69f4 ffs_copyonwrite(): stop abusing ffs_balloc() to get a block address.
Use ufs_getlbns()/bread() instead.
Saves some reads and removes deep recursion with possible deadlock
when ffs_balloc() runs copy-on-write on the buffer returned.
2008-05-29 10:00:50 +00:00
jnemeth a41d8833cb add reference to siisata(4) 2008-05-29 08:23:39 +00:00
taca bc6fdaada8 OpenSSL 0.9.8g is released. 2008-05-29 03:04:05 +00:00
apb 3b16a09a38 Current Vers: tzcode2008a / tzdata2008c 2008-05-28 23:39:11 +00:00
ad 79d0501e52 Disable zero copy if MULTIPROCESSOR, until it is fixed:
- The TLB coherency overhead on MP systems is really expensive.
- It triggers a race in the VM system (grep kpause uvm/*).
2008-05-28 21:01:42 +00:00
wiz 42a745337d Sort SEE ALSO. Bump date for previous. 2008-05-28 19:00:16 +00:00
tonnerre 2fdc624293 Two unimportant changes for ciss(4):
- Add reference to bio(4), which is supported now.
 - Change my mail address to the NetBSD address since thebsh is no longer
   reachable, and people keep contacting me.
2008-05-28 17:53:25 +00:00
dyoung 5035ceab3b Fix kern/38775, "ifconfig inet delete fails". 2008-05-28 17:17:14 +00:00
joerg 5c0597e08b Add PMF hooks. Fixes PR 38675. 2008-05-28 16:20:17 +00:00
dyoung 801c395b47 Run shutdown hooks whether or not the kernel has panicked. Restores
NetBSD's shutdown behavior of more than 6 years before rev 1.176.
Ok joerg@.

It is essential that we restore some hardware to initial conditions
before rebooting, in order to avoid interfering with the BIOS
bootstrap.  For example, if NetBSD gives control back to the Soekris
comBIOS while the kernel text is write-protected, the BIOS bootstrap
hangs during the power-on self-test, "POST: 0123456789bcefghip".
In principle, bus masters can also interfere with BIOS boot.
2008-05-28 15:40:58 +00:00
tsutsui 07c5a11f73 Include files.bluetooth. 2008-05-28 14:05:14 +00:00
tsutsui 0e88f65e18 Print boot banner and a loading kernel name onto LCD,
for users who don't have serial console.  Bump version.
2008-05-28 14:04:07 +00:00
ad b5d8351e8e PR kern/38355 lockf deadlock detection is broken after vmlocking
- Fix it; tested with Sun's libMicro.
- Use pool_cache.
- Use a global lock, so the deadlock detection code is safer.
2008-05-28 13:35:32 +00:00
jmcneill 5e10ee6416 PR kern/38774: cosmetic typo in umidireg.h: SubType/Subtype, from
Patrick Mahoney
2008-05-28 12:59:30 +00:00
ad 788aa3a3b0 Give it a private X86_MAXPROCS def. XXX 2008-05-28 12:48:21 +00:00
ad 032b92980a /usr/include/atomic.h, for Solaris source compat. 2008-05-28 12:28:12 +00:00
njoly 7cdbbcf80d Add LINUX_TMPFS_SUPER_MAGIC, and map it to our tmpfs.
This makes sem_open/sem_unlink (POSIX named semaphores) work under
NPTL emulation.
2008-05-28 12:01:10 +00:00
ad 0c8e56007e Remove X86_MAXPROCS. There is still a 32-cpu limit, but it's now using
the MI constants.
2008-05-28 11:50:01 +00:00
ad 1d6047e0d2 Another use of X86_MAXPROCS. 2008-05-28 11:45:15 +00:00
ad 3e01024d3f Kill use of X86_MAXPROCS. 2008-05-28 11:44:18 +00:00
ad e74e1f24d8 Another latency test. This one uses realtime threads, _lwp_park, and
measures how long preemption takes (kernel preemption if the arch
implements it).
2008-05-28 11:34:07 +00:00
lukem bb2d78e387 add LIBLDAR_R (for completeness) 2008-05-28 11:23:26 +00:00
hauke 9dd4931827 Add LOCKDEBUG option, commented out, so that people know it's there. 2008-05-28 10:20:02 +00:00
wiz d493f8ddf4 Add FreeBSD 7.0 for libgssapi man pages. Noted by joerg. 2008-05-28 07:14:12 +00:00
he 43d9fe982a Add boot_com0 and boot_vga, to mirror recent changes. 2008-05-28 06:32:44 +00:00
dyoung d4ff34dc53 In tap_clone_destroy(), don't treat a pointer to the tap(4) softc
like it is a device_t.

In tap_clone_creator(), set cf_fstate to FSTATE_FOUND instead of
_NOTFOUND to avoid a panic in config_detach() on a DIAGNOSTIC
kernel.  XXX I'm not sure that that is the right fix.

These changes should put a stop to the crash described in kern/38759.
2008-05-28 06:28:12 +00:00
bjs c693c2b2dd Add work-in-progress of NetBSD-specific code. I will be committing a lot
more changes shortly (as soon as I work out the mmap offset insanity).
2008-05-28 04:52:48 +00:00
bjs 91174b68e0 Rework drm_atomic.h for correctness and readability:
- Use macros where appropriate.
 - Remove code for other operating systems -- we don't need it.
 - In atomic_read/atomic_set, cast to volatile.
 - Misc. cleanup.
2008-05-28 04:51:20 +00:00
snj fa7a018146 Fix a spelling error. 2008-05-28 00:31:10 +00:00
snj 86320a034c Fix a typo. 2008-05-28 00:29:12 +00:00
snj 4497f1f884 Remove trailing whitespace, correct a spelling error, and fix an xref. 2008-05-28 00:19:52 +00:00
ad 5831c8ac63 Pull in sys/evcnt.h. 2008-05-27 22:05:50 +00:00