Sultan Alsawaf
22c06bedd8
simple_lmk: Reduce unnecessary wake ups
...
We can check if the waitqueue is actually active before calling wake_up()
in order to avoid an unnecessary wake_up() if the reclaim thread is already
running. Furthermore, the release barrier when zeroing needs_reclaim is
unnecessary, so remove it.
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com >
2024-04-16 18:30:25 +07:00
..
2023-12-20 13:20:43 +00:00
2021-11-12 13:17:07 +01:00
2024-04-16 18:30:25 +07:00
2021-12-14 10:03:49 +01:00
2021-07-20 16:22:38 +02:00
2024-02-16 04:03:29 +00:00
2021-09-22 11:41:22 +02:00
2023-12-22 06:34:06 +00:00
2022-02-04 18:46:07 +02:00
2021-03-30 14:45:00 +02:00
2021-05-26 11:27:33 +02:00
2023-12-20 13:22:10 +00:00
2024-03-22 18:54:54 +00:00
2021-03-17 21:27:13 +02:00
2023-12-31 14:52:53 +00:00
2023-12-29 14:47:41 +00:00
2023-12-20 13:22:05 +00:00
2022-02-04 18:46:07 +02:00
2023-12-20 13:20:24 +00:00
2021-07-22 01:39:54 +03:00
2021-04-07 12:04:21 +02:00
2023-12-20 13:22:05 +00:00
2021-07-22 01:39:54 +03:00
2024-01-31 17:37:04 +00:00
2023-12-20 13:20:24 +00:00
2022-01-27 08:46:17 +01:00
2021-11-26 11:58:34 +01:00
2023-12-20 13:22:05 +00:00
2023-12-20 13:20:43 +00:00
2023-12-20 13:22:05 +00:00
2023-12-20 13:20:24 +00:00
2023-12-20 13:20:10 +00:00
2023-12-20 13:20:24 +00:00
2023-12-22 13:47:46 +00:00
2021-02-07 15:45:02 +02:00
2021-10-06 10:22:25 +02:00
2021-12-27 01:25:42 +02:00
2023-12-20 13:20:24 +00:00
2023-12-22 06:33:43 +00:00
2021-05-31 03:28:18 +03:00
2024-04-16 18:30:24 +07:00
2023-12-20 13:22:09 +00:00
2021-11-26 11:58:40 +01:00
2021-11-26 11:58:39 +01:00
2023-12-20 13:20:24 +00:00
2022-02-09 20:00:28 +02:00
2023-12-22 13:47:45 +00:00
2023-12-29 07:57:48 +00:00
2023-12-20 13:20:24 +00:00
2024-02-23 15:51:24 +00:00
2021-12-27 01:18:47 +02:00
2021-03-03 16:44:23 +01:00
2021-10-27 09:32:38 +02:00
2023-12-20 13:24:36 +00:00
2022-01-27 08:46:20 +01:00
2021-09-22 11:41:26 +02:00
2023-12-20 13:20:24 +00:00
2022-01-27 08:46:15 +01:00
2023-12-20 13:20:28 +00:00
2021-07-22 01:39:54 +03:00
2021-10-12 00:10:10 +03:00
2023-12-20 13:22:11 +00:00
2023-12-22 06:33:45 +00:00
2021-10-17 10:04:44 +02:00
2021-07-22 01:39:54 +03:00
2021-07-22 01:39:54 +03:00
2022-02-04 18:46:07 +02:00
2022-02-03 10:00:04 +01:00
2023-12-20 13:20:24 +00:00
2021-11-26 11:58:43 +01:00
2023-12-29 10:05:11 +00:00
2022-02-09 20:00:28 +02:00
2021-07-20 16:22:31 +02:00
2024-03-23 03:46:51 +00:00
2021-11-26 11:58:43 +01:00
2024-01-07 19:02:52 +00:00
2023-12-20 13:20:24 +00:00
2024-03-26 18:04:01 +00:00
2023-12-20 13:20:10 +00:00
2021-09-03 09:50:28 +02:00
2024-02-16 04:03:25 +00:00
2021-09-16 18:09:37 +03:00
2022-01-27 08:54:26 +01:00
2021-11-26 11:58:41 +01:00
2021-12-08 08:44:05 +01:00
2023-12-22 06:33:43 +00:00
2023-12-22 06:33:43 +00:00