Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209707
b: refs/heads/master
c: 1ab335d
h: refs/heads/master
i:
  209705: 05c626a
  209703: 5d17747
v: v3
  • Loading branch information
Carsten Otte authored and Pekka Enberg committed Aug 9, 2010
1 parent de4df4d commit d1fe13a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 1b5ad24878b7e5a543b98c5d2f8c0d8c0dd3088f
refs/heads/master: 1ab335d8f85792e3b107ff8237d53cf64db714df
4 changes: 2 additions & 2 deletions trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
&& 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
Expand Down

0 comments on commit d1fe13a

Please sign in to comment.