On 2015-11-28 at 15:27 ron minnich wrote:
> I kind of agree with Davide that a clone file is not needed. You can
> differentiate sessions in the chan you get from open.

Totally.  The clone style that #ip uses is only necessary if you
actually need the sub-directory (e.g. /net/tcp/5/*).  If all you need
is one file per session, then you can just have each open of
#perf/somefile return a new session.

that way, when someone opens #perf/somefile, the kernel can alloc a new
session (or abort if none are available), then attach that session to
the c->aux.  thus the successfully-opened chan for #perf/somefile
basically contains a unique perf session.

barret



-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to