public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: xfs@oss.sgi.com
Cc: linux-kernel@vger.kernel.org, a.p.zijlstra@chello.nl
Subject: [PATCH 0/3] Use generic percpu counters in XFS V2
Date: Mon, 13 Dec 2010 12:21:50 +1100	[thread overview]
Message-ID: <1292203313-15570-1-git-send-email-david@fromorbit.com> (raw)

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().


             reply	other threads:[~2010-12-13  1:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-13  1:21 Dave Chinner [this message]
2010-12-13  1:21 ` [PATCH 1/3] lib: percpu counter add unless less than functionality Dave Chinner
2010-12-13  1:21 ` [PATCH 2/3] xfs: use generic per-cpu counter infrastructure Dave Chinner
2010-12-16 15:36   ` Christoph Hellwig
2010-12-13  1:21 ` [PATCH 3/3] xfs: demultiplex xfs_icsb_modify_counters() Dave Chinner
2010-12-16 15:38   ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1292203313-15570-1-git-send-email-david@fromorbit.com \
    --to=david@fromorbit.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox