lkml.org 
[lkml]   [2019]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] eventfd new tag EFD_VPOLL: generate epoll events
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

\
 
 \ /
  Last update: 2019-06-06 22:12    [W:0.051 / U:9.892 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site