All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Page and folio count helper cleanups
@ 2025-02-25 17:24 David Sterba
  2025-02-25 17:24 ` [PATCH 1/2] btrfs: add __pure attribute to eb page and folio counters David Sterba
  2025-02-25 17:24 ` [PATCH 2/2] btrfs: use num_extent_folios() in for loop bounds David Sterba
  0 siblings, 2 replies; 3+ messages in thread
From: David Sterba @ 2025-02-25 17:24 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

Adding the __pure attribute to num_extent_folios() allows some
optimizations that can reduce stack space usage.

David Sterba (2):
  btrfs: add __pure attribute to eb page and folio counters
  btrfs: use num_extent_folios() in for loop bounds

 fs/btrfs/disk-io.c   |  3 +--
 fs/btrfs/extent_io.c | 48 +++++++++++++++++---------------------------
 fs/btrfs/extent_io.h |  7 +++++--
 3 files changed, 24 insertions(+), 34 deletions(-)

-- 
2.47.1


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

end of thread, other threads:[~2025-02-25 17:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 17:24 [PATCH 0/2] Page and folio count helper cleanups David Sterba
2025-02-25 17:24 ` [PATCH 1/2] btrfs: add __pure attribute to eb page and folio counters David Sterba
2025-02-25 17:24 ` [PATCH 2/2] btrfs: use num_extent_folios() in for loop bounds David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.