diff options
| author | Markus Metzger <[email protected]> | 2009-04-24 09:51:43 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-04-24 10:18:52 +0200 |
| commit | 1cb81b143fa8f0e4629f10690862e2e52ca792ff (patch) | |
| tree | 667b9677f8ad1211ca3d094bedabe47a3d4f5ba9 /include/linux/stackprotector.h | |
| parent | 7e0bfad24d85de7cf2202a7b0ce51de11a077b21 (diff) | |
x86, bts, mm: clean up buffer allocation
The current mm interface is asymetric. One function allocates a locked
buffer, another function only refunds the memory.
Change this to have two functions for accounting and refunding locked
memory, respectively; and do the actual buffer allocation in ptrace.
[ Impact: refactor BTS buffer allocation code ]
Signed-off-by: Markus Metzger <[email protected]>
Acked-by: Andrew Morton <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions