hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/x86/boot/compressed/ident_map_64.c
....@@ -67,6 +67,14 @@
6767 return NULL;
6868 }
6969
70
+ /* Consumed more tables than expected? */
71
+ if (pages->pgt_buf_offset == BOOT_PGT_SIZE_WARN) {
72
+ debug_putstr("pgt_buf running low in " __FILE__ "\n");
73
+ debug_putstr("Need to raise BOOT_PGT_SIZE?\n");
74
+ debug_putaddr(pages->pgt_buf_offset);
75
+ debug_putaddr(pages->pgt_buf_size);
76
+ }
77
+
7078 entry = pages->pgt_buf + pages->pgt_buf_offset;
7179 pages->pgt_buf_offset += PAGE_SIZE;
7280