x86, bts: memory accounting
authorMarkus Metzger <markus.t.metzger@intel.com>
Fri, 19 Dec 2008 14:17:02 +0000 (15:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 20 Dec 2008 08:15:47 +0000 (09:15 +0100)
Impact: move the BTS buffer accounting to the mlock bucket

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@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found