1. 14 11月, 2012 2 次提交
    • P
      rcu: Remove list_for_each_continue_rcu() · bb08f76d
      Paul E. McKenney 提交于
      The list_for_each_continue_rcu() macro is no longer used, so this commit
      removes it.  The list_for_each_entry_continue_rcu() macro should be
      used instead.
      Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      bb08f76d
    • E
      rcu: Fix batch-limit size problem · 878d7439
      Eric Dumazet 提交于
      Commit 29c00b4a (rcu: Add event-tracing for RCU callback
      invocation) added a regression in rcu_do_batch()
      
      Under stress, RCU is supposed to allow to process all items in queue,
      instead of a batch of 10 items (blimit), but an integer overflow makes
      the effective limit being 1.  So, unless there is frequent idle periods
      (during which RCU ignores batch limits), RCU can be forced into a
      state where it cannot keep up with the callback-generation rate,
      eventually resulting in OOM.
      
      This commit therefore converts a few variables in rcu_do_batch() from
      int to long to fix this problem, along with the module parameters
      controlling the batch limits.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: <stable@vger.kernel.org> # 3.2 +
      878d7439
  2. 21 10月, 2012 3 次提交
    • P
      rcu: Accelerate callbacks for CPU initiating a grace period · 62da1921
      Paul E. McKenney 提交于
      Because grace-period initialization is carried out by a separate
      kthread, it might happen on a different CPU than the one that
      had the callback needing a grace period -- which is where the
      callback acceleration needs to happen.
      
      Fortunately, rcu_start_gp() holds the root rcu_node structure's
      ->lock, which prevents a new grace period from starting.  This
      allows this function to safely determine that a grace period has
      not yet started, which in turn allows it to fully accelerate any
      callbacks that it has pending.  This commit adds this acceleration.
      Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      62da1921
    • L
      Linux 3.7-rc2 · 6f0c0580
      Linus Torvalds 提交于
      6f0c0580
    • L
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64 · 198190a1
      Linus Torvalds 提交于
      Pull arm64 fixes from Catalin Marinas:
       "Main changes:
         - AArch64 Linux compilation fixes following 3.7-rc1 changes
           (MODULES_USE_ELF_RELA, update_vsyscall() prototype)
         - Unnecessary register setting in start_thread() (thanks to Al Viro)
         - ptrace fixes"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64:
        arm64: fix alignment padding in assembly code
        arm64: ptrace: use HW_BREAKPOINT_EMPTY type for disabled breakpoints
        arm64: ptrace: make structure padding explicit for debug registers
        arm64: No need to set the x0-x2 registers in start_thread()
        arm64: Ignore memory blocks below PHYS_OFFSET
        arm64: Fix the update_vsyscall() prototype
        arm64: Select MODULES_USE_ELF_RELA
        arm64: Remove duplicate inclusion of mmu_context.h in smp.c
      198190a1
  3. 20 10月, 2012 35 次提交