Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215940
b: refs/heads/master
c: 7d550c5
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Lameter authored and Pekka Enberg committed Oct 2, 2010
1 parent b819eb4 commit c339146
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8df275af8db8220d7e3f1bf97b6ac7aad05f96f0
refs/heads/master: 7d550c56a24b20e91ec469054230bd2e2485996a
12 changes: 12 additions & 0 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,18 @@ static inline void inc_slabs_node(struct kmem_cache *s, int node,
int objects) {}
static inline void dec_slabs_node(struct kmem_cache *s, int node,
int objects) {}

static inline int slab_pre_alloc_hook(struct kmem_cache *s, gfp_t flags)
{ return 0; }

static inline void slab_post_alloc_hook(struct kmem_cache *s, gfp_t flags,
void *object) {}

static inline void slab_free_hook(struct kmem_cache *s, void *x) {}

static inline void slab_free_hook_irq(struct kmem_cache *s,
void *object) {}

#endif

/*
Expand Down

0 comments on commit c339146

Please sign in to comment.