Re: [PATCH] Move some more structures into "mostly_readonly"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arjan van de Ven wrote:
On Tue, 2005-06-07 at 12:59 -0700, christoph wrote:

On Tue, 7 Jun 2005, Christoph Hellwig wrote:


On Tue, Jun 07, 2005 at 11:30:03AM -0700, christoph wrote:

Move syscall table, timer_hpet and the boot_cpu_data into the "mostly_readonly" section.

the syscall table should be completely readonly.

Why was it in .data in the first place? There must be some reason why it was writable?


probably a historic oversight.


It doesn't really matter. .rodata isn't actually mapped read-only. Doing so would break up the large pages used to map the kernel.

--
				Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux