Andi Kleen wrote:
> On Tuesday 03 October 2006 19:06, Vivek Goyal wrote:
>> o Currently there is no specific alignment restriction in linker script
>> and in some cases it can be placed non 4K aligned addresses. This fails
>> kexec which checks that segment to be loaded is page aligned.
>>
>> o I guess, it does not harm data segment to be 4K aligned.
>
> iirc P4 optimization guide even recommends to keep writable data
> away one page from code to avoid some cache invalidations. But:
>
Yes, that's why the .rodata section should be in between.
It's not just the P4, either.
-hpa
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot