If I put the conditionnal break in update_wall_time,
file kernel/time/timekeeping.c, I get:
[SINGLE>
[SINGLE> dmesg -c
update_wall_time
update_wall_time
update_wall_time
update_wall_time
update_wall_time
[SINGLE>
and my uml machine apparently works again.
The conditionnal break follows:
while (offset >= clock->cycle_interval) {
/* accumulate one interval */
clownix_count++;
if (clownix_count > 1000)
{
printk("update_wall_time\n");
break;
}
clock->xtime_nsec += clock->xtime_interval;
clock->cycle_last += clock->cycle_interval;
offset -= clock->cycle_interval;
if (clock->xtime_nsec >= (u64)NSEC_PER_SEC <<
clock->shift) {
clock->xtime_nsec -= (u64)NSEC_PER_SEC <<
clock->shift;
xtime.tv_sec++;
second_overflow();
}
On Fri, 2008-05-09 at 16:15 +0200, vincent-perrier wrote:
> Hello,
> When I do:
> "date", then I wait a few seconds, then "date --set" with the
> value I had in the first date, then the UML machine
> takes 100% of cpu.
> This occured 5 times out of 5 tries with a 2.6.25.1 kernel uml
> and 2.6.22.15 host.
> Regards
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> User-mode-linux-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
> �
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user