1. 24 3月, 2006 12 次提交
  2. 23 3月, 2006 8 次提交
  3. 22 3月, 2006 4 次提交
  4. 21 3月, 2006 2 次提交
  5. 08 3月, 2006 1 次提交
  6. 04 3月, 2006 1 次提交
  7. 01 3月, 2006 3 次提交
  8. 28 2月, 2006 1 次提交
  9. 27 2月, 2006 1 次提交
  10. 24 2月, 2006 1 次提交
    • M
      [PATCH] Fix race condition in hvc console. · fb5c594c
      Michal Ostrowski 提交于
      tty_schedule_flip() would schedule a thread that would call flush_to_ldisc().
      If tty_buffer_request_room() gets called prior to that thread running --
      which is likely in this loop in hvc_poll(), it would set the active flag
      in the tty buffer and consequently flush_to_ldisc() would ignore it.
      
      The result is that input on the hvc console is not processed.
      
      This fix calls tty_flip_buffer_push (and flags the tty as
      "low_latency").  The push to the ldisc thus happens synchronously.
      Signed-off-by: NMichal Ostrowski <mostrows@watson.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      fb5c594c
  11. 21 2月, 2006 2 次提交
    • C
      [PATCH] Terminate process that fails on a constrained allocation · 9b0f8b04
      Christoph Lameter 提交于
      Some allocations are restricted to a limited set of nodes (due to memory
      policies or cpuset constraints).  If the page allocator is not able to find
      enough memory then that does not mean that overall system memory is low.
      
      In particular going postal and more or less randomly shooting at processes
      is not likely going to help the situation but may just lead to suicide (the
      whole system coming down).
      
      It is better to signal to the process that no memory exists given the
      constraints that the process (or the configuration of the process) has
      placed on the allocation behavior.  The process may be killed but then the
      sysadmin or developer can investigate the situation.  The solution is
      similar to what we do when running out of hugepages.
      
      This patch adds a check before we kill processes.  At that point
      performance considerations do not matter much so we just scan the zonelist
      and reconstruct a list of nodes.  If the list of nodes does not contain all
      online nodes then this is a constrained allocation and we should kill the
      current process.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Cc: Nick Piggin <nickpiggin@yahoo.com.au>
      Cc: Andi Kleen <ak@muc.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9b0f8b04
    • D
      b41c82eb
  12. 18 2月, 2006 4 次提交