OpenVZ Forum


Home » Mailing lists » Devel » [RFC][PATCH 0/3] Kernel memory accounting container (v2)
Re: [RFC][PATCH 0/3] Kernel memory accounting container (v2) [message #20335 is a reply to message #20292] Mon, 17 September 2007 06:12 Go to previous message
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
Christoph Lameter wrote:
> On Fri, 14 Sep 2007, Pavel Emelyanov wrote:
> 
>>> Hmmmm... Okay I have seen multiple people who want to control slab 
>>> allocations and track memory for various reasons. Would it be possible to 
>>> come up with some hook that would allow a subscription to certain SLUB 
>>> events? That way multiple subsystems may track and maybe disallow certain
>>> allocations in various contexts.
>> Do you mean some more generic than just explicit call from slab_alloc, etc?
>> Ok, I will work on it.
> 
> Yes I guess an API in slub to register callbacks for these things. This 
> needs to include a way to control the granularity. Callbacks at the level 
> of slab allocations are likely not that performance critical. But some 
> uses may require control at the object level. There needs to be some way 
> to tell SLUB to disable the fast path for a particular allocated slab 
> because the API will police each individual allocation.
> 

OK. I see. I will do my best to prepare the first version this week.

Thanks,
Pavel
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [NETNS45][PATCH 1/1] Fix network namespace unshare support.
Next Topic: [PATCH 2/2] Fix user namespace exiting OOPs
Goto Forum:
  


Current Time: Tue Oct 15 01:22:53 GMT 2024

Total time taken to generate the page: 0.05115 seconds