add new code section for kernel code

From: saeed bishara
Date: Thu Apr 06 2006 - 08:55:04 EST


Hi,
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). but it
bothers me that I need to change the kernel source code, so is there
any way to do that externally (without touching C code)?

saeed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/