Skip to content

Continue xfs kmem cleanup - V2

Carlos Maiolino linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 5 patches 3 repliesIn review

2 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
4/5xfs: remove xfs_zone_{alloc,zalloc} helpersfs/xfs/kmem.c fs/xfs/kmem.h fs/xfs/xfs_trace.h+0 -301 reply
5/5xfs: Remove xfs_da_state_alloc() helperfs/xfs/libxfs/xfs_attr.c fs/xfs/libxfs/xfs_da_btree.c fs/xfs/libxfs/xfs_da_btree.h +2 more+11 -202 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDave ChinnerChristoph Hellwig
SeriesR-b R-b
4/5R-b R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Continue xfs kmem cleanup - V2

Hi,

This is a V2 of the kmem cleanup series, which includes the changes suggested by Dave on V1, including his reviewed-by tag on patch 4.

Detailed changelog is written on each patch.

Patches have been tested with xfstests, on a 1GiG and a 64GiB RAM systems to check the patches under memory pressure.

Cheers.

Comments?

Carlos Maiolino (5):
xfs: Remove kmem_zone_alloc() usage
xfs: Remove kmem_zone_zalloc() usage
xfs: Modify xlog_ticket_alloc() to use kernel's MM API
xfs: remove xfs_zone_{alloc,zalloc} helpers
xfs: Remove xfs_da_state_alloc() helper

 fs/xfs/kmem.c                      | 21 ---------------------
 fs/xfs/kmem.h                      |  8 --------
 fs/xfs/libxfs/xfs_alloc.c          |  3 ++-
 fs/xfs/libxfs/xfs_alloc_btree.c    |  2 +-
 fs/xfs/libxfs/xfs_attr.c           |  9 +++++----
 fs/xfs/libxfs/xfs_bmap.c           |  8 ++++++--
 fs/xfs/libxfs/xfs_bmap_btree.c     |  2 +-
 fs/xfs/libxfs/xfs_da_btree.c       | 10 ----------
 fs/xfs/libxfs/xfs_da_btree.h       |  1 -
 fs/xfs/libxfs/xfs_dir2_node.c      |  8 ++++----
 fs/xfs/libxfs/xfs_ialloc_btree.c   |  2 +-
 fs/xfs/libxfs/xfs_inode_fork.c     |  6 +++---
 fs/xfs/libxfs/xfs_refcount_btree.c |  2 +-
 fs/xfs/libxfs/xfs_rmap_btree.c     |  2 +-
 fs/xfs/scrub/dabtree.c             |  3 ++-
 fs/xfs/xfs_bmap_item.c             |  4 ++--
 fs/xfs/xfs_buf.c                   |  4 +---
 fs/xfs/xfs_buf_item.c              |  2 +-
 fs/xfs/xfs_dquot.c                 |  2 +-
 fs/xfs/xfs_extfree_item.c          |  6 ++++--
 fs/xfs/xfs_icache.c                | 13 +++++++++----
 fs/xfs/xfs_icreate_item.c          |  2 +-
 fs/xfs/xfs_inode_item.c            |  3 ++-
 fs/xfs/xfs_log.c                   |  9 +++------
 fs/xfs/xfs_log_cil.c               |  3 +--
 fs/xfs/xfs_log_priv.h              |  4 +---
 fs/xfs/xfs_refcount_item.c         |  5 +++--
 fs/xfs/xfs_rmap_item.c             |  5 +++--
 fs/xfs/xfs_trace.h                 |  1 -
 fs/xfs/xfs_trans.c                 |  4 ++--
 fs/xfs/xfs_trans_dquot.c           |  3 ++-
 31 files changed, 63 insertions(+), 94 deletions(-)
Signature · 1 line
2.26.2