1. 19 3月, 2006 1 次提交
  2. 08 3月, 2006 1 次提交
  3. 04 3月, 2006 1 次提交
  4. 01 3月, 2006 3 次提交
  5. 28 2月, 2006 1 次提交
  6. 27 2月, 2006 1 次提交
  7. 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
  8. 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
  9. 18 2月, 2006 4 次提交
  10. 15 2月, 2006 3 次提交
    • B
      [PATCH] HPET: handle multiple ACPI EXTENDED_IRQ resources · be5efffb
      Bjorn Helgaas 提交于
      When the _CRS for a single HPET contains multiple EXTENDED_IRQ resources,
      we overwrote hdp->hd_nirqs every time we found one.
      
      So the driver worked when all the IRQs were described in a single
      EXTENDED_IRQ resource, but failed when multiple resources were used.
      (Strictly speaking, I think the latter is actually more correct, but both
      styles have been used.)
      
      Someday we should remove all the ACPI stuff from hpet.c and use PNP driver
      registration instead.  But currently PNP_MAX_IRQ is 2, and HPETs often have
      more IRQs.  Hint, hint, Adam :-)
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Acked-by: NBob Picco <robert.picco@hp.com>
      Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Cc: Len Brown <len.brown@intel.com>
      Cc: Adam Belay <ambx1@neo.rr.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      be5efffb
    • P
      [PATCH] tty reference count fix · da965822
      Paul Fulghum 提交于
      Fix hole where tty structure can be released when reference count is non
      zero.  Existing code can sleep without tty_sem protection between deciding
      to release the tty structure (setting local variables tty_closing and
      otty_closing) and setting TTY_CLOSING to prevent further opens.  An open
      can occur during this interval causing release_dev() to free the tty
      structure while it is still referenced.
      
      This should fix bugzilla.kernel.org [Bug 6041] New: Unable to handle kernel
      paging request
      
      In Bug 6041, tty_open() oopes on accessing the tty structure it has
      successfully claimed.  Bug was on SMP machine with the same tty being
      opened and closed by multiple processes, and DEBUG_PAGEALLOC enabled.
      Signed-off-by: NPaul Fulghum <paulkf@microgate.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Jesper Juhl <jesper.juhl@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      da965822
    • A
      [PATCH] Fix locking error in esp · 5552c28f
      Alan Cox 提交于
      Noted by Al Viro.
      
      Also remove unused tmp_buf
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5552c28f
  11. 14 2月, 2006 1 次提交
  12. 13 2月, 2006 1 次提交
  13. 12 2月, 2006 9 次提交
  14. 11 2月, 2006 2 次提交
  15. 08 2月, 2006 3 次提交
  16. 07 2月, 2006 1 次提交
  17. 04 2月, 2006 5 次提交