From: Markus Metzger Date: Fri, 3 Apr 2009 14:43:46 +0000 (+0200) Subject: x86, ds: add leakage warning X-Git-Tag: v2.6.31-rc1~401^2~62^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2311f0de21c17b2a8b960677a9cccfbfa52beb35;p=pandora-kernel.git x86, ds: add leakage warning Add a warning in case a debug store context is not removed before the task it is attached to is freed. Remove the old warning at thread exit. It is too early. Declare the debug store context field in thread_struct unconditionally. Remove ds_copy_thread() and ds_exit_thread() and do the work directly in process*.c. Signed-off-by: Markus Metzger Cc: roland@redhat.com Cc: eranian@googlemail.com Cc: oleg@redhat.com Cc: juan.villacis@intel.com Cc: ak@linux.jf.intel.com LKML-Reference: <20090403144601.254472000@intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed