1. 21 12月, 2005 1 次提交
    • T
      [PATCH] relayfs: remove warning printk() in relay_switch_subbuf() · fd30fc32
      Tom Zanussi 提交于
      There's currently a diagnostic printk in relay_switch_subbuf() meant as
      a warning if you accidentally try to log an event larger than the
      sub-buffer size.
      
      The problem is if this happens while logging from somewhere it's not
      safe to be doing printks, such as in the scheduler, you can end up with
      a deadlock.  This patch removes the warning from relay_switch_subbuf()
      and instead prints some diagnostic info when the channel is closed.
      
      Thanks to Mathieu Desnoyers for pointing out the problem and
      suggesting a fix.
      Signed-off-by: NTom Zanussi <zanussi@us.ibm.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      fd30fc32
  2. 20 12月, 2005 2 次提交
  3. 19 12月, 2005 2 次提交
  4. 17 12月, 2005 2 次提交
  5. 15 12月, 2005 4 次提交
  6. 13 12月, 2005 15 次提交
  7. 12 12月, 2005 1 次提交
  8. 06 12月, 2005 1 次提交
  9. 02 12月, 2005 1 次提交
  10. 01 12月, 2005 2 次提交
  11. 30 11月, 2005 8 次提交
  12. 29 11月, 2005 1 次提交
    • R
      [PATCH] temporarily disable swap token on memory pressure · f7b7fd8f
      Rik van Riel 提交于
      Some users (hi Zwane) have seen a problem when running a workload that
      eats nearly all of physical memory - th system does an OOM kill, even
      when there is still a lot of swap free.
      
      The problem appears to be a very big task that is holding the swap
      token, and the VM has a very hard time finding any other page in the
      system that is swappable.
      
      Instead of ignoring the swap token when sc->priority reaches 0, we could
      simply take the swap token away from the memory hog and make sure we
      don't give it back to the memory hog for a few seconds.
      
      This patch resolves the problem Zwane ran into.
      Signed-off-by: NRik van Riel <riel@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f7b7fd8f