Skip to content

Extract memory pool logic into reusable component

Jameson Miller git 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v33 patches 4 repliesSuperseded
  3. v25 patches 5 repliesSuperseded

Changes in v4 from the cover letter

- Based patch off of new commit, to resolve merge conflict.

- Updated log message in 2/3 based on feedback.

- Squashed patch from Ramsay Jones into 2/3 to fix warning from sparse.

- Updated variable names in 2/3 to reflect updated usage of variable.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fast-import: rename mem_pool type to mp_blockfast-import.c+10 -100 replies
2/3fast-import: introduce mem_pool typefast-import.c+52 -290 replies
3/3Move reusable parts of memory pool into its own fileMakefile fast-import.c mem-pool.c +1 more+91 -690 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/3] Extract memory pool logic into reusable component

Thank you everyone for taking the time review and provide feedback on this patch series.

Changes from v3:

- Based patch off of new commit, to resolve merge conflict.

- Updated log message in 2/3 based on feedback.

- Squashed patch from Ramsay Jones into 2/3 to fix warning from sparse.

- Updated variable names in 2/3 to reflect updated usage of variable.

Jameson Miller (3):
fast-import: rename mem_pool type to mp_block
fast-import: introduce mem_pool type
Move reusable parts of memory pool into its own file

 Makefile      |  1 +
 fast-import.c | 77 +++++++++++++----------------------------------------------
 mem-pool.c    | 55 ++++++++++++++++++++++++++++++++++++++++++
 mem-pool.h    | 34 ++++++++++++++++++++++++++
 4 files changed, 106 insertions(+), 61 deletions(-)
 create mode 100644 mem-pool.c
 create mode 100644 mem-pool.h
Signature · 1 line
2.14.3