Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23589
b: refs/heads/master
c: 6e692ed
h: refs/heads/master
i:
  23587: bb7644d
v: v3
  • Loading branch information
John Hawkes authored and Linus Torvalds committed Mar 25, 2006
1 parent 57cf242 commit cf65df4
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 962749af67b145c57917bfbff3c303ebd7d5988c
refs/heads/master: 6e692ed37a507e18d8afe8e5faebd8c4722c5f12
3 changes: 1 addition & 2 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2702,8 +2702,7 @@ void *__init alloc_large_system_hash(const char *tablename,
else
numentries <<= (PAGE_SHIFT - scale);
}
/* rounded up to nearest power of 2 in size */
numentries = 1UL << (long_log2(numentries) + 1);
numentries = roundup_pow_of_two(numentries);

/* limit allocation size to 1/16 total memory by default */
if (max == 0) {
Expand Down

0 comments on commit cf65df4

Please sign in to comment.