lkml.org 
[lkml]   [2004]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Add kallsyms_lookup() result cache
Date
Albert Cahalan <albert@users.sf.net> wrote:
>
>> Are you saying your top reads /proc/kallsyms on each redisplay?
>> That sounds completely wrong - it should only read the file once
>> and cache it and then look the numbers it is reading from wchan
>> in the cache.
>>
>> Doing the cache in the kernel is the wrong place. This should be fixed
>> in user space.
>
> No way, because:
>
> 1. kernel modules may be loaded or unloaded at any time

We seem to have coped alright under 2.4.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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/

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