Shaohua Li
cc39c6a9bb
mm: account skipped entries to avoid looping in find_get_pages
...
The found entries by find_get_pages() could be all swap entries. In
this case we skip the entries, but make sure the skipped entries are
accounted, so we don't keep looping.
Using nr_found > nr_skip to simplify code as suggested by Eric.
Reported-and-tested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-09-14 18:17:56 -07:00
..
2011-07-26 10:39:54 -07:00
2011-03-23 19:47:19 -07:00
2010-09-09 18:57:25 -07:00
2011-05-26 10:01:36 -06:00
2011-06-15 20:04:02 -07:00
2009-04-01 08:59:13 -07:00
2011-07-25 20:57:14 -07:00
2010-03-06 11:26:25 -08:00
2011-08-03 14:25:20 -10:00
2011-05-25 08:39:18 -07:00
2011-09-14 18:17:56 -07:00
2011-05-26 09:20:31 -07:00
2011-08-17 13:00:20 -07:00
2011-07-25 20:57:09 -07:00
2011-07-25 20:57:09 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-05-25 08:39:05 -07:00
2011-06-10 14:47:52 +02:00
2011-03-22 17:44:02 -07:00
2010-03-30 22:02:32 +09:00
2011-01-27 18:31:51 +00:00
2011-07-26 16:49:47 -07:00
2011-06-15 20:04:02 -07:00
2011-05-25 19:56:23 -04:00
2011-07-20 20:47:46 -04:00
2011-05-26 10:01:36 -06:00
2011-07-25 20:57:09 -07:00
2011-09-14 18:09:38 -07:00
2011-07-25 20:57:08 -07:00
2011-08-03 11:15:58 -04:00
2011-07-25 20:57:11 -07:00
2011-09-14 18:09:36 -07:00
2009-09-22 07:17:35 -07:00
2011-06-16 15:01:24 -07:00
2011-08-03 14:25:24 -10:00
2011-05-26 09:20:31 -07:00
2008-08-20 15:40:30 -07:00
2011-07-25 20:57:09 -07:00
2010-03-24 16:31:21 -07:00
2011-01-13 17:32:46 -08:00
2011-01-13 17:32:31 -08:00
2011-01-13 17:32:44 -08:00
2011-05-25 08:39:18 -07:00
2010-05-21 18:31:21 -04:00
2011-05-25 08:39:31 -07:00
2011-07-25 20:57:09 -07:00
2011-08-01 15:24:12 -10:00
2011-08-03 14:25:20 -10:00
2011-07-25 20:57:09 -07:00
2011-03-10 08:52:27 +01:00
2010-10-26 16:52:11 -07:00
2011-08-19 22:42:07 +08:00
2011-07-25 20:57:09 -07:00
2010-10-02 10:28:42 +03:00
2011-01-13 17:32:34 -08:00
2011-05-24 11:53:42 -07:00
2011-01-26 10:49:58 +10:00
2011-05-20 12:50:29 -07:00
2010-03-30 22:02:32 +09:00
2011-05-25 08:39:25 -07:00
2011-07-26 10:39:54 -07:00
2011-08-03 14:25:24 -10:00
2011-08-04 10:18:00 +02:00
2011-07-26 16:49:47 -07:00
2011-08-09 21:12:31 +03:00
2010-11-01 15:38:34 -04:00
2011-07-25 20:57:07 -07:00
2011-03-10 08:52:07 +01:00
2011-05-25 08:39:37 -07:00
2011-08-03 14:25:22 -10:00
2011-07-25 20:57:08 -07:00
2011-08-03 14:25:24 -10:00
2011-05-25 08:39:05 -07:00
2011-09-14 18:09:38 -07:00
2011-09-14 18:09:38 -07:00
2011-09-14 18:09:37 -07:00