Skip to content

bootconfig: Fixes to bootconfig memory management etc.

Masami Hiramatsu linux-mm lkml 5 versions – In review

Get series with b4
b4 am 163177338366.682366.5998343833719057348.stgit@devnote2

Versions newest first · linked by author and title

  1. v4 Latest posting 2/24 patches 7 repliesIn review
  2. v4 posting 1/20 of 4 patches 0 repliesSuperseded
  3. v33 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches8 repliesSuperseded
v11 patch1 replySuperseded

Patches in v4 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4bootconfig: init: Fix memblock leak in xbc_make_cmdline()init/main.c+1 -03 replies
2/4bootconfig: Allocate xbc_data inside xbc_init()include/linux/bootconfig.h init/main.c lib/bootconfig.c +1 more+27 -270 replies
3/4bootconfig: Add xbc_get_info() for the node informationinclude/linux/bootconfig.h init/main.c lib/bootconfig.c +1 more+25 -00 replies
4/4bootconfig: Rename xbc_destroy_all() to xbc_fini()include/linux/bootconfig.h init/main.c lib/bootconfig.c +1 more+7 -74 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/4] bootconfig: Fixes to bootconfig memory management etc.

Hi Steve,

Here are the 4th version of the series to fix bootconfig memory management issues and API cleanup.

In this version, I added patches to move the memory allocation for the bootconfig in xbc_init() [2/4], add xbc_get_info()[3/4], and rename xbc_destroy_all()[4/4].

Thank you,

---

Masami Hiramatsu (4):
bootconfig: init: Fix memblock leak in xbc_make_cmdline()
bootconfig: Allocate xbc_data inside xbc_init()
bootconfig: Add xbc_get_info() for the node information
bootconfig: Rename xbc_destroy_all() to xbc_fini()

 include/linux/bootconfig.h |    6 +++-
 init/main.c                |   17 ++++--------
 lib/bootconfig.c           |   60 +++++++++++++++++++++++++++++++++-----------
 tools/bootconfig/main.c    |    9 ++++---
 4 files changed, 59 insertions(+), 33 deletions(-)
Signature · 1 line
Masami Hiramatsu (Linaro) <[email protected]>