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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Renzo,

On 2019-06-03 17:00, Renzo Davoli wrote:
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 and tested)

Is that similar to what user-mode linux does?  I mean the principle.

I am not trying to port some tools to use user-space implemented
stacks or device
drivers/emulators, I am seeking to a general purpose approach.

You still intersect *each* syscall, why not to do the same for epoll_wait() and replace events with correct value? Seems you do something similar already
in a vu_wrap_poll.c: wo_epoll_wait(), right?

Don't get me wrong, I really want to understand whether everything really looks so bad without proposed change. It seems not, because the whole principle is based on intersection of each syscall, thus one more one less - it does not become more clean and especially does not look like a generic purpose solution,
which you seek.  I may be wrong.

--
Roman




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux