Re: [PATCH 1/1] eventfd new tag EFD_VPOLL: generate epoll events

2019-06-07 Thread Renzo Davoli
Hi Roman, On Thu, Jun 06, 2019 at 10:11:57PM +0200, Roman Penyaev wrote: > Hi Renzo, > On 2019-06-03 17:00, Renzo Davoli wrote: > > Please, have a look of the README.md page here: > > https://github.com/virtualsquare/vuos > Is that similar to what user-mode linux does? I mea

Re: [PATCH 1/1] eventfd new tag EFD_VPOLL: generate epoll events

2019-06-03 Thread Renzo Davoli
Hi Roman, I sorry for the delay in my answer, but I needed to set up a minimal tutorial to show what I am working on and why I need a feature like the one I am proposing. Please, have a look of the README.md page here: https://github.com/virtualsquare/vuos (everything can be downloaded a

Re: [PATCH 1/1] eventfd new tag EFD_VPOLL: generate epoll events

2019-05-31 Thread Renzo Davoli
HI Roman, On Fri, May 31, 2019 at 11:34:08AM +0200, Roman Penyaev wrote: > On 2019-05-27 15:36, Renzo Davoli wrote: > > Unfortunately this approach cannot be applied to > > poll/select/ppoll/pselect/epoll. > > If you have to override other systemcalls, what is the probl

[PATCH v3 1/1] eventfd new tag EFD_VPOLL: generate epoll events

2019-05-31 Thread Renzo Davoli
EPOLLHUP) break; } } case -1: handle_error("fork"); } close(epollfd); close(efd); return 0; } Signed-off-by: Renzo Davoli Rep

Re: [PATCH 1/1] eventfd new tag EFD_VPOLL: generate epoll events

2019-05-27 Thread Renzo Davoli
On Mon, May 27, 2019 at 09:33:32AM +0200, Greg KH wrote: > On Sun, May 26, 2019 at 04:25:21PM +0200, Renzo Davoli wrote: > > This patch implements an extension of eventfd to define file descriptors > > whose I/O events can be generated at user level. These file descript

[PATCH v2 1/1] eventfd new tag EFD_VPOLL: generate epoll events

2019-05-26 Thread Renzo Davoli
} case -1: handle_error("fork"); } close(epollfd); close(efd); return 0; } Signed-off-by: Renzo Davoli --- fs/eventfd.c | 115 +++-- include/linux/eventfd.h

[PATCH 1/1] eventfd new tag EFD_VPOLL: generate epoll events

2019-05-26 Thread Renzo Davoli
} case -1: handle_error("fork"); } close(epollfd); close(efd); return 0; } Signed-off-by: Renzo Davoli --- fs/eventfd.c | 115 +++-- include/linux/eventfd

[PATCH 0/1] IPN: Inter Process Networking

2007-12-17 Thread Renzo Davoli
Inter Process Networking (PATCH): This patch adds a new address family for inter process communication. AF_IPN: inter process networking, i.e. multipoint, multicast/broadcast communication among processes (and networks). Contents of this document: 1. What is IPN? 2. Why IPN? 2.1 Why

[PATCH] misc driver: eliminate 256 minor limit & deprecated call register_chrdev

2007-12-16 Thread Renzo Davoli
lines offset. renzo Signed-off-by: Renzo Davoli <[EMAIL PROTECTED]> --- a/drivers/char/misc.c 2007-08-05 16:56:59.0 +0200 +++ b/drivers/char/misc.c 2007-09-06 11:07:51.0 +0200 @@ -56,6 +56,8 @@ static LIST_HEAD(misc_list); static DEFINE_MUTEX(misc_mtx); +

AF_IPN: Inter Process Networking, try these...

2007-12-07 Thread Renzo Davoli
Andi, David, I disagree. If you suspect we would be better using IP multicast, I think your suspects are not supported. Try the following exercises, please Can you provide better solutions without IPN? renzo Exercise #1. I am a user (NOT ROOT), I like kvm, qemu etc. I want an efficie

Re: New Address Family: Inter Process Networking (IPN)

2007-12-06 Thread Renzo Davoli
I have done some raw tests. (you can read the code here: http://www.cs.unibo.it/~renzo/rawperftest/) The programs are quite simple. The sender sends "Hello World" as fast as it can, while the receiver prints time() for each 1 million message received. On my laptop, tests on 2000 "Hello World"

Re: New Address Family: Inter Process Networking (IPN)

2007-12-06 Thread Renzo Davoli
Some more explanations trying to describe what IPN is and what it is useful for. We are writing the complete patch Summary: * IPN is for inter-process communication. It is *not* directly related to TCP-IP or Ethernet. * IPN itself is a *level 1* virtual physical network. IPN services * (lik

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
> In the meanwhile we would be grateful if the community could kindly ask to the > questions above. Obviously I meant: In the meanwhile we would be grateful if the community could kindly *answer* to the questions above sorry (it is early morning here, it happens ;-) renzo -- To unsubscrib

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
On Wed, Dec 05, 2007 at 04:55:52PM -0500, Stephen Hemminger wrote: > On Wed, 5 Dec 2007 17:40:55 +0100 > [EMAIL PROTECTED] (Renzo Davoli) wrote: > > 0- (Constructive) comments. > > 1- The "official" assignment of an Address Family. > > 2- Another "grabb

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
On Thu, Dec 06, 2007 at 12:39:22AM +0100, Andi Kleen wrote: > [EMAIL PROTECTED] (Renzo Davoli) writes: > > > Berkeley socket have been designed for client server or point to point > > communication. All existing Address Families implement this idea. > Netlink is multicast/bro

New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
Inter Process Networking: a kernel module (and some simple kernel patches) to provide AF_IPN: a new address family for process networking, i.e. multipoint, multicast/broadcast communication among processes (and networks). WHAT IS IT? --- Berkeley socket have been designed for client serv

[PATCH] drivers/char/misc.c: deprecated call register_chrdev, and 256 minor limit eliminated

2007-09-06 Thread Renzo Davoli
that eliminate both problems. With this patch misc allocates the entire major 10 and avoids the deprecated call. These are just my 2 (euro) cents, I hope it can be useful. renzo -- Renzo Davoli

Re: [PATCH] drivers/char/misc.c: deprecated call register_chrdev, and 256 minor limit eliminated

2007-09-06 Thread Renzo Davoli
On Thu, Sep 06, 2007 at 11:38:44AM +0200, Renzo Davoli wrote: Dear Kernel Developers, I have seen that drivers/char/misc.c already used the deprecated register_chrdev call and this limited the number of minors to 256. I recetly asked for a misc minor number attribution for View-OS/kmview and