Re: [PATCH] local_t protection (critical section)

2007-09-12 Thread Mathieu Desnoyers
* Christoph Lameter ([EMAIL PROTECTED]) wrote: > On Wed, 5 Sep 2007, Mathieu Desnoyers wrote: > > > Index: linux-2.6-lttng/include/asm-generic/local.h > > === > > --- linux-2.6-lttng.orig/include/asm-generic/local.h2007-09-04

Re: [PATCH] local_t protection (critical section)

2007-09-12 Thread Christoph Lameter
On Wed, 5 Sep 2007, Mathieu Desnoyers wrote: > Index: linux-2.6-lttng/include/asm-generic/local.h > === > --- linux-2.6-lttng.orig/include/asm-generic/local.h 2007-09-04 > 15:32:02.0 -0400 > +++

Re: [PATCH] local_t protection (critical section)

2007-09-12 Thread Christoph Lameter
On Wed, 5 Sep 2007, Mathieu Desnoyers wrote: Index: linux-2.6-lttng/include/asm-generic/local.h === --- linux-2.6-lttng.orig/include/asm-generic/local.h 2007-09-04 15:32:02.0 -0400 +++

Re: [PATCH] local_t protection (critical section)

2007-09-12 Thread Mathieu Desnoyers
* Christoph Lameter ([EMAIL PROTECTED]) wrote: On Wed, 5 Sep 2007, Mathieu Desnoyers wrote: Index: linux-2.6-lttng/include/asm-generic/local.h === --- linux-2.6-lttng.orig/include/asm-generic/local.h2007-09-04

[PATCH] local_t protection (critical section)

2007-09-05 Thread Mathieu Desnoyers
local_t protection (critical section) Adds local_enter_save(flags) and local_exit_restore(flags) as primitives to surround critical sections using local_t types. On architectures providing fast atomic primitives, this turns into a preempt disable/enable(). However, on architectures not providing

[PATCH] local_t protection (critical section)

2007-09-05 Thread Mathieu Desnoyers
local_t protection (critical section) Adds local_enter_save(flags) and local_exit_restore(flags) as primitives to surround critical sections using local_t types. On architectures providing fast atomic primitives, this turns into a preempt disable/enable(). However, on architectures not providing

[PATCH] local_t protection (critical section)

2007-09-04 Thread Mathieu Desnoyers
local_t protection (critical section) Adds local_enter(flags) and local_exit(flags) as primitives to surround critical sections using local_t types. On architectures providing fast atomic primitives, this turns into a preempt disable/enable(). However, on architectures not providing such fast

[PATCH] local_t protection (critical section)

2007-09-04 Thread Mathieu Desnoyers
local_t protection (critical section) Adds local_enter(flags) and local_exit(flags) as primitives to surround critical sections using local_t types. On architectures providing fast atomic primitives, this turns into a preempt disable/enable(). However, on architectures not providing such fast