__cacheline_aligned q

From: Andrew Morton (andrewm@uow.edu.au)
Date: Mon May 29 2000 - 07:47:33 EST


Thinking about cacheline alignment..

What are the general guidelines for when cacheline alignment of a
structure is/isn't desirable? It's obviously useful for those
frequently-modified per-cpu arrays, but is there a significant benefit
in aligning small structures which are mostly read-only?

Should struct list_head be cacheline aligned?

If not, should struct timer_list be cacheline aligned?

TIA.

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



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:21 EST