Commit ecf5dd1f authored by Serge Semin's avatar Serge Semin Committed by Andrew Morton

mm/mm_init.c: extend init unavailable range doc info

Besides of the already described reasons the pages backended memory holes
might be persistent due to having memory mapped IO spaces behind those
ranges in the framework of flatmem kernel config.  Add such note to the
init_unavailable_range() method kdoc in order to point out to one more
reason of having the function executed for such regions.

[fancer.lancer@gmail.com: update per Mike]
  Link: https://lkml.kernel.org/r/20231202111855.18392-1-fancer.lancer@gmail.com
Link: https://lkml.kernel.org/r/20231122182419.30633-6-fancer.lancer@gmail.comSigned-off-by: default avatarSerge Semin <fancer.lancer@gmail.com>
Reviewed-by: default avatarMike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent f7dd74ac
...@@ -796,6 +796,7 @@ overlap_memmap_init(unsigned long zone, unsigned long *pfn) ...@@ -796,6 +796,7 @@ overlap_memmap_init(unsigned long zone, unsigned long *pfn)
* - physical memory bank size is not necessarily the exact multiple of the * - physical memory bank size is not necessarily the exact multiple of the
* arbitrary section size * arbitrary section size
* - early reserved memory may not be listed in memblock.memory * - early reserved memory may not be listed in memblock.memory
* - non-memory regions covered by the contigious flatmem mapping
* - memory layouts defined with memmap= kernel parameter may not align * - memory layouts defined with memmap= kernel parameter may not align
* nicely with memmap sections * nicely with memmap sections
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment