* Dhaval Giani <[email protected]> [2010-07-10 05:57:05]:
> > Dhaval,
> >
> > Thanks, I cloned the code and looked at it. Couple of quick questions
> >
> > 1. Why do we call the old code deprecated? We leave it to the users to
> > use which version they want and provide extensive documentation around
> > thread fork()/exec() issues with the older API
>
> Because I don't think anyone of us will be maintaining that code :-).
>
I'll promise to maintain it. It is a well abstracted small piece of
code, so I am up for maintaining it.
> > 2. Have you thought about how we can keep cgroup_context_s extendable
> > without breaking too much. Ideally it is opaque so we have no problems
> > in terms of API, but ABI can be an issue. One way to force it would
> > be to pack the structure, so that there is no scope for padding and
> > getting offsets mixed up later.
> >
>
> Honestly, I have not given it much thought as of now. I will get back
> to you in a day or two and let you know how to minimize ABI breakage.
>
Sure, think about it. I think we need to create a -next branch in
libcg and merge this stuff there, get more feedback and push it in.
Lennart, will the context changes solve your current thread
fork()/exec() issues?
--
Three Cheers,
Balbir
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel