David Rientjes
9ef0a0ffa2
mm, writeback: prevent race when calculating dirty limits
...
Setting vm_dirty_bytes and dirty_background_bytes is not protected by
any serialization.
Therefore, it's possible for either variable to change value after the
test in global_dirty_limits() to determine whether available_memory
needs to be initialized or not.
Always ensure that available_memory is properly initialized.
Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-08-06 18:01:21 -07:00
..
2014-04-18 14:20:48 +02:00
2014-01-23 16:36:50 -08:00
2013-11-13 12:09:09 +09:00
2014-01-23 16:36:50 -08:00
2014-08-06 18:01:16 -07:00
2014-06-04 16:54:11 -07:00
2014-06-04 16:54:08 -07:00
2014-04-07 16:36:15 -07:00
2013-11-06 12:40:26 +01:00
2014-08-06 18:01:20 -07:00
2014-06-06 16:08:17 -07:00
2014-06-04 16:54:07 -07:00
2014-08-06 18:01:20 -07:00
2014-08-06 18:01:20 -07:00
2014-07-15 11:05:09 -04:00
2014-08-06 18:01:19 -07:00
2014-08-06 18:01:19 -07:00
2014-08-06 18:01:16 -07:00
2014-05-06 17:39:45 -04:00
2014-08-06 18:01:16 -07:00
2014-06-06 16:08:18 -07:00
2014-06-06 16:08:17 -07:00
2014-07-16 15:10:39 +02:00
2014-04-03 16:21:01 -07:00
2014-08-06 18:01:18 -07:00
2014-08-06 18:01:16 -07:00
2014-06-06 16:08:17 -07:00
2014-08-06 18:01:17 -07:00
2014-08-06 18:01:16 -07:00
2014-08-06 18:01:19 -07:00
2014-08-06 18:01:20 -07:00
2014-07-10 11:38:23 -07:00
2014-06-06 16:08:17 -07:00
2014-07-26 14:38:50 -07:00
2014-04-03 16:21:00 -07:00
2014-08-06 18:01:20 -07:00
2014-01-27 21:02:39 -08:00
2014-08-06 18:01:19 -07:00
2014-02-21 08:50:17 +01:00
2014-01-23 16:36:52 -08:00
2013-10-09 14:47:45 +02:00
2014-04-07 16:35:50 -07:00
2014-05-11 17:55:48 +09:00
2014-07-03 09:21:53 -07:00
2014-06-06 16:08:17 -07:00
2014-06-23 16:47:43 -07:00
2014-01-30 16:56:56 -08:00
2014-08-06 18:01:20 -07:00
2014-04-03 16:21:02 -07:00
2014-06-14 19:30:48 -05:00
2014-08-06 18:01:21 -07:00
2013-10-30 14:27:03 -07:00
2014-06-19 11:00:27 -04:00
2013-12-18 19:04:51 -08:00
2014-05-06 17:32:49 -04:00
2014-08-06 18:01:15 -07:00
2014-07-23 15:10:54 -07:00
2014-08-06 18:01:20 -07:00
2014-08-06 18:01:15 -07:00
2014-08-06 18:01:15 -07:00
2014-08-06 18:01:15 -07:00
2014-06-04 16:53:59 -07:00
2014-08-06 18:01:15 -07:00
2014-01-21 16:19:47 -08:00
2014-04-07 16:35:54 -07:00
2014-06-04 16:54:09 -07:00
2014-08-06 18:01:20 -07:00
2014-06-04 16:54:12 -07:00
2014-07-23 15:10:55 -07:00
2014-08-06 18:01:15 -07:00
2014-06-04 16:53:57 -07:00
2014-08-06 18:01:19 -07:00
2014-02-03 13:24:01 -05:00
2014-08-06 18:01:20 -07:00
2014-08-06 18:01:20 -07:00
2014-04-03 16:21:01 -07:00
2014-06-04 16:54:13 -07:00
2014-08-06 18:01:19 -07:00
2014-06-04 16:54:14 -07:00