| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Add newlines after function return types in function declarations.
Approved by: wpaul (a long time ago)
Notes:
svn path=/head/; revision=99498
|
|
|
|
|
|
|
|
|
| |
Add newlines after function return types in function declarations.
Approved by: wpaul (a long time ago)
Notes:
svn path=/head/; revision=99497
|
|
|
|
| |
Notes:
svn path=/head/; revision=99492
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
Notes:
svn path=/head/; revision=99489
|
|
|
|
|
|
|
|
|
| |
or suspension request.
Submitted by: David Xu
Notes:
svn path=/head/; revision=99488
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=99487
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
Notes:
svn path=/head/; revision=99486
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
Notes:
svn path=/head/; revision=99485
|
|
|
|
|
|
|
| |
intact but disabled.
Notes:
svn path=/head/; revision=99484
|
|
|
|
|
|
|
| |
with DEBUG_VFS_LOCKS.
Notes:
svn path=/head/; revision=99483
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=99482
|
|
|
|
| |
Notes:
svn path=/head/; revision=99481
|
|
|
|
|
|
|
|
|
| |
^Z should work a lot better now.
Submitted by: peter@freebsd.org
Notes:
svn path=/head/; revision=99480
|
|
|
|
|
|
|
|
|
|
| |
zero-copy files
Requested by: rwatson
Approved by: Jeff Chase (my old boss at Duke)
Notes:
svn path=/head/; revision=99479
|
|
|
|
|
|
|
|
|
|
| |
in the zero-copy send path if a process attempts to write to a page
which is still in flight.
reviewed by: ken
Notes:
svn path=/head/; revision=99476
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=99475
|
|
|
|
|
|
|
|
|
| |
calls to zone_drain().
Noticed by: scottl
Notes:
svn path=/head/; revision=99472
|
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Reviewed by: jake, rwatson, bosko
Notes:
svn path=/head/; revision=99459
|
|
|
|
| |
Notes:
svn path=/head/; revision=99443
|
|
|
|
| |
Notes:
svn path=/head/; revision=99441
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=99440
|
|
|
|
|
|
|
|
|
| |
in the 3C905C. This is mainly cosmetic.
I'm doing this mainly so we share the same identifier as NetBSD.
Notes:
svn path=/head/; revision=99439
|
|
|
|
| |
Notes:
svn path=/head/; revision=99427
|
|
|
|
|
|
|
|
|
| |
- 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.
Notes:
svn path=/head/; revision=99426
|
|
|
|
| |
Notes:
svn path=/head/; revision=99424
|
|
|
|
|
|
|
| |
full vnode lock debugging is enabled.
Notes:
svn path=/head/; revision=99423
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=99422
|
|
|
|
|
|
|
|
| |
rev 1.328-1.331.) but for uarea only. We still have our own broken
kstack code here.
Notes:
svn path=/head/; revision=99421
|
|
|
|
| |
Notes:
svn path=/head/; revision=99420
|
|
|
|
|
|
|
|
| |
ifdef list that currently lists all the non-i386 platforms that bpf
currently works on.
Notes:
svn path=/head/; revision=99419
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=99417
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=99416
|
|
|
|
|
|
|
| |
calculation in get_ptbase() to a little later on.
Notes:
svn path=/head/; revision=99415
|
|
|
|
| |
Notes:
svn path=/head/; revision=99408
|
|
|
|
|
|
|
| |
they are already called when uma calls thread_init()
Notes:
svn path=/head/; revision=99407
|
|
|
|
|
|
|
|
| |
XXX should really replace the pmap_{new,swapin,swapout,dispose}_{proc,thread}
functions with the much cleaner sparc64 versions.
Notes:
svn path=/head/; revision=99399
|
|
|
|
|
|
|
| |
My eyes openned by: Matt
Notes:
svn path=/head/; revision=99398
|
|
|
|
| |
Notes:
svn path=/head/; revision=99397
|
|
|
|
|
|
|
| |
to try make it less obscure.
Notes:
svn path=/head/; revision=99381
|
|
|
|
|
|
|
|
|
| |
These functions are always called on new memory so they can
not already be set up, so don't bother testing for that.
(This was left over from before we used UMA (which is cool))
Notes:
svn path=/head/; revision=99380
|
|
|
|
|
|
|
|
|
|
|
| |
of the KVA space's size in addition to the amount of physical memory
and reduce it by a factor of two.
Under the old formula, our reservation amounted to one kernel map entry
per virtual page in the KVA space on a 4GB i386.
Notes:
svn path=/head/; revision=99374
|
|
|
|
|
|
|
| |
Approved by: luigi
Notes:
svn path=/head/; revision=99340
|
|
|
|
|
|
|
|
|
|
|
| |
o Use an appropriate constant for interface name buffer.
Reviewed by: luigi
Approved by: luigi
MFC after: 1 month
Notes:
svn path=/head/; revision=99339
|
|
|
|
|
|
|
| |
which was #if 0'd and is not likely to be used now.
Notes:
svn path=/head/; revision=99338
|
|
|
|
|
|
|
|
|
| |
of p4 merges from -current as things started getting different.
Corroborated by: Similar patches just mailed by BDE.
Notes:
svn path=/head/; revision=99337
|
|
|
|
| |
Notes:
svn path=/head/; revision=99336
|
|
|
|
|
|
|
|
| |
PR: i386/39085
Submitted by: David Yeske <dyeske@yahoo.com>
Notes:
svn path=/head/; revision=99332
|
|
|
|
|
|
|
|
| |
I'm working on this file but I wanted to make the whitespece commit
separatly.
Notes:
svn path=/head/; revision=99329
|
|
|
|
|
|
|
|
|
| |
keep SMP systems from panic'ing when ^C'ing an app
suggested by julian
Notes:
svn path=/head/; revision=99325
|
|
|
|
|
|
|
|
|
|
| |
where the profiling code would report the release point instead of the
acquisition point.
Requested by: bde
Notes:
svn path=/head/; revision=99324
|