Skip to content

Add /proc/mempool to display mempools

Remi Colinet lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 3/32 patches 0 repliesNew
  2. v1 posting 2/31 patch 13 repliesSuperseded
  3. v1 posting 1/31 patch 0 repliesSuperseded

Patches in v1 posting 3/3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Implement /proc/mempool file to display mempools.fs/proc/Makefile fs/proc/mempool.c include/linux/mempool.h +1 more+171 -120 replies
2/2Update mempool function calls.block/blk-core.c drivers/md/dm-io.c drivers/md/raid1.c +3 more+7 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RESEND take 2][PATCH 0/2] Add /proc/mempool to display mempools

This patch add a new /proc/mempool file to display mempools.

Patch againt 2.6.28-rc6.

---
Add /proc/mempool to display mempools.

Resend #1 : cosmetic cleaning.

Resend #2 : remove config option for /proc/mempool file. Add a missing file (fs/proc/mempool.c). Correct mempool_XXX function calls by drivers (s390, ibmvfs, qla4xxx). Cosmetic stuff found with scripts/checkpatch.pl.

 block/blk-core.c               |    3 -
 drivers/block/pktcdvd.c        |    4 -
 drivers/block/virtio_blk.c     |    3 -
 drivers/md/dm-crypt.c          |    5 +-
 drivers/md/dm-io.c             |    3 -
 drivers/md/dm-raid1.c          |    2
 drivers/md/dm-region-hash.c    |    2
 drivers/md/multipath.c         |    2
 drivers/md/raid1.c             |    7 +-
 drivers/md/raid10.c            |    5 +-
 drivers/s390/scsi/zfcp_aux.c   |    2
 drivers/scsi/ibmvscsi/ibmvfc.c |    2
 drivers/scsi/lpfc/lpfc_mem.c   |    5 +-
 drivers/scsi/qla4xxx/ql4_os.c  |    2
 fs/bio.c                       |    2
 fs/proc/Makefile               |    1
 fs/proc/mempool.c              |   99 +++++++++++++++++++++++++++++++++
 include/linux/mempool.h        |   40 ++++++++++++----
 mm/bounce.c                    |    4 -
 mm/mempool.c                   |   43 ++++++++++++++++-
 20 files changed, 200 insertions(+), 36 deletions(-)