Commit Graph

90831 Commits

Author SHA1 Message Date
ad
2d3a70d6e4 Quiten a noisy printf. 2007-12-01 16:07:20 +00:00
jmcneill
b276edd821 aprintify 2007-12-01 14:46:04 +00:00
jmcneill
a0d3b0d7a8 aprintify 2007-12-01 14:35:51 +00:00
bouyer
e13d04bb9f Use __define__ instead of define, pointed out by christos. 2007-12-01 12:57:09 +00:00
bouyer
e1353de789 Back out previous, majors.amd64 in files.amd64 is inside ifndef xen/endif 2007-12-01 12:52:20 +00:00
tsutsui
6e5ce03f0b - update a comment
- use __func__ to print function names
- some KNF
2007-12-01 11:41:20 +00:00
tsutsui
c35536aa0c - use __arraycount()
- some KNF
- use __func__ to print function names
2007-12-01 11:25:26 +00:00
tsutsui
d58e6ad66b - some KNF
- use __func__ to print function names
2007-12-01 11:24:41 +00:00
tsutsui
c9df1c18a5 - update a comment
- use __func__ to print function names
- some KNF
2007-12-01 11:23:44 +00:00
yamt
e8abff70f2 constify pagerops. 2007-12-01 10:40:27 +00:00
yamt
7355a3c4f8 remove a duplicated decl. of aobj_pager. 2007-12-01 10:40:03 +00:00
yamt
ee39418409 getnewvnode: remove a homegrown decl. of uvm_vnodeops. 2007-12-01 10:36:47 +00:00
yamt
062f8e82a2 use designated initiaizers for uvm_pagerops. 2007-12-01 10:18:21 +00:00
yamt
4450b52eeb uvm_pager_init: use __arraycount. 2007-12-01 10:08:21 +00:00
marty
d8b9a7ea7c Increase SYMTAB_SPACE to 264000 so the release kernel will compile 2007-12-01 06:52:12 +00:00
kiyohara
f400953756 Fix lost direction for the check on status, and read/writes. 2007-12-01 06:32:54 +00:00
jmcneill
1b940a02fa aprintify 2007-12-01 06:05:18 +00:00
jmcneill
4fbe23fdd0 aprintify 2007-12-01 04:50:50 +00:00
jmcneill
597a6bb9ae aprint-ify isaattach, removes a hard-to-find newline on a boot -z 2007-12-01 04:50:23 +00:00
dsl
1696bf29ff Ensure the mount data is a 0-terminated string - otherwise namei() might
process garbage (or unmapped addresses).
2007-12-01 00:09:41 +00:00
ad
b470ab628d Use membar_*(). 2007-11-30 23:05:43 +00:00
dsl
2d7e52ccd2 Don't pull in majors.amd64 here, we get another copy from files.amd64
and config bleats like mad.
2007-11-30 22:56:05 +00:00
ad
e81b22bdcb Make {anon,file,exec}pages unsigned. 2007-11-30 22:43:17 +00:00
dsl
956bff160a Temporarily make 'atomic_add_int()' a non-atomic add so the build suceeds.
At some point the functions will (presumably) make their way into either
libc or libutil.
2007-11-30 21:48:40 +00:00
pooka
21913eabe5 Rototill.
Ok, ok, a few more words about it: stop holding puffs_cc as a holy
value and passing it around to almost every possible place (popquiz:
which kernel variable does this remind you of?).  Instead, pass
the natural choice, puffs_usermount, and fetch puffs_cc via
puffs_cc_getcc() only in routines which actually need it.  This
not only simplifies code, but (thanks to the introduction of
puffs_cc_getcc()) enables constructs which weren't previously sanely
possible, say layering as a curious example.

There's still a little to do on this front, but this was the major
fs interface blast.
2007-11-30 19:02:28 +00:00
rmind
cbb391653c aio_enqueue_job: Fix the mix of previous commits, that is, increase
aio_jobs_count only once; also, decrease it in second error case too.

Noted by <ad>.
2007-11-30 17:39:43 +00:00
ad
72ec1a5a12 Fix another proto. 2007-11-30 17:13:10 +00:00
ad
6a46d2d08c Fix atomic_inc protos again. 2007-11-30 17:12:28 +00:00
yamt
8ec86368e9 - reduce the number of VOP_ACCESS calls for O_RDWR. for nfs, it reduces
the number of rpcs.
- reduce code duplication.
2007-11-30 16:52:19 +00:00
tsutsui
06ae954501 Pass correct size to allocate struct obmem_softc.
Fix an occasional panic on my 3/80.
2007-11-30 13:22:37 +00:00
pooka
1ff78520d8 Destroy genfs_node in reclaim. And init it earlier in vget so that we
don't try to destroy an uninited lock should vget fail.
2007-11-30 11:23:10 +00:00
ad
9f7dae4cb7 atomic_add_* works on signed integers. 2007-11-30 01:32:09 +00:00
dsl
e000b4476e Change the type of the mbr bootselect menu field from uint8_t to char. 2007-11-29 23:18:17 +00:00
ad
0b8a0d143c Drop text alignment back to 16 - the usual size of blocks the instruction
decoder works with.
2007-11-29 22:03:48 +00:00
xtraeme
f59c58fb50 regen 2007-11-29 21:08:19 +00:00
xtraeme
0970ce7295 Typo in previous s/HDSPA/HSDPA/ 2007-11-29 21:07:59 +00:00
ad
045db07a6d Fix minor error in previous. 2007-11-29 19:50:28 +00:00
xtraeme
0976f2f104 regen 2007-11-29 18:38:43 +00:00
xtraeme
88696b51e4 Add support for Novatel Wireless HSDPA Modem to ugensa(4), patch
from Marcin Michal Jessa... thanks.
2007-11-29 18:38:22 +00:00
ad
4acbed1e86 Fix DIAGNOSTIC build. 2007-11-29 18:33:29 +00:00
ad
e7e13da4c3 Use atomics to adjust lim->pl_refcnt. 2007-11-29 18:21:03 +00:00
ad
1cb3506898 Use atomics to adjust filedesc::fd_refcnt. 2007-11-29 18:17:47 +00:00
rmind
0e5c3c74c5 Finish the usage of atomic operations:
- Leave non-accurate pre-checks;
- Use atomic_inc_uint_nv() with re-check;

Reviewed by <ad>.
2007-11-29 18:17:01 +00:00
ad
6182ac0595 Use atomics to adjust cwdi_refcnt. 2007-11-29 18:15:14 +00:00
ad
e9e11b98df Use atomics to maintain uvmexp.{anon,exec,file}pages. 2007-11-29 18:07:11 +00:00
ad
7d57af5baa Pull in sys/intr.h 2007-11-29 18:04:46 +00:00
ad
a45b048ec2 Use atomics to maintain aio_jobs_count. XXX There is still a race, we
should should use atomic_inc_uint_nv() before setup to ensure that we
don't exceed the max number of concurrent jobs.
2007-11-29 17:52:27 +00:00
ad
7ec1c5e617 Use atomics to adjust the credential reference count. 2007-11-29 17:48:27 +00:00
ad
890e076b1a Pending review by uwe@:
- Make _lock_cas() do "compare and swap", not "compare and set".
- Add aliases for atomic_cas_ulong() and friends.
2007-11-29 17:33:09 +00:00
ad
ad40d74014 - Change lock_cas from "compare and set" to "compare and swap".
- Add aliases for atomic_cas_ulong(), etc.

Ok skrll@
2007-11-29 16:14:28 +00:00