Naoya Horiguchi
4a705fef98
hugetlb: fix copy_hugetlb_page_range() to handle migration/hwpoisoned entry
...
There's a race between fork() and hugepage migration, as a result we try
to "dereference" a swap entry as a normal pte, causing kernel panic.
The cause of the problem is that copy_hugetlb_page_range() can't handle
"swap entry" family (migration entry and hwpoisoned entry) so let's fix
it.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: <stable@vger.kernel.org> [2.6.37+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-06-23 16:47:43 -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-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-06-12 10:30:18 -07:00
2014-06-06 16:08:17 -07:00
2014-06-04 16:54:07 -07:00
2014-06-04 16:54:05 -07:00
2014-06-04 16:53:58 -07:00
2014-05-16 13:22:48 -04:00
2014-06-23 16:47:43 -07:00
2014-01-21 16:19:48 -08:00
2014-06-04 16:54:11 -07:00
2014-05-06 17:39:45 -04:00
2014-06-04 16:54:14 -07:00
2014-06-06 16:08:18 -07:00
2014-06-06 16:08:17 -07:00
2014-03-04 07:55:47 -08:00
2014-04-03 16:21:01 -07:00
2014-05-23 09:37:29 -07:00
2014-06-04 16:54:04 -07:00
2014-06-06 16:08:17 -07:00
2014-06-09 15:03:33 -07:00
2014-06-04 16:54:06 -07:00
2014-06-04 16:54:13 -07:00
2014-06-04 16:54:12 -07:00
2014-06-08 11:31:16 -07:00
2014-06-06 16:08:17 -07:00
2014-06-04 16:54:12 -07:00
2014-04-03 16:21:00 -07:00
2014-04-07 16:35:57 -07:00
2014-01-27 21:02:39 -08:00
2014-06-06 16:08:18 -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-06-04 16:54:11 -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-06-06 16:08:16 -07:00
2014-04-03 16:21:02 -07:00
2014-06-14 19:30:48 -05:00
2013-09-11 15:57:48 -07:00
2014-06-08 13:03:35 -07:00
2013-10-30 14:27:03 -07:00
2014-04-14 16:18:06 -04:00
2013-12-18 19:04:51 -08:00
2014-05-06 17:32:49 -04:00
2014-04-07 16:35:58 -07:00
2014-06-08 11:31:16 -07:00
2014-06-23 16:47:43 -07:00
2014-06-04 16:54:08 -07:00
2014-06-04 16:54:01 -07:00
2014-06-04 16:54:01 -07:00
2014-06-04 16:53:59 -07:00
2014-06-06 16:08:06 -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-06-04 16:54:10 -07:00
2014-06-04 16:54:12 -07:00
2014-05-06 13:04:59 -07:00
2014-05-06 14:02:53 -04:00
2014-06-04 16:53:57 -07:00
2014-06-04 16:54:14 -07:00
2014-02-03 13:24:01 -05:00
2014-06-12 10:30:18 -07:00
2014-06-04 16:54:07 -07:00
2014-04-03 16:21:01 -07:00
2014-06-04 16:54:13 -07:00
2014-06-04 16:54:13 -07:00
2014-06-04 16:54:14 -07:00