Paul E. McKenney wrtoe: > Can the locusts reasonably take a return value from the acquisition > primitive and feed it to the release primitive? Yes - the locusts typically do: mutex_lock(&callback_mutex); ... a line or two to read or write cpusets ... mutex_unlock(&callback_mutex); The lock and unlock are just a few lines apart. I could easily pass a value from the lock (acquisition) to the unlock (release). Why do you ask? -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[email protected]> 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- From: "Paul E. McKenney" <[email protected]>
- Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- References:
- [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- From: Gautham R Shenoy <[email protected]>
- Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- From: Arjan van de Ven <[email protected]>
- Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- From: Gautham R Shenoy <[email protected]>
- Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- From: Arjan van de Ven <[email protected]>
- Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- From: Nick Piggin <[email protected]>
- Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- From: Ingo Molnar <[email protected]>
- Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- From: Gautham R Shenoy <[email protected]>
- Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- From: Paul Jackson <[email protected]>
- Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- From: "Paul E. McKenney" <[email protected]>
- [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- Prev by Date: Re: Linux time code
- Next by Date: Re: [PATCH 1/2] NOMMU: Set BDI capabilities for /dev/mem and /dev/kmem
- Previous by thread: Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- Next by thread: Re: [RFC][PATCH 4/4] Rename lock_cpu_hotplug/unlock_cpu_hotplug
- Index(es):