diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2008-12-19 15:17:02 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-20 09:15:47 +0100 |
commit | c5dee6177f4bd2095aab7d9be9f6ebdddd6deee9 (patch) | |
tree | fb980dcfc3d3e6f04d4dcef488c370ca653434da /drivers/md | |
parent | bf53de907dfdaac178c92d774aae7370d7b97d20 (diff) | |
download | linux-c5dee6177f4bd2095aab7d9be9f6ebdddd6deee9.tar.gz linux-c5dee6177f4bd2095aab7d9be9f6ebdddd6deee9.tar.bz2 linux-c5dee6177f4bd2095aab7d9be9f6ebdddd6deee9.zip |
x86, bts: memory accounting
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>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions