Re: [PATCH RFC 0/6] Implement per-processor data areas for i386.

From: Andi Kleen
Date: Sun Aug 27 2006 - 14:02:29 EST



> Something like that had to be done eventually about the inefficient
> current_thread_info() mechanism,

Inefficient? It's two fast instructions. I won't call that inefficient.

> I guess it's due to having tried that on an older installation with gcc 3.2,
> which probably does less efficient opcode merging of current_thread_info()
> requests compared to a current gcc version.

gcc normally doesn't merge inline assembly at all.

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