Hugh Dickins
ca707239e8
mm: update_lru_size warn and reset bad lru_size
...
Though debug kernels have a VM_BUG_ON to help protect from misaccounting
lru_size, non-debug kernels are liable to wrap it around: and then the
vast unsigned long size draws page reclaim into a loop of repeatedly
doing nothing on an empty list, without even a cond_resched().
That soft lockup looks confusingly like an over-busy reclaim scenario,
with lots of contention on the lru_lock in shrink_inactive_list(): yet
has a totally different origin.
Help differentiate with a custom warning in
mem_cgroup_update_lru_size(), even in non-debug kernels; and reset the
size to avoid the lockup. But the particular bug which suggested this
change was mine alone, and since fixed.
Make it a WARN_ONCE: the first occurrence is the most informative, a
flurry may follow, yet even when rate-limited little more is learnt.
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Andres Lagar-Cavilla <andreslc@google.com>
Cc: Yang Shi <yang.shi@linaro.org>
Cc: Ning Qu <quning@gmail.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Andres Lagar-Cavilla <andreslc@google.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-19 19:12:14 -07:00
..
2016-02-20 14:11:01 -08:00
2016-03-07 14:41:08 +02:00
2016-05-09 11:07:28 +02:00
2016-04-25 20:54:13 +02:00
2016-05-09 16:18:37 +02:00
2016-02-04 18:25:55 +01:00
2015-10-17 21:22:08 -07:00
2015-09-30 19:22:50 +09:00
2015-10-07 18:08:15 +01:00
2016-03-04 23:50:27 -06:00
2016-04-05 16:57:15 +02:00
2015-11-21 18:42:00 +01:00
2016-04-14 14:03:25 +02:00
2016-02-17 21:11:08 +00:00
2016-01-27 14:32:48 -08:00
2016-05-11 10:12:12 +01:00
2016-01-07 10:10:50 -05:00
2016-05-16 19:51:04 -07:00
2016-05-05 23:23:05 -04:00
2016-05-16 13:43:51 -04:00
2016-05-02 10:36:04 +02:00
2016-04-13 10:23:14 +02:00
2016-04-29 11:02:33 +02:00
2016-03-02 20:05:23 +01:00
2015-09-18 21:57:35 +02:00
2016-03-02 20:05:23 +01:00
2016-03-02 20:05:23 +01:00
2016-04-25 14:11:10 +01:00
2016-04-29 16:44:47 +02:00
2015-10-27 11:24:23 +01:00
2016-05-18 12:28:29 -07:00
2016-03-17 12:50:55 -07:00
2016-05-17 12:29:34 -04:00
2016-01-21 14:47:08 -08:00
2016-05-17 18:06:18 +01:00
2016-03-17 15:09:34 -07:00
2016-05-18 13:14:02 -07:00
2016-03-17 21:51:52 -07:00
2015-12-16 16:36:25 +02:00
2016-04-04 10:41:08 -07:00
2016-03-17 15:09:34 -07:00
2016-03-05 12:05:01 -08:00
2016-05-16 16:45:48 +02:00
2015-12-23 08:37:10 -07:00
2016-04-09 03:12:58 +02:00
2016-01-04 16:19:57 +00:00
2016-04-04 12:17:09 -04:00
2016-03-11 14:00:03 +02:00
2016-03-07 16:11:14 -08:00
2015-10-06 12:33:14 +02:00
2016-01-14 13:40:30 +01:00
2016-05-05 09:58:52 +02:00
2016-05-18 18:46:55 -07:00
2016-03-15 16:55:16 -07:00
2016-03-15 16:55:16 -07:00
2015-08-20 14:10:23 -07:00
2016-04-04 10:41:08 -07:00
2015-11-05 14:51:32 -08:00
2016-05-04 23:41:14 +02:00
2016-01-09 08:39:04 -08:00
2015-12-13 15:55:55 +01:00
2016-01-24 03:47:37 +01:00
2016-01-24 03:49:03 +01:00
2016-05-05 13:03:29 -06:00
2016-02-19 22:54:09 -05:00
2015-12-09 10:35:16 -08:00
2016-04-25 19:13:44 -06:00
2015-10-27 15:04:56 +09:00
2016-04-12 15:07:36 -06:00
2016-05-17 16:03:32 -07:00
2015-09-29 13:37:04 -07:00
2016-05-10 08:41:37 -06:00
2016-05-19 19:12:14 -07:00
2016-05-04 00:52:29 -04:00
2016-03-25 11:37:57 -04:00
2016-04-04 10:41:08 -07:00
2016-03-03 21:18:29 +11:00
2016-02-22 08:51:38 +01:00
2016-03-22 15:36:02 -07:00
2016-04-20 17:50:06 +08:00
2015-12-03 10:24:08 -05:00
2016-04-25 15:45:14 -04:00
2016-02-16 13:04:58 -05:00
2016-01-27 09:10:29 -05:00
2016-02-26 16:01:32 -08:00
2016-02-16 16:34:18 +00:00
2016-01-27 12:38:03 +01:00
2016-04-22 11:38:56 -07:00
2015-10-23 17:55:10 +09:00
2016-03-17 15:09:34 -07:00
2016-03-22 15:36:02 -07:00
2016-02-08 19:04:55 +01:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2015-12-07 00:02:05 +00:00
2016-03-25 19:10:03 +01:00
2016-01-16 11:17:25 -08:00
2015-11-24 09:56:43 +01:00
2015-12-04 10:34:45 +01:00
2016-02-20 14:11:01 -08:00
2016-02-20 14:11:01 -08:00
2015-10-15 00:21:07 +02:00
2016-05-06 14:58:25 +02:00
2016-04-08 22:41:36 +02:00
2016-05-06 14:58:25 +02:00
2015-08-28 15:14:54 +02:00
2016-05-06 14:58:22 +02:00
2016-04-25 15:45:14 -04:00
2016-03-22 15:36:02 -07:00
2016-04-15 22:35:44 +08:00
2016-03-01 16:55:48 -08:00
2016-05-01 19:58:39 -04:00
2015-11-16 09:27:32 +05:30
2016-05-17 02:17:59 -04:00
2015-10-09 07:49:02 -07:00
2016-02-07 22:26:47 -08:00
2016-05-19 19:12:14 -07:00
2015-12-30 13:01:03 -05:00
2015-11-02 13:14:44 -08:00
2016-05-03 11:20:07 +09:00
2016-03-10 17:12:09 -05:00
2016-05-19 19:12:14 -07:00
2016-04-26 15:47:32 -07:00
2015-10-15 13:22:35 +01:00
2016-02-11 15:33:38 +00:00
2016-03-19 11:03:49 +01:00
2015-10-23 17:55:10 +09:00
2015-10-15 16:41:04 +02:00
2016-03-20 13:28:18 -07:00
2016-03-14 11:18:12 +05:30
2015-09-08 15:35:28 -07:00
2016-01-15 22:08:45 +01:00
2015-11-18 16:27:46 -05:00
2016-02-09 13:05:23 +01:00
2015-11-25 09:22:00 -07:00
2015-11-25 09:22:02 -07:00
2015-12-11 16:56:40 +01:00
2016-02-11 19:23:28 -08:00
2016-05-07 07:06:13 +02:00
2015-12-11 11:05:57 -08:00
2016-01-16 11:17:24 -08:00
2016-01-06 16:31:56 -05:00
2016-04-18 14:45:08 -04:00
2015-12-15 08:53:36 -05:00
2016-02-25 22:12:26 -08:00
2015-10-16 08:30:09 +09:00
2016-04-04 10:41:08 -07:00
2016-03-15 16:55:16 -07:00
2016-02-26 13:28:35 +02:00
2015-10-31 16:12:10 -07:00
2016-03-25 08:48:31 -07:00
2016-05-02 19:49:28 -04:00
2016-05-16 13:49:32 -04:00
2016-02-29 08:35:10 +01:00
2016-03-17 15:09:34 -07:00
2016-05-17 15:05:23 -07:00
2016-04-12 10:25:30 -07:00
2016-05-19 19:12:14 -07:00
2016-03-14 00:17:28 -04:00
2016-05-17 17:11:27 -07:00
2015-11-04 18:10:13 -08:00
2015-12-22 17:10:17 -06:00
2015-10-09 07:48:59 -07:00
2016-01-09 22:42:31 -08:00
2016-05-10 15:43:09 -04:00
2016-03-17 15:09:34 -07:00
2016-02-20 12:53:31 +01:00
2016-05-02 13:01:51 -07:00
2015-11-18 16:17:42 -05:00
2015-12-05 17:41:42 -05:00
2015-12-28 13:41:50 +01:00
2015-11-09 15:11:24 -08:00
2016-03-17 15:09:34 -07:00
2016-04-28 19:34:04 -07:00
2015-11-06 17:50:42 -08:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-03-01 16:57:20 -08:00
2015-10-20 17:47:45 +02:00
2016-01-13 11:06:03 +01:00
2015-11-25 09:22:00 -07:00
2016-04-06 13:18:19 +02:00
2016-04-13 10:41:08 +02:00
2016-03-11 14:58:58 -05:00
2016-05-03 16:00:54 -04:00
2015-10-23 05:44:28 -07:00
2015-11-20 11:31:26 -05:00
2016-02-06 02:59:51 -05:00
2015-12-15 16:50:20 -05:00
2016-02-11 09:59:22 -05:00
2016-02-21 09:06:12 -05:00
2015-12-15 23:26:51 -05:00
2015-10-09 07:49:05 -07:00
2015-12-04 10:34:46 +01:00
2016-02-22 08:51:37 +01:00
2015-10-13 23:30:31 -07:00
2016-02-15 12:42:38 +00:00
2015-10-27 08:36:08 +09:00
2016-03-25 16:37:42 -07:00
2015-10-15 00:21:07 +02:00
2015-10-15 00:21:07 +02:00
2016-03-22 15:36:02 -07:00
2015-11-04 11:30:57 -08:00
2016-04-05 13:25:12 +02:00
2016-03-16 17:45:56 -07:00
2015-10-04 12:46:06 +01:00
2015-09-03 15:02:28 -05:00
2016-05-11 19:31:40 -04:00
2015-12-11 11:52:29 -08:00
2016-05-02 13:42:51 +02:00
2015-10-01 15:06:43 +02:00
2015-10-01 02:18:38 +02:00
2016-05-02 13:42:51 +02:00
2016-05-02 13:42:50 +02:00
2015-09-16 15:47:51 +02:00
2015-10-30 10:13:26 +01:00
2016-05-16 11:14:29 -04:00
2016-01-28 14:19:12 -08:00
2016-02-22 23:19:09 -05:00
2015-09-01 14:04:50 -07:00
2015-11-23 09:44:58 +01:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2016-01-16 11:17:23 -08:00
2016-05-19 19:12:14 -07:00
2016-05-09 12:15:03 -04:00
2016-01-20 17:09:18 -08:00
2015-10-21 15:18:36 +01:00
2016-02-09 16:40:46 +00:00
2016-03-22 15:36:02 -07:00
2015-12-12 10:15:34 -08:00
2015-09-10 13:29:01 -07:00
2015-10-04 11:46:16 +01:00
2015-11-28 19:33:29 -08:00
2015-09-04 16:54:41 -07:00
2016-02-25 11:27:16 +01:00
2015-10-01 15:06:46 +02:00
2015-11-25 17:24:23 +01:00
2016-01-15 17:56:32 -08:00
2016-02-09 11:54:23 +01:00
2016-05-06 10:26:07 +02:00
2016-02-25 16:37:06 -05:00
2016-03-05 12:24:06 -08:00
2016-05-06 12:51:10 -06:00
2016-03-17 15:09:34 -07:00
2016-01-20 17:09:18 -08:00
2015-11-23 10:37:35 -08:00
2016-03-09 15:43:42 -08:00
2016-05-17 12:06:35 +02:00
2016-05-16 14:47:16 -07:00
2015-11-25 09:22:02 -07:00
2016-05-17 14:41:03 -07:00
2016-01-20 17:09:18 -08:00
2015-11-17 15:25:43 -05:00
2015-11-10 12:06:16 +01:00
2016-02-22 22:44:04 -05:00
2016-03-14 12:19:46 -04:00
2016-04-11 21:15:48 -04:00
2015-09-20 19:31:10 -07:00
2016-01-15 17:56:32 -08:00
2016-03-17 15:09:34 -07:00
2016-05-19 19:12:14 -07:00
2016-03-17 13:47:50 -07:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-01-15 17:56:32 -08:00
2015-10-04 12:46:06 +01:00
2015-09-09 17:19:14 -07:00
2016-03-15 16:55:16 -07:00
2015-10-27 18:55:31 -07:00
2016-03-20 16:47:13 -04:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-02-18 19:46:30 +01:00
2016-03-15 16:55:16 -07:00
2016-04-28 11:44:19 +02:00
2015-09-10 13:29:01 -07:00
2016-05-19 19:12:14 -07:00
2015-12-14 19:15:05 -08:00
2016-04-01 15:00:10 +02:00
2015-11-06 17:50:42 -08:00
2015-10-20 22:10:45 +08:00
2015-11-30 15:26:22 -05:00
2016-02-07 19:10:12 -08:00
2015-10-17 21:11:29 -07:00
2016-05-10 23:56:28 -04:00
2016-03-05 12:24:06 -08:00
2016-05-04 00:52:29 -04:00
2016-04-21 14:14:58 -04:00
2016-05-16 13:49:31 -04:00
2015-09-17 17:18:37 -07:00
2015-11-06 19:33:12 +01:00
2015-09-29 20:21:32 +02:00
2015-09-30 01:45:03 -05:00
2016-03-02 20:05:26 +01:00
2016-02-18 11:42:22 -05:00
2016-03-17 14:57:16 -04:00
2015-12-28 09:57:15 -05:00
2016-05-17 15:05:23 -07:00
2016-04-04 10:41:08 -07:00
2016-05-09 11:39:45 -04:00
2016-04-04 10:41:08 -07:00
2016-04-25 15:09:11 -04:00
2016-03-23 12:34:17 +01:00
2016-05-19 19:12:14 -07:00
2016-03-01 20:36:58 +01:00
2016-02-16 13:04:58 -05:00
2015-09-07 15:17:08 -04:00
2016-03-21 19:30:06 -04:00
2016-05-02 09:13:35 -06:00
2016-03-01 16:55:48 -08:00
2015-12-17 10:43:06 -06:00
2015-11-16 09:03:21 +05:30
2016-02-06 22:07:37 -08:00
2016-01-05 11:20:12 +01:00
2015-12-09 09:23:28 -06:00
2016-01-15 12:30:35 -06:00
2015-08-25 11:29:55 -05:00
2016-05-16 17:17:24 -07:00
2015-09-01 09:59:20 +10:00
2015-12-18 11:17:26 +05:30
2016-02-08 16:22:03 +02:00
2015-10-08 05:26:36 -07:00
2016-03-25 16:37:42 -07:00
2016-05-19 19:12:14 -07:00
2015-11-05 19:34:48 -08:00
2016-03-15 16:55:16 -07:00
2015-09-10 13:29:01 -07:00
2016-03-15 16:55:16 -07:00
2016-05-19 19:12:14 -07:00
2016-03-17 15:09:34 -07:00
2016-05-05 17:38:53 -07:00
2015-09-08 15:35:28 -07:00
2015-11-06 17:50:42 -08:00
2016-05-19 19:12:14 -07:00
2016-03-15 08:52:28 -05:00
2015-10-16 22:18:51 +02:00
2016-03-07 11:39:16 -06:00
2016-04-15 13:00:11 -05:00
2015-11-16 10:40:50 -05:00
2015-10-06 11:25:31 -07:00
2015-11-16 10:50:25 -05:00
2016-05-17 16:26:30 -07:00
2016-02-11 18:35:48 -08:00
2016-02-11 18:35:48 -08:00
2016-03-14 15:43:11 -04:00
2016-05-10 15:06:19 -04:00
2015-11-30 15:26:22 -05:00
2016-01-19 19:25:21 -05:00
2016-02-18 19:46:33 +01:00
2016-04-09 03:10:50 +02:00
2016-03-17 02:32:04 +01:00
2016-04-22 02:29:17 +02:00
2016-05-05 01:38:44 +02:00
2016-04-22 01:32:37 +02:00
2016-04-22 01:32:37 +02:00
2016-04-14 09:01:47 -06:00
2016-04-22 10:29:05 +02:00
2016-03-15 16:55:16 -07:00
2016-05-19 19:12:14 -07:00
2015-12-06 21:25:17 -05:00
2016-03-31 00:30:26 -04:00
2016-03-02 16:44:27 +01:00
2016-02-15 07:02:32 +01:00
2016-01-02 00:29:35 +01:00
2016-03-02 17:13:02 -08:00
2015-10-21 14:46:56 -06:00
2015-10-06 17:08:19 +02:00
2016-01-16 11:17:29 -08:00
2016-02-16 13:04:58 -05:00
2016-04-09 03:10:50 +02:00
2016-04-25 23:47:44 +02:00
2016-03-10 09:43:36 -08:00
2015-10-22 08:59:18 -07:00
2015-11-03 11:08:22 -05:00
2016-03-03 14:23:43 -08:00
2016-01-20 17:09:18 -08:00
2016-05-03 13:44:37 +02:00
2016-02-09 19:01:11 +00:00
2015-10-14 14:51:22 -05:00
2016-03-17 15:09:34 -07:00
2016-02-09 13:05:23 +01:00
2016-02-09 13:05:23 +01:00
2016-03-17 15:09:34 -07:00
2016-02-27 10:28:52 -08:00
2016-01-20 17:09:18 -08:00
2015-10-06 11:25:45 -07:00
2016-04-14 21:14:03 -04:00
2016-04-23 18:51:33 -04:00
2016-03-31 13:34:50 -07:00
2016-03-31 13:37:37 -07:00
2016-03-31 13:37:37 -07:00
2016-03-05 21:30:41 +09:00
2016-05-12 15:50:19 -07:00
2016-03-30 15:42:03 +02:00
2016-04-04 18:15:23 +02:00
2016-02-24 09:12:45 +01:00
2016-04-05 10:56:32 +02:00
2015-11-02 14:23:38 -05:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-17 15:09:34 -07:00
2016-03-10 16:04:24 -08:00
2016-05-06 11:09:00 -07:00
2016-03-14 17:08:15 +01:00
2016-01-10 22:13:15 -05:00
2016-04-13 10:42:20 +02:00
2016-04-22 08:58:33 +02:00
2016-04-15 16:53:14 -04:00
2015-12-15 09:41:09 +01:00
2016-05-16 19:17:22 -07:00
2015-10-04 12:54:54 +01:00
2016-02-16 09:26:27 +00:00
2016-04-15 17:29:35 -04:00
2015-10-27 19:55:13 -07:00
2016-05-17 14:41:03 -07:00
2016-04-14 12:56:09 -07:00
2016-02-06 22:23:26 -08:00
2016-02-06 22:07:37 -08:00
2015-12-17 11:18:44 +01:00
2015-11-24 11:48:35 +09:00
2016-01-04 16:11:11 -05:00
2016-01-20 17:09:18 -08:00
2016-01-22 18:08:52 -05:00
2016-05-03 08:37:59 +02:00
2016-05-03 00:22:19 -04:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-03-25 16:37:42 -07:00
2015-10-20 10:23:55 +02:00
2015-12-15 23:26:51 -05:00
2016-05-08 23:46:14 -04:00
2015-09-01 08:40:25 -07:00
2015-09-20 19:32:02 -07:00
2016-02-23 19:59:55 -08:00
2016-03-25 16:37:42 -07:00
2016-02-20 14:09:14 -08:00
2016-04-02 20:23:09 -04:00
2016-01-06 11:02:29 +01:00
2015-09-10 13:29:01 -07:00
2016-05-19 19:12:14 -07:00
2015-10-26 10:11:58 +09:00
2015-10-14 02:17:33 +02:00
2016-02-25 11:27:16 +01:00
2016-05-12 15:52:50 -07:00
2015-09-08 15:35:28 -07:00
2016-01-20 17:29:52 -05:00
2016-03-04 12:20:10 -05:00
2015-11-13 21:53:18 -08:00
2015-10-21 14:42:38 -06:00
2016-03-14 14:55:26 -04:00
2016-04-20 20:31:14 -07:00
2016-01-14 16:00:49 -08:00
2015-09-20 22:52:13 -07:00
2016-03-17 15:09:34 -07:00
2016-05-19 19:12:14 -07:00
2015-12-10 22:41:06 -08:00
2016-03-02 17:13:17 -08:00
2016-04-22 11:49:04 -07:00
2015-10-01 09:57:59 -07:00
2016-01-18 14:49:33 -05:00
2015-10-19 01:01:21 +02:00
2016-05-18 18:55:19 -07:00
2015-11-05 19:34:48 -08:00
2016-03-15 16:55:16 -07:00
2016-03-09 11:58:41 -05:00
2016-04-26 15:47:32 -07:00
2016-01-28 11:58:02 -08:00
2016-05-18 18:46:55 -07:00
2015-11-25 15:49:13 +00:00
2016-05-04 16:55:11 -04:00
2015-12-17 09:57:27 -08:00
2016-02-10 13:19:03 +00:00
2016-04-07 16:53:29 -04:00
2015-12-18 17:48:50 -08:00
2016-04-08 19:46:28 -04:00
2015-11-23 09:44:58 +01:00
2016-04-13 12:02:28 -07:00
2016-02-14 17:03:23 -08:00
2015-09-04 16:54:41 -07:00
2016-02-22 16:10:08 -07:00
2016-02-09 11:21:07 +01:00
2015-12-04 10:38:59 -02:00
2016-01-12 20:47:06 +02:00
2016-03-02 17:01:57 +02:00
2016-03-02 17:01:57 +02:00
2016-03-17 15:09:34 -07:00
2016-01-14 16:00:49 -08:00
2015-10-17 22:03:00 -07:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2016-02-07 21:36:02 -08:00
2015-12-04 10:34:45 +01:00
2016-02-24 09:09:45 +01:00
2016-03-16 21:11:19 +01:00
2015-12-03 07:24:29 -08:00
2016-01-29 13:31:10 -05:00
2016-03-03 14:42:50 -07:00
2016-04-11 00:48:00 -04:00
2015-09-08 15:35:28 -07:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00