Re: kernel profiling in 2.1 ?

Linus Torvalds (
Sun, 17 May 1998 15:03:05 -0700 (PDT)

On Sun, 17 May 1998, Thomas Bogendoerfer wrote:
> ok, I forgot to grep the .h, so I missed the x86 profile implementation.
> But for the alpha there is (was) no profiling. I just adapted the x86
> version, and it works.


> Now to my problem with the sluggishness of my machine. I realized, that
> when the kernel gets gzipped the mouse pointer under X freezes for as
> long as gzip runs. So I did a gzip < /dev/zero > /dev/null and was really
> surprised, when the whole machine stopped. I couldn't stop the process,
> login via ethernet, nothing. I had to reset it.

Ho humm, must be something wrong with the alpha timer code. Sounds like
"need_resched" never gets set, which would certainly give you the
behaviour you see.

If that is true, then the machine should also hang from a simple

for (;;) ;

does it?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to