[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200801151343.22152.ak@suse.de>
Date: Tue, 15 Jan 2008 13:43:21 +0100
From: Andi Kleen <ak@...e.de>
To: "Jan Beulich" <jbeulich@...ell.com>
Cc: mingo@...e.hu, tglx@...utronix.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [0/31] Great change_page_attr patch series v2
> >But you're right that would be an useful feature. But wouldn't it require
> >aligning rodata to 2MB in the vmlinux to be really effective?
>
> Yes, that would be desirable then (and .data should be at a 2/4 Mb
> boundary for this, too).
Yes, rather .rodata/.text together and .data/.bss separately
aligned to 2MB.
But the problem is it would be quite wasteful -- even on a big
defconfig kernel data+bss is far less than 2MB and with 4MB
pages it would be even worse.
I'm not sure that would be worth the advantage of write protection for non
debugging kernels and for debugging kernels just using 4K pages is fine.
There's also the issue where to put the initcode/initdata.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists