[PATCH 0/7] mm: fix types for some functions and variables in case of overflow

2013-02-05 Thread Zhang Yanfei
Currently, the amount of RAM that functions nr_free_*_pages return is held in unsigned int. But in machines with big memory (exceeding 16TB), the amount may be incorrect because of overflow, so fix this problem. Also, fix the types of variables that is related to nr_free_*_pages. For these

[PATCH 0/7] mm: fix types for some functions and variables in case of overflow

2013-02-05 Thread Zhang Yanfei
Currently, the amount of RAM that functions nr_free_*_pages return is held in unsigned int. But in machines with big memory (exceeding 16TB), the amount may be incorrect because of overflow, so fix this problem. Also, fix the types of variables that is related to nr_free_*_pages. For these