1. 11 1月, 2009 1 次提交
  2. 08 1月, 2009 2 次提交
  3. 07 1月, 2009 3 次提交
  4. 06 1月, 2009 1 次提交
  5. 05 1月, 2009 1 次提交
    • K
      proc: add /proc/*/stack · 2ec220e2
      Ken Chen 提交于
      /proc/*/stack adds the ability to query a task's stack trace. It is more
      useful than /proc/*/wchan as it provides full stack trace instead of single
      depth. Example output:
      
      	$ cat /proc/self/stack
      	[<c010a271>] save_stack_trace_tsk+0x17/0x35
      	[<c01827b4>] proc_pid_stack+0x4a/0x76
      	[<c018312d>] proc_single_show+0x4a/0x5e
      	[<c016bdec>] seq_read+0xf3/0x29f
      	[<c015a004>] vfs_read+0x6d/0x91
      	[<c015a0c1>] sys_read+0x3b/0x60
      	[<c0102eda>] syscall_call+0x7/0xb
      	[<ffffffff>] 0xffffffff
      
      [add save_stack_trace_tsk() on mips, ACK Ralf --adobriyan]
      Signed-off-by: NKen Chen <kenchen@google.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      2ec220e2
  6. 01 1月, 2009 1 次提交
  7. 26 12月, 2008 1 次提交
  8. 22 12月, 2008 2 次提交
  9. 13 12月, 2008 8 次提交
  10. 10 12月, 2008 1 次提交
  11. 06 12月, 2008 1 次提交
  12. 05 12月, 2008 7 次提交
  13. 01 12月, 2008 1 次提交
  14. 26 11月, 2008 1 次提交
    • I
      sched: convert struct root_domain to cpumask_var_t, fix · 1c391948
      Ingo Molnar 提交于
      Mathieu Desnoyers reported this build failure on powerpc:
      
       kernel/sched.c: In function 'sd_init_NODE':
       kernel/sched.c:7319: error: non-static initialization of a flexible array member
       kernel/sched.c:7319: error: (near initialization for '(anonymous)')
      
      this happens because .span changed to cpumask_var_t, hence
      the static CPU_MASK_NONE initializers in the SD_*_INIT
      templates are not type-correct anymore.
      
      Remove them, as they default to empty anyway.
      
      Also remove them from IA64, MIPS and SH.
      Reported-by: NMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      1c391948
  15. 25 11月, 2008 1 次提交
    • D
      MIPS: Make BUG() __noreturn. · 8ec2e243
      David Daney 提交于
      Often we do things like put BUG() in the default clause of a case
      statement.  Since it was not declared __noreturn, this could sometimes
      lead to bogus compiler warnings that variables were used
      uninitialized.
      
      There is a small problem in that we have to put a magic while(1); loop to
      fool GCC into really thinking it is noreturn.  This makes the new
      BUG() function 3 instructions long instead of just 1, but I think it
      is worth it as it is now unnecessary to do extra work to silence the
      'used uninitialized' warnings.
      
      I also re-wrote BUG_ON so that if it is given a constant condition, it
      just does BUG() instead of loading a constant value in to a register
      and testing it.
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      8ec2e243
  16. 21 11月, 2008 6 次提交
  17. 14 11月, 2008 2 次提交