Re: thread_info implementation

From: David Mosberger (davidm@hpl.hp.com)
Date: Mon Feb 11 2002 - 20:53:12 EST


>>>>> On Mon, 11 Feb 2002 17:41:02 -0800 (PST), "David S. Miller" <davem@redhat.com> said:

  David> From: David Mosberger <davidm@hpl.hp.com> Date: Mon, 11
  David> Feb 2002 17:36:48 -0800

  David> Umh, perhaps because it adds one level of indirection to
  David> every access of "current"??

  DaveM> Ummm, which is totally cached and therefore costs nothing?

Loads are certainly not free on many CPU models. This is made worse
by the fact that C alias analysis has to be so pessimistic, especially
given that the kernel is compiled with -fno-strict-aliasing.

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



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:45 EST