linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] xfs: fix unecessary percpu counter overhead
@ 2020-05-19 21:48 Dave Chinner
  2020-05-19 21:48 ` [PATCH 1/2] xfs: gut error handling in xfs_trans_unreserve_and_mod_sb() Dave Chinner
  2020-05-19 21:48 ` [PATCH 2/2] xfs: reduce free inode accounting overhead Dave Chinner
  0 siblings, 2 replies; 13+ messages in thread
From: Dave Chinner @ 2020-05-19 21:48 UTC (permalink / raw)
  To: linux-xfs

Hi folks,

This is a resend of a patch from months ago that can be found here:

https://lore.kernel.org/linux-xfs/20191121004437.9633-1-david@fromorbit.com/

I've split it into two patches and cleaned it up further and
retested it, and all is good now.

Essentially it solves the problem of production systems taking
percpu_counter_sum() overhead in a hot path when the sum is only
used for debug purposes and not actually compiled in to production
kernels. As a further cleanup of this code, the error handling
never returns errors at all to the caller, so it's only
for debug purposes. Given that the error handling logic is wrong and
we throw it away on debug kernels anyway, just get rid of all of it.

Cheers,

Dave.


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

end of thread, other threads:[~2020-05-20 22:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 21:48 [PATCH 0/2] xfs: fix unecessary percpu counter overhead Dave Chinner
2020-05-19 21:48 ` [PATCH 1/2] xfs: gut error handling in xfs_trans_unreserve_and_mod_sb() Dave Chinner
2020-05-20  6:53   ` Christoph Hellwig
2020-05-20  7:03     ` Dave Chinner
2020-05-20  7:33   ` [PATCH 1/2 V2] " Dave Chinner
2020-05-20  7:48     ` Christoph Hellwig
2020-05-20 20:27       ` Darrick J. Wong
2020-05-20 21:55         ` Dave Chinner
2020-05-20 22:28           ` Darrick J. Wong
2020-05-20 22:37             ` Dave Chinner
2020-05-19 21:48 ` [PATCH 2/2] xfs: reduce free inode accounting overhead Dave Chinner
2020-05-20  6:56   ` Christoph Hellwig
2020-05-20 20:43   ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).