On Mon, 27 Aug 2007, Mathieu Desnoyers wrote: > > The slow path would require disable preemption and two interrupt disables. > If the slow path have to call new_slab, then yes. But it seems that not > every slow path must call it, so for the other slow paths, only one > interrupt disable would be required. If we include new_slab then we get to 3 times: 1. In the cmpxchg_local emulation that fails 2. For the slow path 3. When calling the page allocator. - 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: [PATCH] SLUB use cmpxchg_local
- From: Mathieu Desnoyers <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- References:
- [PATCH] SLUB use cmpxchg_local
- From: Mathieu Desnoyers <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- From: Peter Zijlstra <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- From: Mathieu Desnoyers <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- From: Mathieu Desnoyers <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- From: Mathieu Desnoyers <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] SLUB use cmpxchg_local
- From: Mathieu Desnoyers <[email protected]>
- [PATCH] SLUB use cmpxchg_local
- Prev by Date: [PATCH] Fix kobject uevent string handling errors (updated)
- Next by Date: Re: [PATCH] SLUB use cmpxchg_local
- Previous by thread: Re: [PATCH] SLUB use cmpxchg_local
- Next by thread: Re: [PATCH] SLUB use cmpxchg_local
- Index(es):