[SOS] pb testing the 7.5 code

David Decotigny david.decotigny at free.fr
Ven 1 Juil 18:21:07 CEST 2005


Hi,

I just got the same problem when I tried with a new version of gcc with
the default "ips" variable of bochs (500000).

The explanation is the same as before : with a "small" ips, the cpu
takes a looong time to schedule the user tasks, a time comparable or
greater than the time between 2 timer interrupts, so that the cpu is
kept busy scheduling and scheduling again the user tasks.

Actually, I realized that by default the kernel is compiled without  any
optimization. By simply adding a "-O" flag (or more: -02, -O3, ...) to
the CFLAGS make variables (Makefile and userland/Makefile), everything
will work fine again in bochs (the critical path from kernel to user
will be short again).

This flag is included in the Makefiles for article 8.

Best regards,

-- 
David Decotigny -- http://david.decotigny.free.fr


Plus d'informations sur la liste de diffusion Sos