projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: otg/ulpi: improve ulpi phy detection.
[deliverable/linux.git]
/
mm
/
slab.c
diff --git
a/mm/slab.c
b/mm/slab.c
index 88435fcc8387c9bd3a4b77d5880c77790d40c780..fcae9815d3b35ce951669e8a404fb71b7a40d34f 100644
(file)
--- a/
mm/slab.c
+++ b/
mm/slab.c
@@
-2330,8
+2330,8
@@
kmem_cache_create (const char *name, size_t size, size_t align,
}
#if FORCED_DEBUG && defined(CONFIG_DEBUG_PAGEALLOC)
if (size >= malloc_sizes[INDEX_L3 + 1].cs_size
}
#if FORCED_DEBUG && defined(CONFIG_DEBUG_PAGEALLOC)
if (size >= malloc_sizes[INDEX_L3 + 1].cs_size
- && cachep->obj_size > cache_line_size() &&
size
< PAGE_SIZE) {
- cachep->obj_offset += PAGE_SIZE -
size
;
+ && cachep->obj_size > cache_line_size() &&
ALIGN(size, align)
< PAGE_SIZE) {
+ cachep->obj_offset += PAGE_SIZE -
ALIGN(size, align)
;
size = PAGE_SIZE;
}
#endif
size = PAGE_SIZE;
}
#endif
This page took
0.032416 seconds
and
5
git commands to generate.