Suren Baghdasaryan
fe25fc5375
ANDROID: Make file-backed vma teardown synchronous
...
When a file-backed vma is being released, the userspace can have an
expectation that the vma and the file it's pinning will be released
synchronously. This does not happen when SPF is enabled because vma
and associated file are released asynchronously after RCU grace
period. This is done to prevent pagefault handler from stepping on
a deleted object. Fix this issue by synchronously waiting for RCU
grace period during file-backed vma tear-down.
Fixes: 48e35d053f "FROMLIST: mm: rcu safe vma->vm_file freeing"
Bug: 231394031
Signed-off-by: Suren Baghdasaryan <surenb@google.com >
Change-Id: I9f672d5bd947763c7d180a8c1b1f964600d407f3
2022-05-11 17:08:16 +00:00
..
2022-04-20 08:18:54 +02:00
2022-04-20 17:38:56 +00:00
2021-05-07 00:26:34 -07:00
2022-04-08 14:23:51 +02:00
2022-05-04 13:39:14 -07:00
2021-11-25 09:49:07 +01:00
2022-04-24 16:57:32 +02:00
2021-06-22 11:07:18 -07:00
2022-05-09 22:34:00 +00:00
2021-09-02 13:00:15 -07:00
2022-04-08 14:23:29 +02:00
2022-04-20 08:18:54 +02:00
2022-04-20 08:18:54 +02:00
2022-05-10 23:41:39 +00:00
2022-04-20 08:18:54 +02:00
2022-05-04 13:39:14 -07:00
2022-04-24 16:58:59 +02:00
2022-04-20 08:18:54 +02:00
2022-04-27 15:34:29 +00:00
2021-09-08 11:50:26 -07:00
2022-02-23 12:03:07 +01:00
2021-08-24 18:52:36 -04:00
2022-02-08 18:34:03 +01:00
2022-04-08 14:23:06 +02:00
2021-03-22 15:23:32 -04:00
2022-04-08 14:23:06 +02:00
2022-04-20 17:38:55 +00:00
2021-08-11 13:11:12 -07:00
2021-09-08 15:32:35 -07:00
2021-08-16 18:55:32 +02:00
2022-04-24 16:58:59 +02:00
2021-12-29 12:28:49 +01:00
2022-02-23 12:30:26 +01:00
2021-05-12 11:43:25 +02:00
2022-04-20 17:38:55 +00:00
2022-05-11 17:08:16 +00:00
2022-02-10 09:29:57 +00:00
2021-09-16 09:51:19 +02:00
2021-05-27 04:01:50 +09:00
2022-01-05 18:38:02 +00:00
2022-02-10 09:29:34 +00:00
2021-06-13 15:19:53 +02:00
2021-07-05 10:46:20 +02:00
2021-07-08 11:48:22 -07:00
2021-08-17 17:50:51 +02:00
2021-06-28 22:43:05 +02:00
2021-08-30 16:36:10 +02:00
2021-05-07 00:26:32 -07:00
2021-09-08 15:32:34 -07:00
2021-05-07 00:26:33 -07:00
2021-12-08 09:04:41 +01:00
2021-07-12 10:02:27 +01:00
2022-04-24 16:57:32 +02:00
2022-01-05 18:38:02 +00:00
2022-02-23 12:30:26 +01:00
2021-08-16 18:55:32 +02:00
2021-09-03 09:58:12 -07:00
2021-08-27 16:30:18 +08:00
2021-08-30 16:36:10 +02:00
2021-08-16 14:42:22 +02:00
2021-09-03 09:58:12 -07:00
2021-09-02 09:42:36 +02:00
2021-09-08 11:50:26 -07:00
2022-04-08 14:22:50 +02:00
2021-09-28 08:49:54 -07:00
2022-04-08 14:23:43 +02:00
2022-04-08 14:23:10 +02:00
2021-07-27 11:39:30 -07:00
2022-03-21 15:31:19 +00:00
2022-02-16 12:56:38 +01:00
2022-03-08 19:12:34 +01:00
2022-04-20 09:34:21 +02:00
2021-08-10 14:57:42 +02:00
2021-11-11 18:55:19 +00:00
2022-02-23 12:03:07 +01:00
2022-04-24 16:57:32 +02:00
2022-04-13 20:59:28 +02:00
2022-04-13 20:59:28 +02:00
2021-11-09 00:42:10 +00:00
2021-09-08 15:32:35 -07:00
2022-03-24 18:44:39 -07:00
2021-06-23 16:41:24 -06:00
2022-03-18 07:53:14 +01:00
2021-04-30 11:20:42 -07:00
2021-08-10 10:48:07 -07:00
2021-09-14 16:16:54 +02:00
2022-01-27 11:05:35 +01:00
2022-02-23 12:03:20 +01:00
2021-05-07 00:26:34 -07:00
2021-05-09 13:07:03 -07:00
2022-03-08 19:12:42 +01:00
2021-09-08 11:50:27 -07:00
2021-07-03 11:41:14 -07:00
2022-04-08 14:24:11 +02:00
2022-03-15 11:18:09 +09:00
2021-08-17 07:49:10 -10:00
2022-02-14 15:50:54 +01:00