Files
kernel_arpi/include/linux
Nicholas Piggin 4231aba000 powerpc/64s: Fix page table fragment refcount race vs speculative references
The page table fragment allocator uses the main page refcount racily
with respect to speculative references. A customer observed a BUG due
to page table page refcount underflow in the fragment allocator. This
can be caused by the fragment allocator set_page_count stomping on a
speculative reference, and then the speculative failure handler
decrements the new reference, and the underflow eventually pops when
the page tables are freed.

Fix this by using a dedicated field in the struct page for the page
table fragment allocator.

Fixes: 5c1f6ee9a3 ("powerpc: Reduce PTE table memory wastage")
Cc: stable@vger.kernel.org # v3.10+
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-08-08 00:32:32 +10:00
..
2018-06-05 10:48:09 -04:00
2018-06-07 14:23:08 +01:00
2018-06-07 17:34:35 -07:00
2018-06-15 18:10:01 -03:00
2018-06-14 17:01:45 +02:00
2018-06-15 18:10:01 -03:00
2018-06-01 07:38:16 -06:00
2018-06-15 18:10:01 -03:00
2018-06-07 17:34:37 -07:00
2018-06-21 17:39:18 +02:00
2018-06-05 08:50:16 -04:00
2018-06-15 07:55:25 +09:00
2018-06-07 17:34:35 -07:00
2018-06-12 16:19:22 -07:00
2018-06-07 17:34:39 -07:00
2018-06-01 14:37:35 +02:00
2018-06-07 17:34:36 -07:00
2018-06-06 16:10:45 -05:00
2018-06-07 17:34:35 -07:00
2018-06-04 17:28:20 -04:00
2018-06-29 08:48:06 -06:00
2018-06-07 17:34:35 -07:00