Re: [Lse-tech] lockmeter results comparing 2.4.17, 2.5.3, and 2.5.5

From: Linus Torvalds (torvalds@transmeta.com)
Date: Wed Feb 27 2002 - 16:31:17 EST


In article <3C7D3E5A.490D939D@zip.com.au>,
Andrew Morton <akpm@zip.com.au> wrote:
>"Martin J. Bligh" wrote:
>>
>> Seeing as people seem to be interested ... there are some big holders
>> of BKL around too - do_exit shows up badly (50ms in the data Hanna
>> posted, and I've seen that a lot before).
>
>That'll be where exit() takes down the tasks's address spaces.
>zap_page_range(). That's a nasty one.

No, lock_kernel happens after exit_mm, and in fact I suspect it's not
really needed at all any more except for the current "sem_exit()". I
think most everything else is threaded already.

(Hmm.. Maybe disassociate_ctty() too).

So minimizing the BLK footprint in do_exit() should be pretty much
trivial: all the really interesting stuff should be ok already.

                Linus
-
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 : Thu Feb 28 2002 - 21:00:39 EST