173587 Commits

Author SHA1 Message Date
tsutsui
3290879d07 Regen from GENERIC.in rev 1.69:
> Enable fss(4) in not only GENERIC but also all !INSTALL kernels (i.e. DRACO).
2008-09-24 17:27:49 +00:00
tsutsui
54c9942f97 Enable fss(4) in not only GENERIC but also all !INSTALL kernels (i.e. DRACO). 2008-09-24 17:26:37 +00:00
tsutsui
d4bee92bb7 Regen from GENERIC.in rev 1.68:
> Add accept filters to a proper file, as _READ_ME_FIRST_ claims.
2008-09-24 17:20:43 +00:00
tsutsui
bec1aa68f2 Add accept filters to a proper file, as _READ_ME_FIRST_ claims. 2008-09-24 17:18:02 +00:00
christos
389390f57e pacify lint. 2008-09-24 16:58:53 +00:00
christos
0588e62651 fix newer gcc warning. 2008-09-24 16:24:30 +00:00
christos
194e105784 From Ilya Dogolazky ilya.dogolazky at teleca dot fi:
The new algorithm does not use any array initialisation.
Instead of that the only integer variable "index" is initialized.
It is not using any bitwise operations and shifts as well.

The well-known algorithm (an efficient representation for sparse sets) is
mentioned as exercise 2.12 in "The Design and Analysis of Computer Algorithms"
by Alfred Aho, John Hopcroft and Jeffrey Ullman. It is described here
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.30.7319
and here
http://research.swtch.com/2008/03/using-uninitialized-memory-for-fun-and.html
2008-09-24 14:36:02 +00:00
rtr
84b55d4784 - add exa cat,man,html entries (from hubertf@)
- sort and make uniq
- remove commented out Xmacppc
2008-09-24 10:11:29 +00:00
ad
c63b8853fe PR kern/30525 remounting ffs read-only (mount -ur) does not sync metadata
Prevent r/w to r/o downgrade until such time as someone has verified all
the relevant file system code.
2008-09-24 10:07:19 +00:00
ad
b72735bab2 PR kern/39307 mfs will sometimes panic at umount time
Don't drop reference to the mount if VFS_START() fails - that's for unmount
to do.
2008-09-24 09:44:09 +00:00
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