On Fri, Mar 02, 2007 at 11:47:52PM +0100, Heiko Carstens wrote:
> /*
> + * Locks two spinlocks l1 and l2.
> + * l1_first indicates if spinlock l1 should be taken first.
> + */
> +static inline void double_spin_lock(spinlock_t *l1, spinlock_t *l2,
> + bool l1_first)
On Fri, Mar 02, 2007 at 11:47:52PM +0100, Heiko Carstens wrote:
/*
+ * Locks two spinlocks l1 and l2.
+ * l1_first indicates if spinlock l1 should be taken first.
+ */
+static inline void double_spin_lock(spinlock_t *l1, spinlock_t *l2,
+ bool l1_first)
+
> > +/*
> > + * double_timer_lock/unlock are used to ensure that on cpu hotplug the
> > + * per cpu timer locks are always taken in the same order.
> > + */
> > +static void __devinit double_timer_lock(tvec_base_t *base1,
> > + tvec_base_t *base2, int ind)
> > +
On Fri, 2 Mar 2007 20:08:36 +0100
Heiko Carstens <[EMAIL PROTECTED]> wrote:
> +/*
> + * double_hrtimer_lock/unlock are used to ensure that on cpu hotplug the
> + * per cpu timer locks are always taken in the same order.
> + */
> +static void double_hrtimer_lock(struct hrtimer_cpu_base *base1,
> +
On Fri, 2 Mar 2007 15:23:08 +0100 Heiko Carstens <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 02, 2007 at 02:04:33PM +0100, Ingo Molnar wrote:
> >
> > * Heiko Carstens <[EMAIL PROTECTED]> wrote:
> >
> > > - spin_lock(_base->lock);
> > > - spin_lock(_base->lock);
> > > + /*
> > > + * If we take a
On Fri, Mar 02, 2007 at 02:04:33PM +0100, Ingo Molnar wrote:
>
> * Heiko Carstens <[EMAIL PROTECTED]> wrote:
>
> > - spin_lock(_base->lock);
> > - spin_lock(_base->lock);
> > + /*
> > +* If we take a lock from a different cpu, make sure we have always
> > +* the same locking order.
* Heiko Carstens <[EMAIL PROTECTED]> wrote:
> - spin_lock(_base->lock);
> - spin_lock(_base->lock);
> + /*
> + * If we take a lock from a different cpu, make sure we have always
> + * the same locking order. That is the lock that belongs to the cpu
> + * with the
* Heiko Carstens [EMAIL PROTECTED] wrote:
- spin_lock(new_base-lock);
- spin_lock(old_base-lock);
+ /*
+ * If we take a lock from a different cpu, make sure we have always
+ * the same locking order. That is the lock that belongs to the cpu
+ * with the lowest
On Fri, Mar 02, 2007 at 02:04:33PM +0100, Ingo Molnar wrote:
* Heiko Carstens [EMAIL PROTECTED] wrote:
- spin_lock(new_base-lock);
- spin_lock(old_base-lock);
+ /*
+* If we take a lock from a different cpu, make sure we have always
+* the same locking order. That is
On Fri, 2 Mar 2007 15:23:08 +0100 Heiko Carstens [EMAIL PROTECTED] wrote:
On Fri, Mar 02, 2007 at 02:04:33PM +0100, Ingo Molnar wrote:
* Heiko Carstens [EMAIL PROTECTED] wrote:
- spin_lock(new_base-lock);
- spin_lock(old_base-lock);
+ /*
+ * If we take a lock from a
On Fri, 2 Mar 2007 20:08:36 +0100
Heiko Carstens [EMAIL PROTECTED] wrote:
+/*
+ * double_hrtimer_lock/unlock are used to ensure that on cpu hotplug the
+ * per cpu timer locks are always taken in the same order.
+ */
+static void double_hrtimer_lock(struct hrtimer_cpu_base *base1,
+
+/*
+ * double_timer_lock/unlock are used to ensure that on cpu hotplug the
+ * per cpu timer locks are always taken in the same order.
+ */
+static void __devinit double_timer_lock(tvec_base_t *base1,
+ tvec_base_t *base2, int ind)
+
12 matches
Mail list logo