summaryrefslogtreecommitdiff
path: root/sys/kern/sys_pipe.c
AgeCommit message (Collapse)Author
2001-06-05fix kqueue EVFILT_WRITE; okay art@Niels Provos
2001-05-26Sync in some improvements from FreeBSD + my own improvements.Artur Grabowski
- use pool for allocating pipe structures. - use microtime instead of splhigh and time. - improve locking. - better handling of nonblocking. - various efficiency fixes.
2001-05-14gc OLD_PIPE.Artur Grabowski
2001-05-14Add a fo_stat member to struct fileops. Used soon.Artur Grabowski
Also add a stat function for kqueue from FreeBSD.
2001-05-14More generic arguments to pipe_stat.Artur Grabowski
2001-05-14We already have a prototype for pipe_stat in sys/pipe.hArtur Grabowski
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
2000-11-16support kernel event queues, from FreeBSD by Jonathan Lemon,Niels Provos
okay art@, millert@
2000-04-19Change struct file interface methods read and write to pass file offset inConstantine Sapuntzakis
and out. Make pread/pwrite in netbsd & linux thread safe - which is the whole point anyway.
2000-01-27No need to include sys/vmmeter.hArtur Grabowski
1999-11-25Annoying unnecessary space.Artur Grabowski
1999-11-21if select returns writable on a pipe, the write should not returnTheo de Raadt
EWOULDBLOCK. turns out the two checking conditions were not the same, and a certain use of rsync uncovered the bug by chewing all available cpu time; fix from art
1999-10-29Use M_PIPE instead of M_TEMP.Artur Grabowski
1999-10-29Remove the "Direct write" code.Artur Grabowski
We never used it and some parts of it slowed the code down. Generally clean up the pipe code.
1999-10-27Actually make ASYNC pipes generate SIGIO.Niklas Hallqvist
1999-07-15vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_tArtur Grabowski
1999-07-13introduce fdremove() to mark a file descriptor as unused. fdremove makesNiels Provos
sure that the fd_freefile hints stay in sync, otherwise free file descriptors might not be overlooked by fdalloc(); ok millert@
1999-06-08better fd leak preventionTheo de Raadt
1999-06-07need seperate sys_pipe() versions, for pipeclose() or soclose() callsTheo de Raadt
1999-06-07replacement pipe() system call; copies data into place inside kernel, soTheo de Raadt
that EFAULT return value is possible
1999-06-07oops, premature commitTheo de Raadt
1999-06-07store NULL in fd_ofilesTheo de Raadt
1999-02-26kmem allocation changes for uvmArtur Grabowski
1999-02-16Move defining of PIPE_NODIRECT to pipe.h and conditionalize more code with it.Artur Grabowski
This allows this code to compile on sparc.
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-02-24OpenBSD tagsNiklas Hallqvist
1996-10-12Correct sys_pipe's 3rd arg type, alpha needs itNiklas Hallqvist
1996-09-05compile!Michael Shalayeff
1996-09-04Stylistic cleanup, like removing "static"s, and removing warningsNiklas Hallqvist
given by -Wall -Wstrict-prototypes -Wmissing-prototypes
1996-08-27New fast pipe(2) from freebsd without fancy vm stuff.shawn
The old pipes can be used with the "OLD_PIPE" config option.