Re: [RFC] Observations on x86 process.c

From: Jan Engelhardt
Date: Mon Jun 13 2005 - 07:39:08 EST



>A) dump_thread() and dump_task_regs() are in the middle of the file, but
>will be infrequently used. With default 16 byte alignment, this may cause
>bits of them to wind up polluting the L1 on anything with L1 lines > 16
>bytes. L2 lines could be similarly polluted too of course.

C compilers are free to reorder functions (are they?), especially GCC when it
is passed -funit-at-a-time (which currently is not in CFLAGS).



Jan Engelhardt
--
| Gesellschaft fuer Wissenschaftliche Datenverarbeitung Goettingen,
| Am Fassberg, 37077 Goettingen, www.gwdg.de
-
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/