OpenVZ Forum


Home » Mailing lists » Devel » Re: v2.6.26-rc7/cgroups: circular locking dependency
Re: v2.6.26-rc7/cgroups: circular locking dependency [message #31396 is a reply to message #31382] Thu, 26 June 2008 17:45 Go to previous messageGo to previous message
Max Krasnyanskiy is currently offline  Max Krasnyanskiy
Messages: 3
Registered: April 2008
Junior Member
Paul Menage wrote:
> Second idea - can we just punt the call to rebuild_sched_domains() to
> a workqueue thread if it's due to a flag or cpumask change? Does it
> matter if the call doesn't happen synchronously? The work handler
> could easily nest the cgroup_lock() call inside get_online_cpus() and
> then call rebuild_sched_domains()

I was thinking about exactly the same thing. I kind of don't like async 
nature of it. Maybe it's ok but there might be some interesting races 
with async domain updates.

Max
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [RFC PATCH 1/1] SYSVIPC/semaphores: document the new per <pid> semundo proc file
Next Topic: [PATCH 3/3] i/o accounting and control
Goto Forum:
  


Current Time: Sun Sep 07 08:11:55 GMT 2025

Total time taken to generate the page: 0.17026 seconds