Re: 2.1.112 zImage balloons 23K over 2.1.111

Linus Torvalds (torvalds@transmeta.com)
Tue, 28 Jul 1998 17:26:21 -0700 (PDT)


On 29 Jul 1998, Andi Kleen wrote:
>
> Linus, how about moving the slow part (that loops) of the lock out-of-line,
> just to give the L1 Icache a bit more air to breath?

It already is out-of-line, it only takes up space in the image, not in the
icache (unless it triggers, obviously). That's what the "spinlock()" code
does (and always has done) with the clever linking segment code.

(That, btw, is also why it's larger now. The long jumps out-of-line and
back is what makes it grow).

Linus

-
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.altern.org/andrebalsa/doc/lkml-faq.html