x86, ptrace: rlimit BTS buffer allocation
authorMarkus Metzger <markus.t.metzger@intel.com>
Wed, 30 Jan 2008 12:32:03 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:03 +0000 (13:32 +0100)
commitda35c37198132abebf877cca2ad3c6d9bcd84282
treee0983427408996313fd32673251cdc49e5c09637
parent59e87cdcd268daa85c0732e147c59e0c1bacd704
x86, ptrace: rlimit BTS buffer allocation

Check the rlimit of the tracing task for total and locked memory when allocating the BTS buffer.

Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/ptrace.c