Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233698
b: refs/heads/master
c: 29723fc
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Linus Torvalds committed Feb 25, 2011
1 parent fbf8c65 commit edbb90e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: a2d6d2fa90c0e1d2cc1d59ccb5bbe93bb28b7413
refs/heads/master: 29723fccc837d20039078f7a571e8d457eb0d6c6
5 changes: 2 additions & 3 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -5376,10 +5376,9 @@ __count_immobile_pages(struct zone *zone, struct page *page, int count)
for (found = 0, iter = 0; iter < pageblock_nr_pages; iter++) {
unsigned long check = pfn + iter;

if (!pfn_valid_within(check)) {
iter++;
if (!pfn_valid_within(check))
continue;
}

page = pfn_to_page(check);
if (!page_count(page)) {
if (PageBuddy(page))
Expand Down

0 comments on commit edbb90e

Please sign in to comment.