On Wed, 5 Sep 2007, Mathieu Desnoyers wrote:
> Use local_enter/local_exit for protection in the fast path.
Sorry that it took some time to get back to this issue. KS interfered.
> @@ -1494,8 +1487,16 @@ new_slab:
> c->page = new;
> goto load_freelist;
> }
> -
>
On Wed, 5 Sep 2007, Mathieu Desnoyers wrote:
Use local_enter/local_exit for protection in the fast path.
Sorry that it took some time to get back to this issue. KS interfered.
@@ -1494,8 +1487,16 @@ new_slab:
c-page = new;
goto load_freelist;
}
-
+
* Christoph Lameter ([EMAIL PROTECTED]) wrote:
> On Tue, 4 Sep 2007, Mathieu Desnoyers wrote:
>
> > @@ -1566,12 +1565,13 @@ redo:
> > object[c->offset]) != object))
> > goto redo;
> >
> > - put_cpu();
> > + local_exit(flags);
> > if (unlikely((gfpflags &
slub - Use local_t protection
Use local_enter/local_exit for protection in the fast path.
Depends on the cmpxchg_local slub patch.
Changelog:
Add new primitives to switch from local critical section to interrupt disabled
section.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
CC:
slub - Use local_t protection
Use local_enter/local_exit for protection in the fast path.
Depends on the cmpxchg_local slub patch.
Changelog:
Add new primitives to switch from local critical section to interrupt disabled
section.
Signed-off-by: Mathieu Desnoyers [EMAIL PROTECTED]
CC: Christoph
* Christoph Lameter ([EMAIL PROTECTED]) wrote:
On Tue, 4 Sep 2007, Mathieu Desnoyers wrote:
@@ -1566,12 +1565,13 @@ redo:
object[c-offset]) != object))
goto redo;
- put_cpu();
+ local_exit(flags);
if (unlikely((gfpflags __GFP_ZERO)))
On Tue, 4 Sep 2007, Mathieu Desnoyers wrote:
> @@ -1566,12 +1565,13 @@ redo:
> object[c->offset]) != object))
> goto redo;
>
> - put_cpu();
> + local_exit(flags);
> if (unlikely((gfpflags & __GFP_ZERO)))
> memset(object, 0,
slub - Use local_t protection
Use local_enter/local_exit for protection in the fast path.
Depends on the cmpxchg_local slub patch.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
CC: Christoph Lameter <[EMAIL PROTECTED]>
---
mm/slub.c | 18 ++
1 file changed, 10
On Tue, 4 Sep 2007, Mathieu Desnoyers wrote:
@@ -1566,12 +1565,13 @@ redo:
object[c-offset]) != object))
goto redo;
- put_cpu();
+ local_exit(flags);
if (unlikely((gfpflags __GFP_ZERO)))
memset(object, 0, c-objsize);
9 matches
Mail list logo