| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Olivier Houchard <cognet@ci0.org>
|
|
|
|
| |
environment variable to enable the lock verifiction code.
|
| |
|
|
|
|
| |
in vm_object_split().
|
|
|
|
|
|
| |
Tell vop_strategy_pre() to use this instead.
- Ignore B_CLUSTER bufs. Their components are locked but they don't really
exist so they don't have to be. This isn't ideal but it is safe.
|
|
|
|
| |
returning locked bufs.
|
|
|
|
|
|
| |
vm_mmap() as well as the GETATTR etc.
- If the handle is a vnode in vm_mmap() assert that it is locked.
- Wiggle Giant around a little to account for the extra vnode operation.
|
|
|
|
| |
in bp->b_object.
|
|
|
|
|
|
| |
Add newlines after function return types in function declarations.
Approved by: wpaul (a long time ago)
|
|
|
|
|
|
| |
Add newlines after function return types in function declarations.
Approved by: wpaul (a long time ago)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Cache a pointer to the vnode's object in the buf.
- Hold a reference to that object in addition to the vnode's reference just
to be consistent.
- Cleanup code that got the object indirectly through the vp and VOP calls.
This fixes at least one case where we were calling GETVOBJECT without a lock.
It also avoids an expensive layered call at the cost of another pointer in
struct buf.
|
|
|
|
|
|
| |
or suspension request.
Submitted by: David Xu
|
|
|
|
|
|
| |
- Grab the vnode object early in exec when we still have the vnode lock.
- Cache the object in the image_params.
- Make use of the cached object in imgact_*.c
|
|
|
|
|
|
|
|
| |
- Switch to the new vop_strategy_pre for lock validation.
VOP_STRATEGY requires only that the buf is locked UNLESS the block numbers need
to be translated. There may be other reasons, but as long as the underlying
layer uses a VOP to perform the operations they will be caught later.
|
|
|
|
|
|
|
|
|
| |
- Disable original vop_strategy lock specification.
- Switch to the new vop_strategy_pre for lock validation.
VOP_STRATEGY requires only that the buf is locked UNLESS the block numbers need
to be translated. There may be other reasons, but as long as the underlying
layer uses a VOP to perform the operations they will be caught later.
|
|
|
|
| |
intact but disabled.
|
|
|
|
| |
with DEBUG_VFS_LOCKS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the VOP inlines. This is intended to replace the simple locking
specifications for calls that have more complicated behavior such as rename and
lookup.
The syntax of the new entries is:
#! name pre/post function
If the function is marked 'pre' it is executed prior to calling the VOP and
takes a pointer to a struct vop_{name}_args as it's only parameter.
If the function is marked 'post' it is executed after the VOP call and takes
a pointer to a struct vop_{name}_args as it's first parameter and the integer
return value from the vop as the second paramter.
|
| |
|
|
|
|
|
|
| |
^Z should work a lot better now.
Submitted by: peter@freebsd.org
|
|
|
|
|
|
|
| |
zero-copy files
Requested by: rwatson
Approved by: Jeff Chase (my old boss at Duke)
|
|
|
|
|
|
|
| |
in the zero-copy send path if a process attempts to write to a page
which is still in flight.
reviewed by: ken
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
now it should support all the instructions of the old ipfw.
Fix some bugs in the user interface, /sbin/ipfw.
Please check this code against your rulesets, so i can fix the
remaining bugs (if any, i think they will be mostly in /sbin/ipfw).
Once we have done a bit of testing, this code is ready to be MFC'ed,
together with a bunch of other changes (glue to ipfw, and also the
removal of some global variables) which have been in -current for
a couple of weeks now.
MFC after: 7 days
|
|
|
|
|
|
| |
calls to zone_drain().
Noticed by: scottl
|
|
|
|
|
| |
Obtained from: NetBSD
Reviewed by: jake, rwatson, bosko
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
internal PHY on the 3COM 3C905B and 3C905C parts, however I've rigged it so
that xlphy (aka exphy) takes precedence for the time being.
If people try this with their xl cards and decide that it's a better choice,
we can switch this later.
This is the PHY used in various iMacs and possibly other GMAC-equipped
Macintoshes with 10/100 PHYs (the ones with 10/100/1000 appear to use brgphy).
Obtained from: NetBSD
|
|
|
|
|
|
| |
in the 3C905C. This is mainly cosmetic.
I'm doing this mainly so we share the same identifier as NetBSD.
|
| |
|
|
|
|
|
|
| |
- Tell IS_LOCKING_VFS to ignore block and character devices. specfs vnodes
aren't locked for io and they just generate lots of false positives.
- Add newlines to the badlock prints.
|
| |
|
|
|
|
| |
full vnode lock debugging is enabled.
|
|
|
|
|
|
|
|
|
| |
we just have to deal with the kstack when told to. We do not have a
UMA-managed cache for the proc struct and its associated upage yet. So,
go back to the old lazy mechanism. Note that if UMA destroys pages that
used to contain proc structures, we'll lose the corresponding upage
forever. (zones never did this - once a page was allocated, it stayed
attached to the proc zone forever)
|
|
|
|
|
| |
rev 1.328-1.331.) but for uarea only. We still have our own broken
kstack code here.
|
| |
|
|
|
|
|
| |
ifdef list that currently lists all the non-i386 platforms that bpf
currently works on.
|
|
|
|
|
|
|
|
|
|
| |
driver. I tried a few obvious experiments, but was unable to make
the 3c996B-T generate correct UDP checksums for transmitted fragmented
packets. I'm not so sure the device is even capable of it.
This fixes NFS over UDP.
MFC after: 1 day
|
|
|
|
|
|
| |
queue lock (revision 1.33 of vm/vm_page.c removed them).
o Make the free queue lock a spin lock because it's sometimes acquired
inside of a critical section.
|
|
|
|
| |
calculation in get_ptbase() to a little later on.
|
| |
|
|
|
|
| |
they are already called when uma calls thread_init()
|
|
|
|
|
| |
XXX should really replace the pmap_{new,swapin,swapout,dispose}_{proc,thread}
functions with the much cleaner sparc64 versions.
|
|
|
|
| |
My eyes openned by: Matt
|
| |
|