• Markus Metzger's avatar
    x86, ds: add leakage warning · 2311f0de
    Markus Metzger authored
    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: default avatarMarkus Metzger <markus.t.metzger@intel.com>
    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: default avatarIngo Molnar <mingo@elte.hu>
    2311f0de
process_32.c 12.8 KB