summaryrefslogtreecommitdiff
path: root/mm/sparse-vmemmap.c
diff options
context:
space:
mode:
authorMa Wupeng <mawupeng1@huawei.com>2022-06-14 12:21:53 +0300
committerArd Biesheuvel <ardb@kernel.org>2022-06-15 13:14:00 +0300
commit14d9a675fd0d414b7ca3d47d2ff70fbda4f6cfc2 (patch)
treed4351704542b99f02f1a6c98fd149bf720b16c5f /mm/sparse-vmemmap.c
parent6365a1935c5151455812e96d8de434c551dc0d98 (diff)
downloadlinux-14d9a675fd0d414b7ca3d47d2ff70fbda4f6cfc2.tar.xz
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 <mawupeng1@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Acked-by: Mike Rapoport <rppt@linux.ibm.com> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by: Kefeng Wang <wangkefeng.wang@huawei.com> Link: https://lore.kernel.org/r/20220614092156.1972846-3-mawupeng1@huawei.com Acked-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions