diff options
author | 2022-06-14 17:21:54 +0800 | |
---|---|---|
committer | 2022-06-15 12:14:08 +0200 | |
commit | abd62377c0064302df680ab33f4c05290ba24af8 (patch) | |
tree | 508f1c7330482a3660b417330bf7b53f249ce342 /net/unix/sysctl_net_unix.c | |
parent | mm: Ratelimited mirrored memory related warning messages (diff) | |
download | wireguard-linux-abd62377c0064302df680ab33f4c05290ba24af8.tar.xz wireguard-linux-abd62377c0064302df680ab33f4c05290ba24af8.zip |
mm: Limit warning message in vmemmap_verify() to once
For a system only have limited mirrored memory or some numa node without
mirrored memory, the per node vmemmap page_structs prefer to allocate
memory from mirrored region, which will lead to vmemmap_verify() in
vmemmap_populate_basepages() report lots of warning message.
This patch change the frequency of "potential offnode page_structs" warning
messages to only once to avoid a very long print during bootup.
Signed-off-by: Ma Wupeng <mawupeng1@huawei.com>
Acked-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20220614092156.1972846-4-mawupeng1@huawei.com
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions