Commit Graph

138770 Commits

Author SHA1 Message Date
thorpej
bdfafa03cd 1. Disable the lazy allocation of lev1map in pmap_enter(), instead doing
it in pmap_create(), and freeing the lev1map in pmap_destroy().  This
   means that pm_lev1map is consistent for the life of the pmap.
2. pmap_extract() now uses vtophys() for the kernel pmap.  This avoids
   having to lock the kernel pmap, since kernel PT pages are never freed.
3. Because of (1), pmap_asn_alloc() no longer needs to operate on a locked
   pmap; pm_lev1map will never change over the life of the pmap, and all
   other access to the pmap is done in per-CPU fields or with atomic
   operations.
4. Because of (3), pmap_activate() no longer needs to lock the pmap
   to do its work, thus eliminating the deadlock with sched_lock described
   in PR port-alpha/25599.  This is safe because we are guaranteed that
   the pmap is still alive, since by definition an LWP that uses that it
   is about to run.

Thanks to Michael Hitch for the analysis, and Michael and Ragge for testing.
2005-07-26 04:11:53 +00:00
christos
3692d77541 Whitespace KNF cleanup from Max Okumoto 2005-07-25 22:55:58 +00:00
cube
c3414672de The devi lists in struct devbase and struct deva really should use the
TAILQ set of macros from queue.h...  It's way too easy to make mistakes...

config(1) was segfaulting in deldev() in some situations...  Reported by
Brend Ernesti.
2005-07-25 22:31:07 +00:00
rpaulo
b539de839b Added /usr/share/wscons/keymaps/mkbd.pt.iso8859-2. 2005-07-25 19:58:32 +00:00
rpaulo
f74909745b Added Portuguese keymap for MAPLE keyboards, found on SEGA Dreamcast.
ok hubertf@
2005-07-25 19:57:30 +00:00
is
1906767db5 normalize capitalization. No functional change. 2005-07-25 19:27:42 +00:00
hubertf
65cee02da7 Fix paths of vndcompress (binary and manpages+category) 2005-07-25 18:34:38 +00:00
ross
d4a5f77997 Fix compilation nits with WM_DEBUG. 2005-07-25 18:26:24 +00:00
hubertf
f81ddc5831 Add vndcompress 2005-07-25 18:10:09 +00:00
christos
5d719b264e In the SIGIO case, only check that we are the controlling tty if we are a
session leader.
2005-07-25 17:32:03 +00:00
christos
e7adb37afc PR/30832: Tomas Skäre: Freed memory used in lib/libc/getnetgrent.c
While there, KNF and ansify.
2005-07-25 14:38:48 +00:00
drochner
d6736d7a2e minor usability improvements:
-fabricate a trivial geometry also in the case of images <=1M
 (XXX I didn't add a check for >0 size -- this is generally harmless
  because there are enough boundary checks present, and it allows
  to test some corner cases in the disklabel handling code)
-ignore the VNF_KLABEL flag -- the vnd device is if limited (and
 well-defined!) lifetime anyway, and the implications of "keeplabel"
 are confusing at best
2005-07-25 13:25:08 +00:00
drochner
2d0de57f09 remove unused (hopefully:-) softc fields for disk geometry 2005-07-25 12:52:44 +00:00
wiz
a654b897c8 Sync usage with man page. 2005-07-25 12:25:54 +00:00
wiz
8107329829 Various improvements. 2005-07-25 12:24:40 +00:00
hubertf
2b72198a99 Add vndcompress(1) and vnduncompress(1) to transform filesystem/disk
images from "normal" into cloop2-format compressed images and back.
Written by Florian Stoehr (netbsd@wolfnode.de) with some polishing
by me.

Compressed disk images can be used with the vnd(4) driver when compiled with
VND_COMPRESSION and "vnconfig -z".  Useful for creation of Live CDs/DVDs.
2005-07-25 12:19:36 +00:00
hubertf
e98029593c Add vndcompress(1) and vnduncompress(1) to transform filesystem/disk
images from "normal" into cloop2-format compressed images and back.
Written by Florian Stoehr (netbsd@wolfnode.de) with some polishing
by me.

Compressed disk images can be used with the vnd(4) driver when compiled with
VND_COMPRESSION and "vnconfig -z".  Useful for creation of Live CDs/DVDs.
2005-07-25 12:17:59 +00:00
drochner
e32ba1775e fix crash in mount error handling: don't free storage which was not
malloc'd
2005-07-25 11:42:38 +00:00
drochner
b974cae7e2 Allow the test for ISO9660 filesystems to be applied to non-CD devices
and plain file images too. If no TOC can be read, a single track is
assumed which spans the whole thing.
The disklabel will be updated if supported by the device. If not, just
the ISO volume label information will be printed.
2005-07-25 11:26:40 +00:00
cube
878c29f51a Correct an if test. 2005-07-25 06:22:09 +00:00
kleink
5b0cd10c45 Add missing brace to previous. 2005-07-25 05:44:36 +00:00
christos
aa112c89a9 PR/30823: Dave Huang: Panic reading files larger than 4GB on NTFS 2005-07-25 00:48:22 +00:00
christos
9ebf9ba020 regen. 2005-07-25 00:41:48 +00:00
christos
5a8da30681 PR/29925: Mihai CHELARU: Fix for stge 1023. 2005-07-25 00:41:12 +00:00
rpaulo
25a6efd600 Fix another sigignore -> sigset typo.
ok klenik@, hubertf@
2005-07-24 21:58:32 +00:00
cube
f56d0671fd I forgot the timestamp for the entry. 2005-07-24 21:41:27 +00:00
cube
f95ac37d30 Note the new feature of config(1). 2005-07-24 21:35:39 +00:00
cube
e499d8b53e Implement the long overdue syntax "no <dev> at <attachment>". We can't
pretend anymore we don't have it.

This is the result of 7 hours of work on the train journey forth and
back to the family reunion for the birthday of my cousin Mickael, whom
I thank for living just far away enough.
2005-07-24 21:31:02 +00:00
wiz
f3ce44eee2 Sort options. Various other fixes. 2005-07-24 21:07:52 +00:00
rpaulo
d49bebea61 Add examples for scroll.fastlines and scroll.slowlines.
Also, bump the man page date.

ok wiz@, hubertf@
2005-07-24 20:54:06 +00:00
erh
fbd6fe6c7f Provide a sysctl (vfs.layerfs.debug) to control verbose output when
LAYERFS_DIAGNOSTIC is turned on.
2005-07-24 17:33:24 +00:00
wiz
60daf88fca Fix typo. 2005-07-24 14:24:53 +00:00
wiz
429d29ed4f Add dummy_pci and wi_pcmcia lkms. 2005-07-24 13:08:29 +00:00
augustss
0f20a7dcdb Add 'uhci at cardbus'. 2005-07-24 08:53:50 +00:00
augustss
eb036d2674 Add file for 'uhci at cardbus'. From FUKAUMI Naoki in kern/30814. 2005-07-24 08:48:03 +00:00
augustss
c1a19f89d8 Document 'uhci at cardbus'. From FUKAUMI Naoki. 2005-07-24 08:44:59 +00:00
skrll
51c5e03c82 Support immediate PLT binding on vax. Tested on simh.
Nearly there...
2005-07-24 08:02:23 +00:00
taca
b04d9bdf51 ISC DHCP 3.0.3 released. 2005-07-24 06:26:46 +00:00
peter
cea97248d3 Fix an off-by-one in checking the return value of strlcpy(9).
Reviewed by atatat.
2005-07-23 23:34:52 +00:00
cube
ae35d4a4e9 Regen (__sigtimedwait(2)). 2005-07-23 22:04:12 +00:00
cube
73fe747f11 Implement __sigtimedwait(2). 2005-07-23 22:03:45 +00:00
cube
875e65cda6 Introduce __sigtimedwait1 which will help adding COMPAT_NETBSD32 support
for __sigtimedwait(2).
2005-07-23 22:02:13 +00:00
cube
a6b803a79f Constify conversion functions. 2005-07-23 21:51:29 +00:00
cube
d3bde451a6 Remove an extra empty line. 2005-07-23 19:43:01 +00:00
cube
21472d491b Regen (timer_create(2) and friends). 2005-07-23 18:57:07 +00:00
cube
23a1110cbd Implement the timer_create(2) family of syscalls. 2005-07-23 18:56:15 +00:00
cube
2844b7b432 Split sys_timer_create, sys_timer_gettime and sys_timer_settime so they
can be easily used by netbsd32 code.

XXX Meanwhile, introduce a copyinout_t type that matches the prototype of
XXX copyin(9) and copyout(9).  Its logical place would be in systm.h, near
XXX the definition of copyin, but, well, see the comment.
2005-07-23 18:54:07 +00:00
erh
5a521f35e0 Fix a null vp panic when creating a file at veriexec strict level 3. 2005-07-23 18:19:51 +00:00
kiyohara
262bf10a6d Since fwip_unicast_input_recycle() is called from interrupt context, one
can't sleep there.
2005-07-23 16:55:13 +00:00
drochner
20b1effdae build pci/pcmcia driver LKMs only on i386 and alpha
(this is where I could test, could be more)
2005-07-23 16:11:18 +00:00