Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: [PATCH] more i386 head.S cleanups | Date | Thu, 15 Apr 2004 20:58:42 +0000 (UTC) |
| |
Followup to: <406ECAE7.1020407@quark.didntduck.org> By author: Brian Gerst <bgerst@didntduck.org> In newsgroup: linux.dev.kernel > > - Move empty_zero_page and swapper_pg_dir to BSS. This requires that > BSS is cleared earlier, but reclaims over 3k that was lost due to page > alignment. > - Move stack_start, ready, and int_msg, boot_gdt_descr, idt_descr, and > cpu_gdt_descr to .data. They were interfering with disassembly while in > .text. >
Some of them should be in .rodata instead of .data.
.data should only be used for modifiable numbers.
All in all these patches are a good idea; I had the same thoughts when I was doing the changes to the boot page tables, but didn't want to change too much at once.
-hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |