[Devel] Re: [PATCH 2/2] Move ckpt_objhash_free() to before we destroy the deferqueues

Serge E. Hallyn serue at us.ibm.com
Tue Feb 9 13:42:51 PST 2010


Quoting Dan Smith (danms at us.ibm.com):
> SH> Well you can't quite do that bc fs/eventpoll.c:ep_items_restore()
> SH> will use ckpt_obj_fetch().
> 
> That runs in the deferqueue_run() function, not the
> deferqueue_destroy() bit, which is what I'm actually changing the
> order of here.  Right?

Oh.  Uh, yeah :)

Can't see any problem with that then.

We'll just need to remember (bc I can't think where to sanely document
it) that deferqueue->destructor method may not use ckpt_obj_fetch().

-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list