Changeset 3f03199 in mainline for kernel/generic/include/mm/slab.h
- Timestamp:
- 2013-09-15T06:33:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9348862
- Parents:
- dd7078c (diff), 1c0cef0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/slab.h
rdd7078c r3f03199 55 55 /** Maximum wasted space we allow for cache */ 56 56 #define SLAB_MAX_BADNESS(cache) \ 57 ( ((unsigned int) PAGE_SIZE << (cache)->order) >> 2)57 (FRAMES2SIZE((cache)->frames) >> 2) 58 58 59 59 /* slab_reclaim constants */ … … 90 90 91 91 /* Configuration */ 92 92 93 /** Size of slab position - align_up(sizeof(obj)) */ 93 94 size_t size; … … 100 101 101 102 /* Computed values */ 102 uint8_t order; /**< Order of frames to be allocated */103 size_t frames; /**< Number of frames to be allocated */ 103 104 size_t objects; /**< Number of objects that fit in */ 104 105
Note:
See TracChangeset
for help on using the changeset viewer.