<div dir="auto"><div>I would expose the kernel code through a char or block device driver. There are already many facilities in most kernels for effective communication with userpace. a</div><div dir="auto">After all, that's the whole point of a kernel...</div><div dir="auto"><br></div><div dir="auto">--Albin<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, Sep 17, 2020, 16:00 Max Lapshin <<a href="mailto:max.lapshin@gmail.com" target="_blank" rel="noreferrer">max.lapshin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Your idea is ok. Just strip everything you don't need from ei and it will work for you.<div><br></div><div>As for me, I like enif api more, but Sverker has pointed that I'm misuing it inside drivers and it may break once =)</div><div><br></div><div><br></div></div>
</blockquote></div>
</div></div>