| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
All new code is "#ifdef PC98"ed so this should make no difference to
PC/AT (and its clones) users.
Ok'd by: core
Submitted by: FreeBSD(98) development team
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
fix could solve some "interesting" problems that could happen during
process rundown.
|
| |
|
|
|
|
| |
Make filetimes the same as DOS times for UTC cmos clock.
|
|
|
|
| |
for DOS/FreeBSD.
|
|
|
|
|
| |
multiple of the clustersize in length to try and reduce the number
of questions we get on the subject.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
|
|
|
| |
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.
[note, new file: cd9660_mount.h]
|
|
|
|
| |
Reviewed by: davidg & bde
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
seems to work hre just fine though I can't check every file
that changed due to limmited h/w, however I've checked enught to be petty
happy withe hte code..
WARNING... struct lkm[mumble] has changed
so it might be an idea to recompile any lkm related programs
|
| |
|
| |
|
|
|
|
| |
(object,index) pair instead of (object,offset) pair.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
most devsw referenced functions are now static, as they are
in the same file as their devsw structure. I've also added DEVFS
support for nearly every device in the system, however
many of the devices have 'incorrect' names under DEVFS
because I couldn't quickly work out the correct naming conventions.
(but devfs won't be coming on line for a month or so anyhow so that doesn't
matter)
If you "OWN" a device which would normally have an entry in /dev
then search for the devfs_add_devsw() entries and munge to make them right..
check out similar devices to see what I might have done in them in you
can't see what's going on..
for a laugh compare conf.c conf.h defore and after... :)
I have not doen DEVFS entries for any DISKSLICE devices yet as that will be
a much more complicated job.. (pass 5 :)
pass 4 will be to make the devsw tables of type (cdevsw * )
rather than (cdevsw)
seems to work here..
complaints to the usual places.. :)
|
| |
|
|
|
|
| |
vnode_if.h doesn't include vm stuff.
|
|
|
|
| |
about tty_tty.c's cdevswitch functions.
|
|
|
|
|
|
|
|
|
| |
cd9660_rrip.c:
Added lots of bogus casts to hide type errors exposed by the prototypes.
(Different structs are assumed to have a common prefix.)
cd9660_vnops.c:
Finished staticizing.
|
| |
|
|
|
|
| |
Removed some unnecessary #includes.
|
|
|
|
| |
`struct mount *' arg. I don't know what the effects of this were.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
add a few safety checks in specfs because
now it's possible to get entries in [cd]devsw[] which are ALL NULL
so it's better to discover this BEFORE jumping into the d_open() entry..
more check to come later.. this getsthe code to the stage where I
can start testing it, even if I haven't caught every little error case...
I guess I'll find them quick enough..
|
| |
|
|
|
|
| |
enable clustering for cd9660, thereby giving a BIG performance boost.
|
|
|
|
|
|
| |
Moved misplaced #includes.
Completed function pointer declarations.
|
|
|
|
| |
header) and cleaned them up.
|
|
|
|
|
|
| |
header).
Removed stupid comments.
|
|
|
|
|
|
|
| |
Fixed the type of procfs_fhtovp(). The args had little resemblance to
the correct ones.
Added prototypes.
|
|
|
|
|
|
|
| |
Fixed the type of portal_fhtovp(). The args had little resemblance to
the correct ones.
Added prototypes.
|
|
|
|
|
|
|
| |
Fixed the type of fdesc_fhtovp(). The args had little resemblance to
the correct ones.
Added prototypes.
|
| |
|
|
|
|
|
|
|
|
| |
for certain common combinations of directory sizes, cluster sizes, and i/o
sizes (e.g., 4K, 4K, and 4K). The fix in rev. 1.21 was incomplete.
Reviewed by: dfr
Obtained from: party from NetBSD
|
|
|
|
|
|
| |
returns are provided.
Obtained from: 4.4BSD-Lite2
|
|
|
|
|
|
| |
The fix for this in Lite-2 is more complete, but these quick hacks of mine
are safer for now. I plan to integrate the additional Lite-2 stuff at some
later time. Should completely fix PR810.
|