Sultan Alsawaf
2d09c64fa7
ion: Fix partial cache maintenance operations
...
The partial cache maintenance helpers check the number of segments in
each mapping before checking if the mapping is actually in use, which
sometimes results in spurious errors being returned to vidc. The errors
then cause vidc to malfunction, even though nothing's wrong.
The reason for checking the segment count first was to elide map_rwsem;
however, it turns out that map_rwsem isn't needed anyway, so we can have
our cake and eat it too.
Fix the spurious segment count errors by reordering the checks, and
remove map_rwsem entirely so we don't have to worry about eliding it for
performance reasons.
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: Forenche <prahul2003@gmail.com>
2022-04-02 13:37:08 +05:30
..
2020-07-24 10:08:39 +02:00
2022-04-02 13:36:28 +05:30
2022-04-02 13:31:22 +05:30
2022-04-02 13:34:50 +05:30
2020-07-18 16:49:19 +05:30
2021-07-22 19:35:30 -07:00
2022-04-02 13:32:00 +05:30
2022-04-02 12:50:57 +05:30
2022-04-02 12:50:19 +05:30
2022-04-02 13:14:42 +05:30
2022-04-02 13:33:47 +05:30
2022-04-02 13:21:40 +05:30
2022-04-02 13:33:57 +05:30
2020-09-06 01:12:33 +05:30
2022-04-02 13:21:30 +05:30
2020-09-06 01:12:33 +05:30
2020-08-31 11:01:37 -07:00
2020-09-06 01:12:33 +05:30
2020-09-06 01:12:33 +05:30
2022-04-02 13:21:41 +05:30
2022-04-02 13:34:11 +05:30
2021-08-16 02:20:31 -07:00
2022-04-02 13:20:57 +05:30
2020-07-29 07:42:55 +02:00
2022-04-02 13:14:43 +05:30
2022-04-02 13:14:17 +05:30
2020-08-24 01:14:38 -07:00
2022-04-02 12:58:19 +05:30
2020-09-06 01:12:33 +05:30
2022-04-02 13:36:47 +05:30
2022-04-02 12:50:56 +05:30
2022-04-02 13:15:27 +05:30
2022-04-02 12:51:19 +05:30
2022-04-02 12:41:25 +05:30
2022-04-02 13:21:41 +05:30
2022-04-02 13:35:12 +05:30
2020-07-24 10:08:39 +02:00
2020-09-06 01:12:33 +05:30
2022-04-02 13:35:12 +05:30
2022-04-02 13:31:29 +05:30
2020-09-06 01:12:33 +05:30
2022-04-02 13:21:39 +05:30
2022-04-02 13:11:51 +05:30
2020-09-06 01:12:33 +05:30
2020-09-06 01:12:33 +05:30
2020-09-06 01:12:33 +05:30
2020-09-06 01:12:33 +05:30
2022-04-02 13:20:57 +05:30
2020-09-18 04:24:51 -07:00
2022-04-02 13:20:49 +05:30
2020-09-06 01:12:33 +05:30
2022-04-02 13:15:27 +05:30
2022-04-02 13:31:23 +05:30
2022-04-02 13:33:28 +05:30
2020-08-05 11:41:56 +05:30
2022-04-02 13:14:20 +05:30
2020-09-06 01:12:33 +05:30
2022-04-02 12:41:26 +05:30
2020-08-05 11:41:56 +05:30
2022-04-02 13:31:26 +05:30
2021-11-03 03:02:41 -07:00
2022-04-02 13:37:06 +05:30
2022-04-02 12:51:17 +05:30
2020-09-22 21:10:07 +05:30
2022-04-02 13:37:08 +05:30
2022-04-02 13:17:26 +05:30
2022-04-02 13:21:42 +05:30
2020-09-06 01:12:33 +05:30
2022-04-02 13:17:26 +05:30
2022-04-02 13:33:06 +05:30
2020-08-05 11:41:56 +05:30
2020-09-06 01:12:33 +05:30
2022-04-02 13:20:57 +05:30
2022-04-02 13:11:17 +05:30
2022-04-02 13:11:17 +05:30