On Wed, Mar 24, 2010 at 11:54 AM, Nicolas Pitre <nico@xxxxxxxxxxx> wrote: > Another solution could be for xmalloc() to use a function pointer for > the method to use on malloc error path, which would default to a > function calling release_pack_memory(size, -1). Then pack-objects.c > would override the default with its own to acquire the read_mutex around > the call to release_pack_memory(). That is probably the easiest > solution for now. Yea, that sounds like the most reasonable solution right now. -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html