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 /include/scsi/scsi_netlink.h | |
parent | x86, bts: add fork and exit handling (diff) | |
download | linux-c5dee6177f4bd2095aab7d9be9f6ebdddd6deee9.tar.xz 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 'include/scsi/scsi_netlink.h')
0 files changed, 0 insertions, 0 deletions