public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Use generic percpu counters in XFS
@ 2010-11-29  0:36 Dave Chinner
  2010-11-29  0:36 ` [PATCH 1/3] lib: percpu counter add unless less than functionality Dave Chinner
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Dave Chinner @ 2010-11-29  0:36 UTC (permalink / raw)
  To: xfs; +Cc: linux-kernel, a.p.zijlstra

This series replaces the XFS per-cpu superblock counters with generic per-cpu
counters. It adds a specialised operation to the generic counter implementation
and then switches the XFS percpu superblock counters over to use the generic
percpu counter implementation. The result is several hundred lines of complex
code removed from XFS.


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/3] Use generic percpu counters in XFS V2
@ 2010-12-13  1:21 Dave Chinner
  2010-12-13  1:21 ` [PATCH 1/3] lib: percpu counter add unless less than functionality Dave Chinner
  0 siblings, 1 reply; 11+ messages in thread
From: Dave Chinner @ 2010-12-13  1:21 UTC (permalink / raw)
  To: xfs; +Cc: linux-kernel, a.p.zijlstra

This series replaces the XFS per-cpu superblock counters with
generic per-cpu counters. It adds a specialised operation to the
generic counter implementation and then switches the XFS percpu
superblock counters over to use the generic percpu counter
implementation. The result is several hundred lines of complex code
removed from XFS.

Version 2:
- use wrappers for percpu_counter_add_unless_lt() to allow custom
  batch sizes to be used.
- removed xfs_icsb_*() wrappers from percpu counters.
- cleaned up split of xfs_icsb_modify_counters().


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-12-13  1:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-29  0:36 [PATCH 0/3] Use generic percpu counters in XFS Dave Chinner
2010-11-29  0:36 ` [PATCH 1/3] lib: percpu counter add unless less than functionality Dave Chinner
2010-11-29 12:08   ` Peter Zijlstra
2010-11-30  4:30     ` Dave Chinner
2010-11-29  0:36 ` [PATCH 2/3] xfs: use generic per-cpu counter infrastructure Dave Chinner
2010-11-29  9:16   ` Christoph Hellwig
2010-11-30  4:37     ` Dave Chinner
2010-11-29  0:36 ` [PATCH 3/3] xfs: demultiplex xfs_icsb_modify_counters() Dave Chinner
2010-11-29  9:19   ` Christoph Hellwig
2010-11-30  4:38     ` Dave Chinner
  -- strict thread matches above, loose matches on Subject: below --
2010-12-13  1:21 [PATCH 0/3] Use generic percpu counters in XFS V2 Dave Chinner
2010-12-13  1:21 ` [PATCH 1/3] lib: percpu counter add unless less than functionality Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox