[PATCH 1/3] ARM: move .vectors and .stubs sections back into the kernel VMA
Russell King - ARM Linux
linux at arm.linux.org.uk
Wed Feb 3 01:13:31 PST 2016
On Wed, Feb 03, 2016 at 08:56:35AM +0100, Ard Biesheuvel wrote:
> On 3 February 2016 at 01:03, Russell King - ARM Linux
> <linux at arm.linux.org.uk> wrote:
> > On Tue, Feb 02, 2016 at 02:19:32PM +0100, Ard Biesheuvel wrote:
> >> The sections themselves are emitted 4 KB apart, as required:
> >> ...
> >> [16] .stubs PROGBITS c0c35000 a35000 0002c0 00 AX 0 0 32
> >> [17] .vectors PROGBITS c0c34000 a44000 000020 00 AX 0 0 2
> >> ...
> >
> > ... which means we end up wasting most of a page for absolutely no
> > purpose what so ever. Sorry, I'm really not happy about this
> > gratuitous wastage.
> >
>
> No, we don't. Here's some more context:
>
> Before:
> [14] .ARM.unwind_tab PROGBITS c0c2ef98 a2ef98 005088 00 A 0 0 4
> [15] .notes NOTE c0c34020 a34020 000024 00 AX 0 0 4
> [16] .vectors PROGBITS 00000000 a40000 000020 00 AX 0 0 2
> [17] .stubs PROGBITS 00001000 a41000 0002c0 00 AX 0 0 32
> [18] .init.text PROGBITS c0c352e0 a452e0 06b1b8 00 AX 0 0 32
>
> After
> [14] .ARM.unwind_tab PROGBITS c0c2ef98 a2ef98 005088 00 A 0 0 4
> [15] .notes NOTE c0c34020 a34020 000024 00 AX 0 0 4
> [16] .stubs PROGBITS c0c35000 a35000 0002c0 00 AX 0 0 32
> [17] .vectors PROGBITS c0c34000 a44000 000020 00 AX 0 0 2
> [18] .init.text PROGBITS c0c352e0 a452e0 06b1b8 00 AX 0 0 32
Meaningless numbers... Do you think you can quote with the header
please? I don't tend to carry around the objdump headers in my head.
Thanks.
--
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel
mailing list