Re: [patch 2/2] x86, bts: memory accounting
From: Ingo Molnar
Date: Sat Dec 20 2008 - 03:18:38 EST
* Markus Metzger <markus.t.metzger@xxxxxxxxx> wrote:
> Add alloc_locked_buffer() and free_locked_buffer() functions to mm/mlock.c to kalloc a buffer and account the locked memory to current.
>
> Account the memory for the BTS buffer to the tracer.
>
> Signed-off-by: Markus Metzger <markus.t.metzger@xxxxxxxxx>
applied to tip/tracing/hw-branch-tracer, thanks!
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/