• Andrew Morton's avatar
    [PATCH] show_task() fix and cleanup · 87f095b8
    Andrew Morton authored
    show_task() is preinting negative numbers for free stack due to arithmetic
    against the wrong pointer.
    
    Fix that up, and clean up a few related things.
    
    show_task still has bogus code which atempts to work out how much stack the
    task has ever used - it cannot work because we don't actually zero out the
    stack pages when allocating them.  We should fix that, or take it out.
    87f095b8
sched.c 72.8 KB