| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The interface into the "VMIO" system has changed to be more consistant
and robust. Essentially, it is now no longer necessary to call vn_open
to get merged VM/Buffer cache operation, and exceptional conditions
such as merged operation of VBLK devices is simpler and more correct.
This code corrects a potentially large set of problems including the
problems with ktrace output and loaded systems, file create/deletes,
etc.
Most of the changes to NFS are cosmetic and name changes, eliminating
a layer of subroutine calls. The direct calls to vput/vrele have
been re-instituted for better cross platform compatibility.
Reviewed by: davidg
|
|
|
|
|
|
|
|
|
| |
cleaning up some of the vnode usage..
(I'm sure it still needs more..)
where can one find out what each vfs call expects to be locked
on completion, and how can one find out what each layer expects
to be freed on error.?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it only barely works so don't get too carried away..
I noticed that teh symlink is length 0..
I guess I'll fix that tomorrow..
it also sometimes panics with "cleaned vnode isn't" but it's not more
broken than it was before.. I really want to go over it with someone
who understands the lifecycle of a vnode better than I do..
terry?
kirk?
david?
john?
|
|
|
|
| |
makes option DEVFS safe to use again (although mounting devfs is unsafe).
|
|
|
|
| |
executable bit is shown.
|
|
|
|
| |
crash the system. Nonexistant objects were not handled correctly.
|
|
|
|
| |
to pmap_clear_modify.
|
|
|
|
| |
I just noticed some junk in my patch. I'll remove that in a sec.
|
| |
|
|
|
|
|
|
|
| |
to information from a single process causes hangs. Specifically, this
fixes problems (hangs) with concurrent ps commands, when the system is under
heavy memory load.
Reviewed by: davidg
|
|
|
|
|
|
| |
but not there. The extent of the object lock is expanded to be over the
range that it is needed. Additionally, clean up the code so that it conforms
to better coding style.
|
| |
|
|
|
|
|
| |
format file "etype". It contains a description of the binary type for
a process.
|
|
|
|
| |
would like other things added, just ask!!! It might be pretty easy to add.
|
|
|
|
|
|
|
| |
with multiple entries as follows:
start address, end address, resident pages in range, private pages
in range, RW/RO, COW or not, (vnode/device/swap/default).
|
|
|
|
|
| |
``ready for devices'' printed out earlier by changing `devs '
to be `DEVFS: '
|
|
|
|
| |
Reviewed by: bde
|
|
|
|
|
|
| |
out unused code as this is still work in progress.
Reviewed by: bde
|
|
|
|
|
|
|
|
| |
process won't possibly block before filling in the fsnode pointer (v_data)
which might be dereferenced during a sync since the vnode is put on the
mnt_vnodelist by getnewvnode.
Pointed out by Matt Day <mday@artisoft.com>
|
|
|
|
|
| |
fix could solve some "interesting" problems that could happen during
process rundown.
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
| |
function names don't start in column 1.
|
| |
|
|
|
|
| |
Removed dev_link() and dev_linkf(), replacing dev_linkf() with devfs_link()
|
|
|
|
| |
Reviewed by: julian@freebsd.org
|
|
|
|
| |
allows correct creation of subdirectories in devfs_add_devswf()
|
|
|
|
|
|
|
| |
device have reference count problems. We mark the underlying object
ono-persistent, and account for the reference count that the VM system
maintainsfor the special device close. This should fix the removable
device problem.
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
files are off the vendor branch, so this should not change anything.
A "U" marker generally means that the file was not changed in between
the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally
means that there was a change.
[two new auxillary files in miscfs/union]
|
| |
| |
| |
| | |
Reviewed by: davidg & bde
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
DEVFS filesystems..
- if ( error = dev_add_name(child->name,parent->dnp
+ if ( error = dev_add_name(child->name,falias->dnp
Ok bruce, this is the one you were seeing..
|
| |
| |
| |
| |
| | |
While we're at it, fix socreate() to take a process argument. (This
was supposed to get committed days ago...)
|
| | |
|
| |
| |
| |
| | |
a bunch of system include files.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a really ugly bandaid on the problem, but it works well enough for
'ps -u' to start working again. The problem was caused by the user
address space shrinking by a little bit and the UPAGES being "cast off" to
become a seperate entity rather than being at the top of the process's
vmspace. That optimization was part of John's most recent VM speedups.
Now, rather than decoding the VM space, it merely ensures the pages are
in core and accesses them the same way the ptrace(PT_READ_U..) code does,
ie: off the p->p_addr pointer.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implement a "variable" directory structure. Files that do not make
sense for the given process do not "appear" and cannot be opened.
For example, "system" processes do not have "file", "regs" or "fpregs",
because they do not have a user area.
"attempt" to fill in the user area of a given process when it is being
accessed via /proc/pid/mem (the user struct is just after
VM_MAXUSER_ADDRESS in the process address space.)
Dont do IO to the U area while it's swapped, hold it in place if possible.
Lock off access to the "ctl" file if it's done a setuid like the other
pseudo-files in there.
|
| | |
|
| |
| |
| |
| | |
get the last edit right
|
| |
| |
| |
| |
| | |
better naming for exported devfs function
and better place for the prototype
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Speed up for vfs_bio -- addition of a routine bqrelse to greatly diminish
overhead for merged cache.
Efficiency improvement for vfs_cluster. It used to do alot of redundant
calls to cluster_rbuild.
Correct the ordering for vrele of .text and release of credentials.
Use the selective tlb update for 486/586/P6.
Numerous fixes to the size of objects allocated for files. Additionally,
fixes in the various pagers.
Fixes for proper positioning of vnode_pager_setsize in msdosfs and ext2fs.
Fixes in the swap pager for exhausted resources. The pageout code
will not as readily thrash.
Change the page queue flags (PG_ACTIVE, PG_INACTIVE, PG_FREE, PG_CACHE) into
page queue indices (PQ_ACTIVE, PQ_INACTIVE, PQ_FREE, PQ_CACHE),
thereby improving efficiency of several routines.
Eliminate even more unnecessary vm_page_protect operations.
Significantly speed up process forks.
Make vm_object_page_clean more efficient, thereby eliminating the pause
that happens every 30seconds.
Make sequential clustered writes B_ASYNC instead of B_DELWRI even in the
case of filesystems mounted async.
Fix a panic with busy pages when write clustering is done for non-VMIO
buffers.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
were development aids :-) and normal events.
Initialise the "hidden" blueprint mount "mnt_op" and "mnt_vfc" fields so
that a statfs() on a devfs file would not panic anymore. Fixes PR#911.
Head-scratching by: Julian and Peter
|
| |
| |
| |
| |
| | |
it originates, so I catch it here and fail.
This may expose the same bug on other disk controllers (both scsi & ide).
|
| | |
|
| |
| |
| |
| | |
but worked because vm_pindex_t is indistinuishable from vm_offset_t.
|
| | |
|
| |
| |
| |
| | |
check if it's NULL
|
| | |
|