Messages in this thread | | | Date | Thu, 26 Jan 2006 15:01:44 -0800 | From | Matthew Dobson <> | Subject | Re: [patch 0/9] Critical Mempools |
| |
Christoph Lameter wrote: > On Wed, 25 Jan 2006, Matthew Dobson wrote: > > >>Using this new approach, a subsystem can create a mempool and then pass a >>pointer to this mempool on to all its slab allocations. Anytime one of its >>slab allocations needs to allocate memory that memory will be allocated >>through the specified mempool, rather than through alloc_pages_node() directly. > > > All subsystems will now get more complicated by having to add this > emergency functionality?
Certainly not. Only subsystems that want to use emergency pools will get more complicated. If you have a suggestion as to how to implement a similar feature that is completely transparent to its users, I would *love* to hear it. I have tried to keep the changes to implement this functionality to a minimum. As the patches currently stand, existing slab allocator and mempool users can continue using these subsystems without modification.
>>Feedback on these patches (against 2.6.16-rc1) would be greatly appreciated. > > > There surely must be a better way than revising all subsystems for > critical allocations.
Again, I could not find any way to implement this functionality without forcing the users of the functionality to make some, albeit very minor, changes. Specific suggestions are more than welcome! :)
Thanks!
-Matt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |