Skip to contentSkip to conversation

memblock: remove return value of memblock_free_all()

GIT PULL Merged Mike Rapoport 3 participants 4 messages Feb 9, 2021 – Feb 22, 2021 Memory management

lore
Share & tools
lore
#0 lore raw

Hi Linus,

This a small cleanup in memblock for 5.12 merge window.

The following changes since commit 7c53f6b671f4aba70ff15e1b05148b10d58c2837:

Linux 5.11-rc3 (2021-01-10 14:34:50 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v5.12-rc1

for you to fetch changes up to 097d43d8570457c1af9b09fab15412697b177f35:

mm: memblock: remove return value of memblock_free_all() (2021-01-14 15:29:11 +0200)

----------------------------------------------------------------
memblock: remove return value of memblock_free_all()

memblock_free_all() returns the total count of freed pages and its callers used this value to update totalram_pages. This update is now anyway a part of memblock_free_all() and its callers no longer check the return value, so make memblock_free_all() void.

----------------------------------------------------------------
Daeseok Youn (1):
mm: memblock: remove return value of memblock_free_all()

 include/linux/memblock.h | 2 +-
 mm/memblock.c            | 6 +-----
 2 files changed, 2 insertions(+), 6 deletions(-)
Signature · 2 lines
Sincerely yours,
Mike.
#1 lore raw
Quoted 2 lines · Mike Rapoport

This a small cleanup in memblock for 5.12 merge window.

If it's going to make Andrew's patches easier to apply during the 5.12 timeframe, I'm happy to pull this early.

Yes/No?

Linus

#2 lore raw
Quoted 8 lines · Linus Torvalds
Quoted 2 lines · Mike Rapoport

This a small cleanup in memblock for 5.12 merge window.

If it's going to make Andrew's patches easier to apply during the 5.12 timeframe, I'm happy to pull this early.

Yes/No?

No

Signature · 2 lines
Sincerely yours,
Mike.
merge bot Merged
#3 lore raw
In reply to Mike Rapoport
The pull request you sent on Tue, 9 Feb 2021 11:43:27 +0200:

The pull request you sent on Tue, 9 Feb 2021 11:43:27 +0200:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v5.12-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7b7028edf939f6ab3bb7465937b33dd714020fa8

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html