Messages in this thread | | | Subject | Re: [PATCH] cgroup/kmemcheck: No need to annotate base anymore | From | Steven Rostedt <> | Date | Tue, 26 Jul 2011 13:44:04 -0400 |
| |
On Tue, 2011-07-26 at 13:41 -0400, Steven Rostedt wrote:
> > We can still fall back to vmalloc allocation (even though it is really > > not probable that alloc_pages_exact_nid would fail that early). > > Is vmalloc a problem here? (sorry I am not familiar with kmemleak > > internals) The original code didn't distinguish kmalloc vs. vmalloc. > > > > Good question. I forgot to add the maintainer of kmemleak to the Cc > list. (fixed here).
Depending on the answer, I suspect that the result will be to keep the not_leak call, and just add a call directly to kmemleak_alloc() in the page_alloc() side.
I'll have a patch ready on hand when we find out :)
-- Steve
| |