[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 5 May 2015 12:58:12 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Raghavendra K T <raghavendra.kt@...ux.vnet.ibm.com>
Cc: Tahsin Erdogan <tahsin@...gle.com>, tglx@...utronix.de,
mingo@...hat.com, hpa@...or.com, x86@...nel.org,
Waiman.Long@...com, borntraeger@...ibm.com, oleg@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/spinlocks: Fix regression in spinlock contention
detection
On Tue, May 05, 2015 at 04:08:22PM +0530, Raghavendra K T wrote:
> ================
> #include <stdio.h>
>
> #define LOCK_INC 2
Note that to be completely identical to the kernel code you should've
written:
#define LOCK_INC ((unsigned int)2)
as per:
#define TICKET_LOCK_INC ((__ticket_t)__TICKET_LOCK_INC)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists