Re: add new code section for kernel code

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


On Thu, 6 Apr 2006 15:45:47 +0300
"saeed bishara" <[email protected]> wrote:

>  I'm developing linux kernel for ARM cpu with direct-mapped
> instruction cache, sometimes I notice that the pefromance of the
> kernel (for some test) is highly dependent on the code layout, in
> order to fix that I added new code section, and for each kernel
> function that highly invokerd I added compiler attribute so it will
> allocated in that section (exactly as the __init section)

It's already done in 2.6.17-rc1 for x86_64:

Processor type and feature --> Function reordering


config REORDER
        bool "Function reordering"
        default n
         This option enables the toolchain to reorder functions for a more
         optimal TLB usage. If you have pretty much any version of binutils,
         this can increase your kernel build time by roughly one minute.;a=commit;h=4bdc3b7f1b730c07f5a6ccca77ee68e044036ffc

	Paolo Ornati
	Linux on x86_64
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[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