Re: Credentials test patch

From: Linus Torvalds
Date: Thu Sep 13 2007 - 17:33:59 EST




On Thu, 13 Sep 2007, David Howells wrote:
>
> > Why is it trying to make it look like a variable?
>
> Like 'current' for instance?

"current" has solid *historical* reasons for being that way.

Namely: it actually *was* a variable. That worked fine for UP. It got
changed much much later.

Also, even in modern times, "current" is optimized to hell and back, and
is often as cheap (or cheaper than) a global variable, so there is also no
subtle performance question.

So using "current" as an excuse is not really valid. AT ALL.

Linus
-
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/