Re: [PATCH] Kevent, network AIO system calls implementation.

2006-03-16 Thread Evgeniy Polyakov
On Thu, Mar 16, 2006 at 02:06:26AM -0800, David S. Miller ([EMAIL PROTECTED]) wrote: > From: Evgeniy Polyakov <[EMAIL PROTECTED]> > Date: Thu, 16 Mar 2006 13:02:41 +0300 > > > Actually I added sock_async() checks to detect cases, when ucopy is set > > somewhere, but socket was marked as async lat

Re: [PATCH] Kevent, network AIO system calls implementation.

2006-03-16 Thread David S. Miller
From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Thu, 16 Mar 2006 13:02:41 +0300 > Actually I added sock_async() checks to detect cases, when ucopy is set > somewhere, but socket was marked as async later, so I just use > sock_async() where other cheks could be done. Can you see that these two st

Re: [PATCH] Kevent, network AIO system calls implementation.

2006-03-16 Thread Evgeniy Polyakov
On Thu, Mar 16, 2006 at 01:45:20AM -0800, David S. Miller ([EMAIL PROTECTED]) wrote: > From: Evgeniy Polyakov <[EMAIL PROTECTED]> > Date: Thu, 16 Mar 2006 12:42:40 +0300 > > > Why process should be there? It can request for data and sleep > > away. ucopy is never used for async sockets - all ne

Re: [PATCH] Kevent, network AIO system calls implementation.

2006-03-16 Thread David S. Miller
From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Thu, 16 Mar 2006 12:42:40 +0300 > Why process should be there? It can request for data and sleep > away. ucopy is never used for async sockets - all needed for > transfer data is stored inside kevents. The point is that if tp->ucopy.task is non-N

Re: [PATCH] Kevent, network AIO system calls implementation.

2006-03-16 Thread Evgeniy Polyakov
On Thu, Mar 16, 2006 at 01:22:59AM -0800, David S. Miller ([EMAIL PROTECTED]) wrote: > From: Evgeniy Polyakov <[EMAIL PROTECTED]> > Date: Thu, 16 Mar 2006 12:07:38 +0300 > > > Prequeue is turned off for async sockets, since process can be > > not scheduled when new data arrives or is being sent,

Re: [PATCH] Kevent, network AIO system calls implementation.

2006-03-16 Thread David S. Miller
From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Thu, 16 Mar 2006 12:07:38 +0300 > Prequeue is turned off for async sockets, since process can be > not scheduled when new data arrives or is being sent, and data is not > copied through usual datagram methods, but directly to/from pinned > userspac

Re: [PATCH] Kevent, network AIO system calls implementation.

2006-03-16 Thread Evgeniy Polyakov
> > 4) I have 2 major problems with tcp_async_{send,recv}(). > > > >a) Much duplication of existing tcp sendmsg/recvmsg code. > > Consolidation and code sharing is needed. > > Yes, especially receiving code - it is 99% what sendpage() does. recvpage() of course. -- Evgeniy Po

Re: [PATCH] Kevent, network AIO system calls implementation.

2006-03-16 Thread Evgeniy Polyakov
On Thu, Mar 16, 2006 at 12:36:22AM -0800, David S. Miller ([EMAIL PROTECTED]) wrote: > From: Evgeniy Polyakov <[EMAIL PROTECTED]> > Date: Sat, 18 Feb 2006 19:11:40 +0300 > > > Hello developers. > > > > I'm pleased to announce combined patch of kevent and network AIO subsytems, > > which are impl

Re: [PATCH] Kevent, network AIO system calls implementation.

2006-03-16 Thread David S. Miller
From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Sat, 18 Feb 2006 19:11:40 +0300 > Hello developers. > > I'm pleased to announce combined patch of kevent and network AIO subsytems, > which are implemented using three system calls: > * kevent_ctl(), which fully controls kevent subsystem. >It