Benjamin LaHaise
8e321fefb0
aio/migratepages: make aio migrate pages sane
...
The arbitrary restriction on page counts offered by the core
migrate_page_move_mapping() code results in rather suspicious looking
fiddling with page reference counts in the aio_migratepage() operation.
To fix this, make migrate_page_move_mapping() take an extra_count parameter
that allows aio to tell the code about its own reference count on the page
being migrated.
While cleaning up aio_migratepage(), make it validate that the old page
being passed in is actually what aio_migratepage() expects to prevent
misbehaviour in the case of races.
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
2013-12-21 17:56:08 -05:00
..
2013-09-11 15:58:03 -07:00
2012-12-11 17:22:26 -08:00
2013-11-13 12:09:09 +09:00
2013-09-30 14:31:02 -07:00
2013-04-30 17:04:01 -07:00
2013-12-18 19:04:52 -08:00
2011-12-06 09:24:07 +01:00
2012-12-11 17:22:24 -08:00
2013-03-03 22:46:22 -05:00
2012-01-03 22:54:56 -05:00
2013-11-06 12:40:26 +01:00
2013-11-15 09:32:13 +09:00
2013-08-13 17:57:48 -07:00
2013-06-12 16:29:46 -07:00
2012-12-20 08:37:05 -08:00
2013-12-18 19:04:51 -08:00
2013-08-08 20:11:24 -04:00
2013-11-21 16:42:27 -08:00
2013-09-30 14:31:03 -07:00
2011-07-26 16:49:47 -07:00
2013-09-11 15:58:01 -07:00
2012-10-09 16:22:42 +09:00
2013-12-18 19:04:52 -08:00
2012-01-10 16:30:42 -08:00
2013-11-13 12:09:07 +09:00
2013-11-13 12:09:02 +09:00
2013-10-30 12:57:46 -07:00
2011-10-31 09:20:12 -04:00
2013-09-30 14:31:02 -07:00
2013-09-10 18:56:30 -04:00
2013-11-13 12:09:08 +09:00
2013-12-12 18:19:26 -08:00
2013-11-13 12:09:09 +09:00
2013-12-18 19:04:52 -08:00
2013-12-20 15:41:27 -08:00
2013-12-18 19:04:52 -08:00
2013-09-11 15:58:14 -07:00
2013-12-21 17:56:08 -05:00
2013-02-23 17:50:17 -08:00
2013-09-30 14:31:02 -07:00
2013-10-09 14:47:45 +02:00
2013-11-15 09:32:14 +09:00
2013-05-07 18:38:27 -07:00
2013-06-28 14:34:33 +02:00
2013-10-09 14:47:45 +02:00
2013-12-18 19:04:51 -08:00
2013-10-16 21:35:53 -07:00
2013-11-13 12:09:04 +09:00
2013-11-13 15:45:43 +09:00
2013-11-15 09:32:14 +09:00
2013-12-20 12:19:18 -08:00
2012-12-12 17:38:32 -08:00
2013-07-30 11:53:12 -04:00
2013-09-11 15:57:48 -07:00
2013-10-16 21:35:53 -07:00
2013-10-30 14:27:03 -07:00
2012-06-20 14:39:36 -07:00
2013-09-23 10:51:45 -04:00
2013-12-18 19:04:51 -08:00
2013-03-12 11:05:45 -07:00
2011-10-31 09:20:11 -04:00
2013-11-13 12:09:09 +09:00
2013-12-18 19:04:52 -08:00
2013-12-02 11:24:19 +00:00
2013-11-13 12:09:10 +09:00
2013-11-22 08:10:34 -08:00
2013-11-13 12:09:10 +09:00
2013-09-04 20:51:33 +03:00
2013-11-22 08:10:34 -08:00
2013-04-29 15:54:35 -07:00
2013-11-13 12:09:06 +09:00
2013-09-11 15:59:36 -07:00
2013-11-21 16:42:27 -08:00
2013-11-13 12:09:07 +09:00
2013-09-12 15:38:02 -07:00
2013-11-13 12:09:11 +09:00
2013-11-13 12:09:07 +09:00
2013-09-03 18:25:03 -07:00
2013-10-16 21:35:52 -07:00
2013-11-13 12:09:11 +09:00
2013-09-11 15:57:35 -07:00
2013-11-13 12:09:11 +09:00