1. 09 6月, 2009 2 次提交
    • B
      powerpc/mm: Fix some SMP issues with MMU context handling · 3035c863
      Benjamin Herrenschmidt 提交于
      This patch fixes a couple of issues that can happen as a result
      of steal_context() dropping the context_lock when all possible
      PIDs are ineligible for stealing (hopefully an extremely hard to
      hit occurence).
      
      This case exposes the possibility of a stale context_mm[] entry
      to be seen since destroy_context() doesn't clear it and the free
      map isn't re-tested. It also means steal_context() will not notice
      a context freed while the lock was help, thus possibly trying to
      steal a context when a free one was available.
      
      This fixes it by always returning to the caller from steal_context
      when it dropped the lock with a return value that causes the
      caller to re-samble the number of free contexts, along with
      properly clearing the context_mm[] array for destroyed contexts.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      3035c863
    • R
      powerpc: Add PTRACE_SINGLEBLOCK support · ec097c84
      Roland McGrath 提交于
      Reworked by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      This adds block-step support on powerpc, including a PTRACE_SINGLEBLOCK
      request for ptrace.
      
      The BookE implementation is tweaked to fire a single step after a
      block step in order to mimmic the server behaviour.
      Signed-off-by: NRoland McGrath <roland@redhat.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      ec097c84
  2. 07 6月, 2009 5 次提交
  3. 02 6月, 2009 9 次提交
  4. 29 5月, 2009 1 次提交
  5. 28 5月, 2009 5 次提交
  6. 27 5月, 2009 18 次提交