diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2008-12-19 14:17:02 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-20 08:15:47 (GMT) |
commit | c5dee6177f4bd2095aab7d9be9f6ebdddd6deee9 (patch) | |
tree | fb980dcfc3d3e6f04d4dcef488c370ca653434da /drivers/scsi/scsi_lib.c | |
parent | bf53de907dfdaac178c92d774aae7370d7b97d20 (diff) | |
download | linux-fsl-qoriq-c5dee6177f4bd2095aab7d9be9f6ebdddd6deee9.tar.xz |
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/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions