jeff
41b9d1ca5d
- Lock accesses to v_usecount.
...
- Convert interlock locks to use standard macros.
2002-09-25 02:45:50 +00:00
jeff
263f8202f6
- Don't use the interlock to protect v_writecount.
2002-09-25 02:44:55 +00:00
jeff
76a1e2b647
- Use vrefcnt() instead of v_usecount.
2002-09-25 02:42:43 +00:00
jeff
65328ea561
- Hold the vn lock over vm_mmap().
2002-09-25 02:42:04 +00:00
jeff
004a26186f
- Use incore() instead of gbincore() so we don't have to acquire the
...
vnode interlock.
2002-09-25 02:39:39 +00:00
jeff
5c7f8a426d
- Lock access to the buf lists.
...
- Use vrefcnt() where appropriate.
- Add some locking asserts.
2002-09-25 02:38:43 +00:00
jeff
906daccf72
- Lock access to the buf lists.
...
- Use vrefcnt() where appropriate.
2002-09-25 02:34:56 +00:00
jeff
d168f755f9
- Use vrefcnt() instead of directly accessing v_usecount.
2002-09-25 02:33:29 +00:00
jeff
f7e588347b
- Use vrefcnt() where it is safe to do so instead of doing direct and
...
unlocked accesses to v_usecount.
- Lock access to the buf lists in the various sync routines. interlock
locking could be avoided almost entirely in leaf filesystems if the
fsync function had a generic helper.
2002-09-25 02:32:42 +00:00
jeff
55a297392d
- Lock access to the buf lists in spec_sync()
...
- Fixup interlock locking in spec_close()
2002-09-25 02:29:49 +00:00
jeff
e314a37c45
- Hold the vp lock while accessing v_vflags.
2002-09-25 02:28:07 +00:00
jeff
ee7cd9172d
- Lock down the syncer with sync_mtx.
...
- Enable vfs_badlock_mutex by default.
- Assert that the vp is locked in VOP_UNLOCK.
- Use standard interlock macros in remaining code.
- Correct a race in getnewvnode().
- Lock access to v_numoutput with interlock.
- Lock access to buf lists and splay tree with interlock.
- Add VOP and VI asserts.
- Lock b_vnbufs with the vnode interlock.
- Add vrefcnt() for callers who want to retreive the vnode ref without
holding a lock. Add a comment that describes when this is safe.
- Add vholdl() and vdropl() so that callers who already own the interlock
can avoid race conditions and unnecessary unlocking.
- Move the VOP_GETATTR() in vflush() into the WRITECLOSE conditional case.
- Hold the interlock before droping the mntlist_mtx in vflush() to avoid
a race.
- Fix locking in vfs_msync().
2002-09-25 02:22:21 +00:00
jeff
881a59ab9e
- Properly lock v_vflags in getdirents().
2002-09-25 02:13:38 +00:00
jeff
8ec2a2de7d
- Use incore() where no other interlock locking is necessary.
...
- Lock access to numoutput.
2002-09-25 02:12:32 +00:00
jeff
54956e8ea4
- Lock accesses to v_numoutput.
...
- Lock calls to gbincore.
2002-09-25 02:11:37 +00:00
wollman
e2ee095e08
Back down to 1003.2-1992 for the time being -- it is causing too many
...
headaches for common but deprecated uses of standard utilities.
2002-09-25 01:58:56 +00:00
jeff
fb08412291
- Don't protect mountedhere with the vn interlock.
...
- Protect mountedhere with the vn lock.
2002-09-25 01:44:21 +00:00
jeff
0649189fd7
- Use the standard vp interlock macros.
2002-09-25 01:42:24 +00:00
jeff
9e67fe9c96
- Finish the struct vnode lock annotation.
...
- Order fields by what lock is required to access them.
2002-09-25 01:37:25 +00:00
jeff
56df6932b3
- Get rid of the unused LK_NOOBJ.
2002-09-25 01:24:58 +00:00
jeff
4792c0673b
- Lock access to numoutput on the swap devices.
2002-09-25 01:24:17 +00:00
jeff
ee079921fc
- Add a ASSERT_VOP_LOCKED in vnode_pager_alloc.
...
- Lock access to v_iflags.
2002-09-25 01:23:43 +00:00
jake
f4ce091d17
Removed debug code.
2002-09-25 01:13:46 +00:00
jake
030f139fca
Pass the function to call (trap or syscall) to tl0_trap and tl1_trap in %o2.
2002-09-25 00:26:04 +00:00
jake
db1f953528
Rearrange tl1_trap slightly, also save and restore the out registers so
...
that instruction emulation is possible in kernel mode.
2002-09-24 23:22:42 +00:00
ps
00ab0405c9
Add some PCI id's for fxp. I've only tested 0x103B, but the Intel
...
Linux driver defines 0x103[B-E] so add those as well.
Obtained from: Intel Linux e100 driver
MFC: Immediately if re@ allows it, otherwise after 4.7-RELEASE
2002-09-24 23:13:38 +00:00
mike
b9b0e10101
Get howmany() macro from <sys/param.h>, instead of depending on its
...
existence in <sys/types.h>.
2002-09-24 22:30:56 +00:00
jake
0cde982423
Allocate stack space for the trapframe along with the normal register
...
frame in the save instruction, rather than doing a separate sub.
2002-09-24 22:19:20 +00:00
mjacob
d376bae456
Code cleanup: use mpt_prt instead of device_printf.
2002-09-24 21:33:43 +00:00
jhb
a8f31edbf6
Remove all mention of MTX_NOSWITCH. It was obsoleted a long time ago.
2002-09-24 20:45:58 +00:00
ache
d218d8d076
Use POSIX-style sort syntax in example
2002-09-24 20:15:11 +00:00
ache
106b553336
Make it works with POSIX sort (POS arg)
...
All old sorts understand -k too.
2002-09-24 20:10:59 +00:00
ache
b56aac320b
Make it works with POSIX sort (POS arg)
...
All old sorts understand -k too.
2002-09-24 20:05:01 +00:00
ache
98b90cd850
Set _POSIX2_VERSION=199209 before calling MKkey_defs.sh as workaround of
...
obsolete +POS sort syntax.
2002-09-24 19:55:37 +00:00
fanf
e51e2c42c3
The spec says that unifdefall removes all #ifs, and this now requires
...
the -k flag to unifdef.
2002-09-24 19:50:03 +00:00
fanf
31ed0a9f39
The readability is improved by reducing the use of the passive voice.
...
No changes to the meaning are made.
2002-09-24 19:48:39 +00:00
fanf
e90165a4c9
It is probably a bad idea to unconditionally process directives with
...
constant controlling expressions: in particular, removing #if 0 sections
is considered "rude". This commit changes the default so that such
things are passed through unchanged, and the old behaviour can be had
with the -k "kill konsts" flag.
Suggested by: markm
MFC after: 3 weeks
2002-09-24 19:27:44 +00:00
ache
136752fc53
Make it work with POSIX sort (POS arg).
...
All old sorts understand -k too.
2002-09-24 19:05:40 +00:00
schweikh
7db6eff0eb
Correct the description of what fortunes get installed (by default, also the
...
offensive ones). Make it clear that datfiles/Makefile needs to be edited in
case someone wants it otherwise.
PR: misc/36153
Submitted by: Nick Jennings <nick@namodn.com>
X-MFC after: 4.7 is out the door.
2002-09-24 19:00:52 +00:00
ache
ac09299ab9
Make it work with POSIX sort (POS arg).
...
All old sorts understand -k too.
2002-09-24 18:53:46 +00:00
ache
f827f40f52
Make it work with POSIX sort (POS arg)
...
All old sorts understand -k too.
2002-09-24 18:16:36 +00:00
brooks
5ce5ffe872
Convert most printf()s to if_printf()s.
2002-09-24 17:37:32 +00:00
brooks
d039f38d0d
Add a new helper function if_printf() modeled on device_printf(). The
...
function takes a struct ifnet pointer followed by the usual printf
arguments and prints "<interfacename>: " before the results of printf.
Since this is the primary form of printf calls in network device drivers
and accounts for most uses of the ifnet menber if_unit, this
significantly simplifies many printf()s.
2002-09-24 17:35:08 +00:00
mike
d73b1f9b7b
Add forgotten <sys/_types.h> include. Fix some style bugs while I'm
...
here.
PR: 43326
2002-09-24 17:28:12 +00:00
ume
384a0a6a2d
Mention about how to build sendmail with SASLv2.
2002-09-24 17:07:37 +00:00
jake
1c445b956e
Split user trap processing out into a separate routine so that traps which
...
never result in user traps don't have to plow through it.
2002-09-24 16:42:18 +00:00
pdeuskar
20ae0f27ef
Corrected license in the source files. It should say "MUST" instead of "MAY".
...
MFC after: 2 days
2002-09-24 16:27:59 +00:00
markm
4b4bdaaf37
Fix some bitrotted documentation.
2002-09-24 13:34:36 +00:00
tjr
2f81b61678
Warn when setinvalidrune() is referenced for consistency with the rest
...
of the rune functions (except sgetrune() and sputrune(), which are really
macros).
2002-09-24 09:25:37 +00:00
tjr
6e674f682e
Add cross-references between wide character and single-byte character
...
versions of printf() and scanf().
2002-09-24 09:22:47 +00:00