Benjamin Herrenschmidt
6ad8d010b2
[POWERPC] Fix possible access to free pages
...
I think we have a subtle race on ppc64 with the tlb batching. The
common code expects tlb_flush() to actually flush any pending TLB
batch. It does that because it delays all page freeing until after
tlb_flush() is called, in order to ensure no stale reference to
those pages exist in any TLB, thus causing potential access to
the freed pages.
However, our tlb_flush only triggers the RCU for freeing page
table pages, it does not currently trigger a flush of a pending
TLB/hash batch, which is, I think, an error. This fixes it.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-02 21:01:55 +10:00
..
2007-04-13 03:55:13 +10:00
2007-05-08 11:15:20 -07:00
2007-05-08 11:15:19 -07:00
2007-04-13 04:09:39 +10:00
2007-04-23 21:44:38 +02:00
2007-05-17 21:10:15 +10:00
2007-03-09 15:03:24 +11:00
2007-02-16 14:00:19 +11:00
2007-02-07 14:03:23 +11:00
2007-01-30 08:39:21 -08:00
2007-03-09 15:03:25 +11:00
2007-03-22 22:52:55 +11:00
2007-01-24 21:13:56 +11:00
2007-02-08 15:02:35 +11:00
2007-03-14 15:27:50 -07:00
2007-02-07 14:03:20 +11:00
2007-03-22 15:01:43 +11:00
2007-05-11 08:29:34 -07:00
2007-03-16 16:38:19 +11:00
2007-03-26 17:03:49 -05:00
2007-03-29 14:33:56 -05:00
2007-04-27 21:14:30 +10:00
2007-05-07 20:31:14 +10:00
2007-01-26 01:45:32 -06:00
2007-01-24 21:13:59 +11:00
2007-02-12 09:48:44 -08:00
2007-05-08 11:50:19 -07:00
2007-05-08 11:15:07 -07:00
2007-05-02 20:57:39 +10:00
2007-01-26 17:27:40 -05:00
2007-05-08 11:15:20 -07:00
2007-05-08 13:40:31 +10:00
2007-05-21 09:18:19 -07:00
2007-05-17 21:11:13 +10:00
2007-05-10 21:28:13 +10:00
2007-05-02 20:04:29 +10:00
2007-05-10 21:28:13 +10:00
2007-02-07 14:03:17 +11:00
2007-05-07 20:31:15 +10:00
2007-05-17 21:10:15 +10:00
2007-05-08 13:43:48 +10:00
2007-05-07 20:31:15 +10:00
2007-04-24 21:31:51 +10:00
2007-05-09 16:35:00 +10:00
2007-05-07 20:31:14 +10:00
2007-05-09 16:35:00 +10:00
2007-05-08 13:40:31 +10:00
2007-05-08 11:15:05 -07:00
2007-01-24 21:13:59 +11:00
2007-03-09 15:03:25 +11:00
2007-05-08 13:40:31 +10:00
2007-05-09 16:35:00 +10:00
2007-05-02 20:04:30 +10:00
2007-05-09 16:35:00 +10:00
2007-05-09 16:35:00 +10:00
2007-05-17 21:11:13 +10:00
2007-05-02 20:04:30 +10:00
2007-05-02 20:04:30 +10:00
2007-05-17 21:10:15 +10:00
2007-04-24 21:31:51 +10:00
2007-02-16 14:00:19 +11:00
2007-05-11 08:29:34 -07:00
2007-01-11 18:18:22 -08:00
2007-05-10 21:28:13 +10:00
2007-03-22 22:52:58 +11:00
2007-05-02 20:04:29 +10:00
2007-05-10 21:28:13 +10:00
2007-05-04 17:59:08 -07:00
2007-02-12 09:48:44 -08:00
2007-05-09 23:01:43 -05:00
2007-05-09 23:00:37 -05:00
2007-04-24 21:31:51 +10:00
2007-05-09 23:28:17 -05:00
2007-05-09 12:30:48 -07:00
2007-04-25 22:24:21 -07:00
2007-04-25 22:24:04 -07:00
2007-05-09 16:35:00 +10:00
2007-02-07 14:03:21 +11:00
2007-03-10 00:07:50 +01:00
2007-02-06 22:55:19 -06:00
2007-04-26 01:54:39 -07:00
2007-05-02 20:04:30 +10:00
2007-05-17 21:11:13 +10:00
2007-05-08 11:15:20 -07:00
2007-02-11 10:51:26 -08:00
2007-02-07 14:03:17 +11:00
2007-06-02 21:01:55 +10:00
2007-04-24 22:08:56 +10:00
2007-03-05 07:57:51 -08:00
2007-05-17 21:10:15 +10:00
2007-05-17 21:10:15 +10:00
2007-05-08 11:54:20 +10:00
2007-04-13 04:09:38 +10:00
2007-04-28 11:01:04 -04:00
2007-02-17 16:12:54 -06:00
2007-05-08 14:47:33 +10:00
2007-04-24 21:32:01 +10:00
2007-05-17 21:11:13 +10:00
2007-02-13 15:35:52 +11:00