]> Git Repo - linux.git/commit - mm/memblock.c
mm: Ratelimited mirrored memory related warning messages
authorMa Wupeng <[email protected]>
Tue, 14 Jun 2022 09:21:53 +0000 (17:21 +0800)
committerArd Biesheuvel <[email protected]>
Wed, 15 Jun 2022 10:14:00 +0000 (12:14 +0200)
commit14d9a675fd0d414b7ca3d47d2ff70fbda4f6cfc2
treed4351704542b99f02f1a6c98fd149bf720b16c5f
parent6365a1935c5151455812e96d8de434c551dc0d98
mm: Ratelimited mirrored memory related warning messages

If system has mirrored memory, memblock will try to allocate mirrored
memory firstly and fallback to non-mirrored memory when fails, but if with
limited mirrored memory or some numa node without mirrored memory, lots of
warning message about memblock allocation will occur.

This patch ratelimit the warning message to avoid a very long print during
bootup.

Signed-off-by: Ma Wupeng <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Reviewed-by: Kefeng Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Mike Rapoport <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
mm/memblock.c
This page took 0.05479 seconds and 4 git commands to generate.