RE: [PATCH] flush icache before set_pte() on ia64 take9 [2/2] flush icache at set_pte
From: Luck, Tony
Date: Fri Aug 10 2007 - 16:53:21 EST
> What about code-size?
text data bss dec hex filename
9499911 911620 1313065 11724596 b2e734 vmlinux-before
text data bss dec hex filename
9504047 911620 1313065 11728732 b2f75c vmlinux-after
So about 4K extra. In the kernel I built (tiger_defconfig) there
are 27 call-sites for __ia64_sync_icache_dcache ... so that amounts
to about 150 bytes each ... or close to 10 bundles.
> Also, is it OK to call a function from all places where a set_pte() is
> being done? I'd hope so, but it's a really low-level operation...
These are all from normal-looking C code ... so RSE must be valid.
What other weird things might be be doing that would make it a
problem for the new code to make a function call?
-Tony
-
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/