Re: [PATCH] kevent_user: remove non-chardev interface

2006-08-22 Thread Evgeniy Polyakov
On Tue, Aug 22, 2006 at 01:27:31PM +0100, Christoph Hellwig ([EMAIL PROTECTED]) wrote: > On Tue, Aug 22, 2006 at 04:17:10PM +0400, Evgeniy Polyakov wrote: > > I personally do not have objections against it, but it introduces > > additional complexies - one needs to open /dev/kevent and then perfor

Re: [PATCH] kevent_user: remove non-chardev interface

2006-08-22 Thread Christoph Hellwig
On Tue, Aug 22, 2006 at 04:17:10PM +0400, Evgeniy Polyakov wrote: > I personally do not have objections against it, but it introduces > additional complexies - one needs to open /dev/kevent and then perform > syscalls on top of returuned file descriptor. it disalllows int fd = sys_kevent_ctl(, KE

Re: [PATCH] kevent_user: remove non-chardev interface

2006-08-22 Thread Evgeniy Polyakov
On Tue, Aug 22, 2006 at 12:54:59PM +0100, Christoph Hellwig ([EMAIL PROTECTED]) wrote: > Currently a user can create a user kevents in two ways: > > a) simply open() the kevent chardevice > b) use sys_kevent_ctl with the KEVENT_CTL_INIT cmd type > > both are equally easy to use for the user, b

[PATCH] kevent_user: remove non-chardev interface

2006-08-22 Thread Christoph Hellwig
Currently a user can create a user kevents in two ways: a) simply open() the kevent chardevice b) use sys_kevent_ctl with the KEVENT_CTL_INIT cmd type both are equally easy to use for the user, but to support type b) a lot of code in kernelspace is required. remove type b to save lots of code