Commit Graph

173577 Commits

Author SHA1 Message Date
ad
25b04084c4 Don't assign vnode::v_mount. getnewvnode() does it. 2008-09-24 09:37:13 +00:00
ad
edd4d8eda9 PR kern/39307 mfs will sometimes panic at umount time
In vfs_destroy, assert that the refcount is not dropping below zero.
2008-09-24 09:33:40 +00:00
hannken
bc62834f44 Resolve a race when physio_done signals completion before it tries to
free a buffer.  This will fail if the buffer owner has a chance to
modify the BC_DONTFREE flag before putphysbuf() examines it.

Fix by removing get/putphysbuf() and BC_DONTFREE.  Physio_done() now
has an explicit test for a buffer coming from the call of physio().

Observed by Lars Nordlund when writing a DVD with growisofs, see PR kern/39536.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2008-09-24 08:19:19 +00:00
ad
3704b6874f PR kern/38872 vnconfig panics with rw lock error
Pass IO_NODELOCKED where needed.
2008-09-24 07:57:30 +00:00
apb
bd0daea8ff regen for recent change to examples and objdir advice,
and for the older MKSTRIPIDENT change.
2008-09-24 07:38:04 +00:00
apb
437dcf469b * Strengthen the advice against relying on the default objdir selection
rules.
* Add "[options]" to examples in an attempt to make it clear that
  extra options should be passed.
2008-09-24 07:36:52 +00:00
ws
0f3b6c479f If you want to test option INET, make sure that it is in sight. 2008-09-24 07:19:18 +00:00
dogcow
0671e7638a If you're going to add c99's entries to the setlists, you probably want to
descend into the directory. (HI HUBERT!)
2008-09-24 02:19:45 +00:00
hubertf
bce82202b3 Fix standard name, add c99 features, misc other cleanup. 2008-09-24 00:19:46 +00:00
hubertf
3315dfcbf7 Implement /usr/bin/c99 script as wrapper for cc to run in C99 compatible
mode. Patch submitted by Andy Shevchenko <andy.shevchenko@gmail.com>
on tech-userlevel.
2008-09-23 23:59:03 +00:00
pooka
1179d6842d Make kauth_cred_setgroups() signature match the const, hard reality. 2008-09-23 22:40:46 +00:00
christos
29fd335624 PR/39583: Brad du Plessis: acrmsr(4) driver doesn't report number of volumes correctly
to bioctl(8)
PR/39584: Juan RP: arcmsr(4) driver disk state values are incorrect (for ARC-1220)
2008-09-23 22:22:41 +00:00
pooka
2134732d08 Move [hH][eE][xX][dD][iI][gG][iI][tT][sS](*) from subr_prf to subr_prf2
for use with rumps.

*) yes, I just had to.  Notably though, there were only two
   symbols instead of 128.
2008-09-23 22:20:24 +00:00
christos
881c644962 PR/39458: Juan RP: avoid attaching coretemp on systems that don't have it
by checking the read valid bit.
2008-09-23 22:14:09 +00:00
reed
0d1a6d8e47 Fix a typo/mispelling.
Spell out minimum and maximum.
2008-09-23 21:50:41 +00:00
oster
c4025116b9 Nuke unneeded printf(). Spotted by pooka@. 2008-09-23 21:36:35 +00:00
martin
ee1e376b77 pmap_is_modified() and pmap_is_referenced(): when we don't find a cached
positive answer in the list head, make sure to aquire pmap_lock before
traversing the pv list (and update the cache in head).
Fixes a diagnostic debugger call reported by Havard Eidnes.
2008-09-23 21:30:11 +00:00
christos
93aed8f8e3 fix half-assed change usec -> nsec that broke non-real timers. 2008-09-23 16:44:49 +00:00
pooka
ed8826a34e Remove some of my debugging code which was not meant to be committed
in the wapbl merge.
2008-09-23 15:27:59 +00:00
briggs
d36327b66c IPTOS values are defined in netinet/ip.h, not netinet/in.h. 2008-09-23 14:58:05 +00:00
joerg
916a606f2a Explicitly disable all GPEs and clear fixed events before enabling
interrupts. This is the first part of PR 38683.
2008-09-23 14:54:23 +00:00
mjf
f1aa727396 Almost fix capturing audio with harmony(4).
There is a still a bug whereby a chunk of previously recorded data may
appear in the recorded audio file. This goes part way to fixing PR/35239
2008-09-23 14:07:11 +00:00
macallan
42501f6294 properly 'probe' the MPC7400's L1 caches - before we'd fall through to
setting both to PAGE_SIZE
2008-09-23 13:58:59 +00:00
christos
8d896b1fc3 fix reversed comment, from anon ymous 2008-09-23 12:37:05 +00:00
rtr
23628a958e add more includes to CPPFLAGS for dri/drm 2008-09-23 11:33:56 +00:00
rtr
af2ef3a0c6 descend into xf86-video-mach64 2008-09-23 11:33:16 +00:00
ad
ea0ceff13f Speed up ipmi attach a bit, although boot times on my workstation still suck:
before		18s
after		14s
without	ipmi	8s
2008-09-23 10:17:06 +00:00
rmind
a27aa91b67 Use "processor set" term to avoid confusion with cpuset(3).
Mention pset(3) man page.
2008-09-23 10:09:56 +00:00
ad
0bf5fc898b Move test for __SWAP_BROKEN here. 2008-09-23 08:56:15 +00:00
ad
3689374b96 - Make free target 0.5%, but limit to between 128k and 1024k.
- Scale free target by number of CPUs.
- Prefer pageing to swapping.

Proposed on tech-kern.
2008-09-23 08:55:52 +00:00
ad
c5eb1a3b5c stts: don't modify %cr0 if TS is already set. 2008-09-23 08:50:11 +00:00
hannken
95da771bbd Build modular fss driver.
Reviewed by: Quentin Garnier <cube@netbsd.org>
2008-09-23 07:56:59 +00:00
skrll
826062446a Build and install a libgcov. 2008-09-23 06:59:42 +00:00
dholland
16bf28a6f5 fix typo in comment 2008-09-23 06:08:07 +00:00
cube
763642fd37 Note intsallation of the exa module. 2008-09-22 16:19:57 +00:00
cube
a4b6a22ef9 Descend into exa to build and install it. 2008-09-22 16:11:48 +00:00
hubertf
4841b75981 sign over my copyright to TNF 2008-09-22 13:10:25 +00:00
hubertf
c9ffef3ace use latest TNF copyright 2008-09-22 13:09:22 +00:00
njoly
b6ef5a15fb Regen after cleanup. 2008-09-22 13:08:50 +00:00
njoly
2fedf4a0fb Kill a few linux32 syscalls identical to netbsd32 ones.
No functional changes expected.
2008-09-22 13:07:46 +00:00
hubertf
8699105838 Sign over my copyright to TNF 2008-09-22 13:06:57 +00:00
rtr
6dedfbb43b mach64 driver set list entries for amd64 and i386 2008-09-22 08:22:44 +00:00
rtr
ad66e642d4 add reachover for mach64 driver 2008-09-22 08:21:34 +00:00
freza
4ebea2e5f3 Revert previous, pooka@ points out it's wrong. 2008-09-21 23:22:00 +00:00
jmcneill
c175112638 Remember previous display brightness across suspend/resume; now we don't
need X to restore the display for us.
2008-09-21 21:15:28 +00:00
freza
262577121d WAPBL: in '%s: replaying log to disk' message use the path we're
trying to mount on instead of the misleading last-mounted-on
    path. Reported by jmcneill.
2008-09-21 21:08:22 +00:00
joerg
af4f585309 Switch to libarchive in src/external/bsd. 2008-09-21 19:45:59 +00:00
jmcneill
c3641af740 Register with pmf 2008-09-21 19:26:36 +00:00
jmcneill
402497db0a Guard against short bHeaderLength when processing video payload 2008-09-21 19:22:21 +00:00
freza
8f5a2d0c69 Make it compile with DPRINTFs disabled. 2008-09-21 18:20:03 +00:00