1. 02 9月, 2006 1 次提交
    • C
      [PATCH] ZVC: Overstep counters · a302eb4e
      Christoph Lameter 提交于
      Increments and decrements are usually grouped rather than mixed.  We can
      optimize the inc and dec functions for that case.
      
      Increment and decrement the counters by 50% more than the threshold in
      those cases and set the differential accordingly.  This decreases the need
      to update the atomic counters.
      
      The idea came originally from Andrew Morton.  The overstepping alone was
      sufficient to address the contention issue found when updating the global
      and the per zone counters from 160 processors.
      
      Also remove some code in dec_zone_page_state.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a302eb4e
  2. 01 9月, 2006 7 次提交
  3. 31 8月, 2006 24 次提交
  4. 30 8月, 2006 8 次提交