From: Markus Metzger Date: Fri, 24 Apr 2009 07:51:43 +0000 (+0200) Subject: x86, bts, mm: clean up buffer allocation X-Git-Tag: v2.6.31-rc1~401^2~62^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cb81b143fa8f0e4629f10690862e2e52ca792ff;p=pandora-kernel.git 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 Acked-by: Andrew Morton Cc: Peter Zijlstra LKML-Reference: <20090424095143.A30265@sedona.ch.intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed