Michael Neuling
e9bdc3d614
powerpc/tm: Switch out userspace PPR and DSCR sooner
...
When we do a treclaim or trecheckpoint we end up running with userspace
PPR and DSCR values. Currently we don't do anything special to avoid
running with user values which could cause a severe performance
degradation.
This patch moves the PPR and DSCR save and restore around treclaim and
trecheckpoint so that we run with user values for a much shorter period.
More care is taken with the PPR as it's impact is greater than the DSCR.
This is similar to user exceptions, where we run HTM_MEDIUM early to
ensure that we don't run with a userspace PPR values in the kernel.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Cc: <stable@vger.kernel.org> # 3.9+
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-10-03 17:25:51 +10:00
..
2013-08-20 19:33:12 -05:00
2013-04-23 16:05:05 +10:00
2013-08-27 14:44:26 +10:00
2013-09-25 14:15:51 +10:00
2013-08-27 16:01:23 +10:00
2013-08-14 15:33:27 +10:00
2013-07-30 15:50:07 -05:00
2013-05-24 18:13:44 +10:00
2013-08-09 16:01:40 +10:00
2013-07-03 16:08:03 -07:00
2013-04-18 15:59:55 +10:00
2013-07-24 14:18:46 +10:00
2013-06-20 17:05:35 +10:00
2013-07-24 14:18:49 +10:00
2013-06-25 17:24:41 +10:00
2013-07-24 14:18:49 +10:00
2013-07-24 14:18:49 +10:00
2013-08-09 18:06:47 +10:00
2013-06-01 08:29:27 +10:00
2013-08-27 15:05:22 +10:00
2013-08-07 18:38:06 -05:00
2013-08-14 14:57:47 +10:00
2013-08-27 15:03:30 +10:00
2013-04-29 15:54:30 -07:00
2013-08-14 14:59:50 +10:00
2013-08-14 14:59:50 +10:00
2013-08-14 14:59:50 +10:00
2013-08-14 11:50:19 +10:00
2013-05-02 10:31:01 +10:00
2013-08-14 14:59:50 +10:00
2013-07-02 08:20:49 +10:00
2013-06-12 12:37:26 +01:00
2013-07-01 11:10:35 +10:00
2013-08-14 14:57:50 +10:00
2013-08-14 14:58:08 +10:00
2013-10-03 17:24:44 +10:00
2013-09-25 14:15:51 +10:00
2013-04-18 13:03:56 +10:00
2013-06-20 16:55:09 +10:00
2013-07-03 16:07:32 -07:00
2013-08-14 15:33:32 +10:00
2013-05-14 14:36:23 +10:00
2013-08-28 11:20:54 +10:00
2013-09-25 14:15:51 +10:00
2013-09-25 14:15:36 +10:00
2013-07-01 11:46:56 +10:00
2013-08-14 15:33:35 +10:00
2013-05-06 13:40:40 +10:00
2013-08-14 11:50:25 +10:00
2013-08-14 15:33:31 +10:00
2013-08-14 15:33:30 +10:00
2013-09-06 10:49:42 -07:00
2013-07-24 14:18:48 +10:00
2013-08-14 14:59:50 +10:00
2013-06-29 12:57:50 +04:00
2013-09-25 14:15:51 +10:00
2013-08-14 14:57:40 +10:00
2013-09-25 14:19:00 +10:00
2013-08-14 15:33:26 +10:00
2013-09-10 13:53:52 -07:00
2013-04-18 13:03:57 +10:00
2013-07-09 10:33:25 -07:00
2013-07-01 11:10:34 +10:00
2013-05-14 14:36:26 +10:00
2013-08-14 15:33:22 +10:00
2013-04-26 16:08:26 +10:00
2013-08-07 18:38:06 -05:00
2013-09-06 10:49:42 -07:00
2013-08-14 15:33:24 +10:00
2013-08-14 14:57:18 +10:00
2013-08-14 14:59:38 +10:00
2013-06-01 08:29:23 +10:00
2013-06-01 08:29:23 +10:00
2013-09-11 11:39:37 +10:00
2013-08-23 19:39:26 -05:00
2013-07-30 15:50:08 -05:00
2013-05-09 13:46:38 -04:00
2013-10-03 17:22:53 +10:00
2013-09-06 10:49:42 -07:00
2013-10-03 17:25:51 +10:00
2013-08-27 15:05:22 +10:00
2013-08-16 10:59:27 +10:00
2013-06-20 16:55:12 +10:00
2013-07-01 11:10:36 +10:00
2013-10-03 17:25:16 +10:00
2013-07-24 14:18:43 +10:00