Skip to content

kevent: introduction.

Evgeniy Polyakov linux-fsdevel lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 53 repliesIn review

Changes from previous patchset from the cover letter

- rebased against 2.6.18-git tree
- removed ioctl controlling
- added new syscall kevent_get_events(int fd, unsigned int min_nr, unsigned int max_nr, unsigned int timeout, void __user *buf, unsigned flags)
- use old syscall kevent_ctl for creation/removing, modification and initial kevent initialization
- use mutuxes instead of semaphores
- added file descriptor check and return error if provided descriptor does not match kevent file operations
- various indent fixes
- removed aio_sendfile() declarations.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kevent: core files.arch/i386/kernel/syscall_table.S arch/x86_64/ia32/ia32entry.S include/asm-i386/unistd.h +13 more+1448 -3166 replies
1/4kevent: core files.arch/i386/kernel/syscall_table.S arch/x86_64/ia32/ia32entry.S include/asm-i386/unistd.h +13 more+1526 -210 replies
2/4kevent: network AIO, socket notifications.include/asm-i386/socket.h include/asm-x86_64/socket.h include/linux/skbuff.h +11 more+818 -450 replies
3/4kevent: AIO, aio_sendfile() implementation.fs/bio.c fs/ext2/inode.c fs/ext3/inode.c +6 more+614 -10 replies
4/4kevent: poll/select() notifications. Timer notifications.kernel/kevent/kevent_poll.c kernel/kevent/kevent_timer.c+335 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [take2 0/4] kevent: introduction.

I send this patchset for comments and review, it still contains AIO and aio_sendfile() implementation on top of get_block() abstraction, which was decided to postpone for a while (it is simpler right now to generate patchset as a whole, when kevent will be ready for merge, I will generate patchset without AIO stuff). It does not contain mapped buffer implementation, since it's design is not 100% completed, I will present that implementation in the third patchset.

Changes from previous patchset:
- rebased against 2.6.18-git tree
- removed ioctl controlling
- added new syscall kevent_get_events(int fd, unsigned int min_nr, unsigned int max_nr, unsigned int timeout, void __user *buf, unsigned flags)
- use old syscall kevent_ctl for creation/removing, modification and initial kevent initialization
- use mutuxes instead of semaphores
- added file descriptor check and return error if provided descriptor does not match kevent file operations
- various indent fixes
- removed aio_sendfile() declarations.

Thank you.