Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322952
b: refs/heads/master
c: 0ba8f2d
h: refs/heads/master
v: v3
  • Loading branch information
Li Haifeng authored and Linus Torvalds committed Sep 17, 2012
1 parent 06def7b commit ddd0ae3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 8dcebaa9a0ae8a0487f4342f3d56d2cb1c980860
refs/heads/master: 0ba8f2d59304dfe69b59c034de723ad80f7ab9ac
2 changes: 1 addition & 1 deletion trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ static inline void __free_one_page(struct page *page,
combined_idx = buddy_idx & page_idx;
higher_page = page + (combined_idx - page_idx);
buddy_idx = __find_buddy_index(combined_idx, order + 1);
higher_buddy = page + (buddy_idx - combined_idx);
higher_buddy = higher_page + (buddy_idx - combined_idx);
if (page_is_buddy(higher_page, higher_buddy, order + 1)) {
list_add_tail(&page->lru,
&zone->free_area[order].free_list[migratetype]);
Expand Down

0 comments on commit ddd0ae3

Please sign in to comment.