aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChengYang Fu <chengyangfu@gmail.com>2015-03-26 20:01:33 -0400
committerChengYang Fu <chengyangfu@gmail.com>2015-03-26 20:01:33 -0400
commit701f70e21800aabf5d5d6042fd105adf531843a4 (patch)
tree58a0de55783bb57f52bf4b77b8a2ca950c761d15
parentbf0775c5b3366443a580874ebf82349b7d185f6f (diff)
modify the bank_proc.c
-rw-r--r--litmus/bank_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/bank_proc.c b/litmus/bank_proc.c
index 7be55b7792c4..888b6a6542c5 100644
--- a/litmus/bank_proc.c
+++ b/litmus/bank_proc.c
@@ -328,7 +328,7 @@ static struct page *new_alloc_page_color( unsigned long color)
328out_unlock: 328out_unlock:
329 spin_unlock(&cgroup->lock); 329 spin_unlock(&cgroup->lock);
330out: 330out:
331 if( smallest_nr_pages() == 0) 331 while( smallest_nr_pages() == 0)
332 { 332 {
333 do_add_pages(); 333 do_add_pages();
334 // printk("ERROR(bank_proc.c) = We don't have enough pages in bank_proc.c\n"); 334 // printk("ERROR(bank_proc.c) = We don't have enough pages in bank_proc.c\n");