[lkml]   [2004]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] more i386 head.S cleanups
Followup to:  <>
By author: Brian Gerst <>
In newsgroup:
> - 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:02    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean