Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19393
b: refs/heads/master
c: a70773d
h: refs/heads/master
i:
  19391: ee56e90
v: v3
  • Loading branch information
Randy.Dunlap authored and Linus Torvalds committed Feb 1, 2006
1 parent 0300163 commit ea135a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7fd6b1413082c303613fc137aca9a004740cacf0
refs/heads/master: a70773ddb96b74c7afe5a5bc859ba45e3d02899e
9 changes: 7 additions & 2 deletions trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -1559,8 +1559,13 @@ static void set_up_list3s(struct kmem_cache *cachep, int index)
}

/**
* calculate_slab_order - calculate size (page order) of slabs and the number
* of objects per slab.
* calculate_slab_order - calculate size (page order) of slabs
* @cachep: pointer to the cache that is being created
* @size: size of objects to be created in this cache.
* @align: required alignment for the objects.
* @flags: slab allocation flags
*
* Also calculates the number of objects per slab.
*
* This could be made much more intelligent. For now, try to avoid using
* high order pages for slabs. When the gfp() functions are more friendly
Expand Down

0 comments on commit ea135a8

Please sign in to comment.