Xiao Guangrong
d516904bd2
thp: merge page pre-alloc in khugepaged_loop into khugepaged_do_scan
...
There are two pre-alloc operations in these two function, the different is:
- it allows to sleep if page alloc fail in khugepaged_loop
- it exits immediately if page alloc fail in khugepaged_do_scan
Actually, in khugepaged_do_scan, we can allow the pre-alloc to sleep on
the first failure, then the operation in khugepaged_loop can be removed
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-10-09 16:22:26 +09:00
..
2012-08-04 01:24:44 +04:00
2012-08-27 07:57:21 -07:00
2012-07-18 16:40:35 -04:00
2012-05-29 23:28:33 -04:00
2012-10-09 16:22:21 +09:00
2011-12-06 09:24:07 +01:00
2011-10-31 09:20:12 -04:00
2012-09-26 22:20:08 -04:00
2012-01-03 22:54:56 -05:00
2012-10-09 16:22:17 +09:00
2012-10-09 16:22:17 +09:00
2012-10-09 16:22:17 +09:00
2012-09-21 10:38:12 -04:00
2012-07-31 18:42:47 -07:00
2012-10-09 16:22:26 +09:00
2012-07-31 18:42:41 -07:00
2012-10-09 16:22:24 +09:00
2012-07-31 18:42:43 -07:00
2011-07-26 16:49:47 -07:00
2012-10-09 16:22:24 +09:00
2012-07-31 18:42:45 -07:00
2012-01-10 16:30:42 -08:00
2012-09-23 07:42:52 -07:00
2012-10-09 16:22:19 +09:00
2011-10-31 09:20:12 -04:00
2012-10-09 16:22:18 +09:00
2012-07-31 18:42:45 -07:00
2012-09-05 08:32:30 +02:00
2012-09-14 12:01:16 -07:00
2012-09-17 15:00:38 -07:00
2012-07-31 18:42:43 -07:00
2012-10-09 16:22:19 +09:00
2012-10-09 16:22:22 +09:00
2012-06-25 11:53:47 +02:00
2012-07-31 18:42:48 -07:00
2012-03-21 17:54:54 -07:00
2012-10-09 16:22:19 +09:00
2011-10-31 09:20:12 -04:00
2012-10-09 16:22:20 +09:00
2012-03-21 17:54:59 -07:00
2012-10-09 16:22:23 +09:00
2012-07-31 18:42:43 -07:00
2012-03-22 09:04:48 -07:00
2012-07-31 18:42:39 -07:00
2012-07-11 16:04:50 -07:00
2012-10-09 16:22:19 +09:00
2012-10-09 16:22:24 +09:00
2012-10-09 16:22:21 +09:00
2012-07-31 18:42:43 -07:00
2012-07-31 18:42:47 -07:00
2012-07-31 18:42:45 -07:00
2012-08-04 01:24:44 +04:00
2012-06-20 14:39:36 -07:00
2012-06-20 14:39:36 -07:00
2012-10-06 03:04:44 +09:00
2012-05-25 12:48:21 -04:00
2012-05-31 17:49:32 -07:00
2011-10-31 09:20:11 -04:00
2012-09-26 22:20:08 -04:00
2012-05-29 16:22:19 -07:00
2012-10-09 16:22:17 +09:00
2012-09-05 12:07:44 +03:00
2012-10-07 07:53:13 +09:00
2012-09-05 12:07:44 +03:00
2012-10-03 09:57:17 +03:00
2012-10-03 09:56:37 +03:00
2011-10-31 09:20:11 -04:00
2012-07-31 18:42:49 -07:00
2012-07-31 18:42:47 -07:00
2012-10-09 16:22:19 +09:00
2012-07-31 18:42:48 -07:00
2012-05-29 16:22:23 -07:00
2012-09-04 10:22:58 +03:00
2012-10-09 16:22:19 +09:00
2012-10-09 16:22:24 +09:00
2012-08-21 13:18:23 -07:00