#
3999ebe3 |
| 30-May-2005 |
Alan Cox <alc@FreeBSD.org> |
Use the proc mtx to prevent simultaneous changes to p_aioinfo.
|
#
82851350 |
| 30-May-2005 |
Alan Cox <alc@FreeBSD.org> |
Eliminate unnecessary calls to wakeup(); no one sleeps on &aio_freeproc.
Eliminate an unused flag, AIOP_SCHED; it's cleared but never set.
|
#
95eca142 |
| 30-May-2005 |
Alan Cox <alc@FreeBSD.org> |
Eliminate aio_activeproc; it's unused.
|
#
8484b5e6 |
| 29-May-2005 |
Alan Cox <alc@FreeBSD.org> |
Eliminate aio_bufjobs; it's unused.
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
a230c79b |
| 30-Apr-2005 |
Jeff Roberson <jeff@FreeBSD.org> |
- Acquire Giant in AIO's iodone routine. VFS will no longer do it for us soon.
Sponsored by: Isilon Systems, Inc.
|
#
c4c44d29 |
| 18-Mar-2005 |
John-Mark Gurney <jmg@FreeBSD.org> |
fix aio+kq... I've been running ambrisko's test program for much longer w/o problems than I was before... This simply brings back the knote_delete as knlist_delete which will also drop the knote's,
fix aio+kq... I've been running ambrisko's test program for much longer w/o problems than I was before... This simply brings back the knote_delete as knlist_delete which will also drop the knote's, instead of just clearing the list and seeing _ONESHOT...
Fix a race where if a note was _INFLUX and _DETACHED, it could end up being modified... whoopse..
MFC after: 1 week Prodded by: ambrisko and dwhite
show more ...
|
#
5ece08f5 |
| 10-Feb-2005 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Make a SYSCTL_NODE static
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
9454b2d8 |
| 07-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for copyright notices, minor format tweaks as necessary
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
c5690651 |
| 04-Nov-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove buf->b_dev field.
|
#
6afb3b1c |
| 29-Oct-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Give dev_strategy() an explict cdev argument in preparation for removing buf->b-dev.
Put a bio between the buf passed to dev_strategy() and the device driver strategy routine in order to not clobber
Give dev_strategy() an explict cdev argument in preparation for removing buf->b-dev.
Put a bio between the buf passed to dev_strategy() and the device driver strategy routine in order to not clobber fields in the buf.
Assert copyright on vfs_bio.c and update copyright message to canonical text. There is no legal difference between John Dysons two-clause abbreviated BSD license and the canonical text.
show more ...
|
#
5d9d81e7 |
| 26-Oct-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Put the I/O block size in bufobj->bo_bsize.
We keep si_bsize_phys around for now as that is the simplest way to pull the number out of disk device drivers in devfs_open(). The correct solution woul
Put the I/O block size in bufobj->bo_bsize.
We keep si_bsize_phys around for now as that is the simplest way to pull the number out of disk device drivers in devfs_open(). The correct solution would be to do an ioctl(DIOCGSECTORSIZE), but the point is probably mooth when filesystems sit on GEOM, so don't bother for now.
show more ...
|
#
576c004f |
| 01-Oct-2004 |
Alfred Perlstein <alfred@FreeBSD.org> |
cover soreadable and sowriteable with the corresponding socketbuffer locks.
|
#
1a52a73d |
| 23-Sep-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Eliminate DEV_STRATEGY() macro: call dev_strategy() directly.
Make dev_strategy() handle errors and departing devices properly.
|
#
b6ac5828 |
| 03-Sep-2004 |
Robert Watson <rwatson@FreeBSD.org> |
Tag AIO as requiring Giant over the network stack using NET_NEEDS_GIANT().
RELENG_5 candidate.
|
#
ad3b9257 |
| 15-Aug-2004 |
John-Mark Gurney <jmg@FreeBSD.org> |
Add locking to the kqueue subsystem. This also makes the kqueue subsystem a more complete subsystem, and removes the knowlege of how things are implemented from the drivers. Include locking around
Add locking to the kqueue subsystem. This also makes the kqueue subsystem a more complete subsystem, and removes the knowlege of how things are implemented from the drivers. Include locking around filter ops, so a module like aio will know when not to be unloaded if there are outstanding knotes using it's filter ops.
Currently, it uses the MTX_DUPOK even though it is not always safe to aquire duplicate locks. Witness currently doesn't support the ability to discover if a dup lock is ok (in some cases).
Reviewed by: green, rwatson (both earlier versions)
show more ...
|
#
ac77164d |
| 13-Aug-2004 |
John-Mark Gurney <jmg@FreeBSD.org> |
clean up whitespace...
|
#
1a276a3f |
| 27-Jul-2004 |
Alan Cox <alc@FreeBSD.org> |
- Use atomic ops for updating the vmspace's refcnt and exitingcnt. - Push down Giant into shmexit(). (Giant is acquired only if the vmspace contains shm segments.) - Eliminate the acquisition o
- Use atomic ops for updating the vmspace's refcnt and exitingcnt. - Push down Giant into shmexit(). (Giant is acquired only if the vmspace contains shm segments.) - Eliminate the acquisition of Giant from proc_rwmem(). - Reduce the scope of Giant in exit1(), uncovering the destruction of the address space.
show more ...
|
#
9535efc0 |
| 18-Jun-2004 |
Robert Watson <rwatson@FreeBSD.org> |
Merge additional socket buffer locking from rwatson_netperf:
- Lock down low hanging fruit use of sb_flags with socket buffer lock.
- Lock down low hanging fruit use of so_state with socket lock.
Merge additional socket buffer locking from rwatson_netperf:
- Lock down low hanging fruit use of sb_flags with socket buffer lock.
- Lock down low hanging fruit use of so_state with socket lock.
- Lock down low hanging fruit use of so_options.
- Lock down low-hanging fruit use of sb_lowwat and sb_hiwat with socket buffer lock.
- Annotate situations in which we unlock the socket lock and then grab the receive socket buffer lock, which are currently actually the same lock. Depending on how we want to play our cards, we may want to coallesce these lock uses to reduce overhead.
- Convert a if()->panic() into a KASSERT relating to so_state in soaccept().
- Remove a number of splnet()/splx() references.
More complex merging of socket and socket buffer locking to follow.
show more ...
|
#
77409fe1 |
| 30-May-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add missing #include <sys/module.h>
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
a5bdcb2a |
| 14-Mar-2004 |
Peter Wemm <peter@FreeBSD.org> |
Make the process_exit eventhandler run without Giant. Add Giant hooks in the two consumers that need it.. processes using AIO and netncp. Update docs. Say that process_exec is called with Giant, bu
Make the process_exit eventhandler run without Giant. Add Giant hooks in the two consumers that need it.. processes using AIO and netncp. Update docs. Say that process_exec is called with Giant, but not to depend on it. All our consumers can handle it without Giant.
show more ...
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0 |
|
#
00cbe31b |
| 15-Nov-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Send B_PHYS out to pasture, it no longer serves any function.
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
0eb3b7bb |
| 24-Oct-2003 |
John-Mark Gurney <jmg@FreeBSD.org> |
don't allow reading from files that haven't been open'd for reading.
|
#
a44ca4f0 |
| 21-Oct-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
We need to initialize bp->b_offset and bp->b_iooffset becuase bp->b_blkno is ignored now.
|
#
8edbaf85 |
| 10-Sep-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Fix asynchronous physio breakage introduced in rev 1.163. We cannnot use bp->b_caller2 because DEV_STRATEGY will overwrite it.
|
#
3b6d9652 |
| 22-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add a f_vnode field to struct file.
Several of the subtypes have an associated vnode which is used for stuff like the f*() functions.
By giving the vnode a speparate field, a number of checks for t
Add a f_vnode field to struct file.
Several of the subtypes have an associated vnode which is used for stuff like the f*() functions.
By giving the vnode a speparate field, a number of checks for the specific subtype can be replaced simply with a check for f_vnode != NULL, and we can later free f_data up to subtype specific use.
At this point in time, f_data still points to the vnode, so any code I might have overlooked will still work.
show more ...
|