Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115872
b: refs/heads/master
c: 1125b4e
h: refs/heads/master
v: v3
  • Loading branch information
Gerald Schaefer authored and Linus Torvalds committed Oct 20, 2008
1 parent 31cfd7b commit e3dc52b
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: 4b2e38ad703541f7845c2d766426148b8d1aa329
refs/heads/master: 1125b4e3949949b44a7c80b619507c6f61d62911
4 changes: 2 additions & 2 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4242,7 +4242,7 @@ void setup_per_zone_pages_min(void)
for_each_zone(zone) {
u64 tmp;

spin_lock_irqsave(&zone->lru_lock, flags);
spin_lock_irqsave(&zone->lock, flags);
tmp = (u64)pages_min * zone->present_pages;
do_div(tmp, lowmem_pages);
if (is_highmem(zone)) {
Expand Down Expand Up @@ -4274,7 +4274,7 @@ void setup_per_zone_pages_min(void)
zone->pages_low = zone->pages_min + (tmp >> 2);
zone->pages_high = zone->pages_min + (tmp >> 1);
setup_zone_migrate_reserve(zone);
spin_unlock_irqrestore(&zone->lru_lock, flags);
spin_unlock_irqrestore(&zone->lock, flags);
}

/* update totalreserve_pages */
Expand Down

0 comments on commit e3dc52b

Please sign in to comment.