OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] add_timer -> mod_timer() in dst_run_gc()
Re: [PATCH] add_timer -> mod_timer() in dst_run_gc() [message #5054 is a reply to message #5051] Wed, 09 August 2006 09:26 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Kirill Korotaev <dev@openvz.org>
Date: Wed, 09 Aug 2006 13:01:32 +0400

> F.e. timer has fired on CPU2, but the handler was preeempted
> by an irq before dst_lock is tried.
> Meanwhile, someone on CPU1 adds an entry to gc list and
> starts the timer.
> If CPU2 was preempted long enough, this timer can expire
> simultaneously with resuming timer handler on CPU1, arriving
> exactly to the situation described.

Makes sense.

Patch applied, thanks.
 
Read Message
Read Message
Previous Topic: Re: [Lxc-devel] [PATCH] pidspace: is_init()
Next Topic: [Lxc-devel] Q: Do systems using containers user more process ids?
Goto Forum:
  


Current Time: Tue Jul 29 08:35:53 GMT 2025

Total time taken to generate the page: 0.22903 seconds