lkml.org 
[lkml]   [1998]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.1.112 zImage balloons 23K over 2.1.111
From
Date
Pete Clements <clem@clem.digital.net> writes:

> Subject says it all.

The new lock_kernel/unlock_kernel implemenetation. Non SMP kernels don't
grow.

Just do the math: 187 system calls in 2.1.112, nearly all of them
do lock_kernel/unlock_kernel as inline code, lets say a lock/unlock pair
needs 150 bytes, then 170[1] * 150bytes = 24k [probably more because
zImage is compressed]

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?

-Andi



[1] to account for the few calls that don't lock

-
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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.123 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site