Willy Tarreau
c955659906
BUG/MINOR: init: set process' affinity even in foreground
...
The per-process CPU affinity settings are only applied during forking,
which means that cpu-map are ignored when running in foreground (e.g.
haproxy started with -db). This is historic due to the original semantics
of a process array, but isn't documented and causes surprises when trying
to debug affinity settings.
Let's make sure the setting is applied to the workers themselves even
in foreground. This may be backported to 2.6 though it is really not
important. If backported, it also depends on previous commit:
BUG/MINOR: cpuset: remove the bogus "proc" from the cpu_map struct
2023-07-20 11:01:09 +02:00
..
2023-07-03 16:32:01 +02:00
2023-05-03 17:26:11 +02:00
2023-05-23 15:52:35 +02:00
2022-11-22 16:27:52 +01:00
2022-11-24 15:24:02 +01:00
2023-04-28 16:08:08 +02:00
2023-05-09 11:53:28 +02:00
2023-04-27 18:14:57 +02:00
2022-06-23 11:49:09 +02:00
2023-04-23 09:46:15 +02:00
2023-07-20 11:01:09 +02:00
2023-05-11 15:37:04 +02:00
2023-03-31 17:09:03 +02:00
2023-06-29 14:11:46 +02:00
2023-06-06 15:15:17 +02:00
2023-07-20 11:01:09 +02:00
2023-04-17 17:41:28 +02:00
2023-05-17 14:57:10 +02:00
2022-08-17 10:45:22 +02:00
2023-05-14 18:42:31 +02:00
2023-05-17 09:33:54 +02:00
2023-06-30 16:12:36 +02:00
2023-07-03 16:32:01 +02:00
2023-07-20 11:01:09 +02:00
2023-07-02 11:01:37 +02:00
2023-05-05 15:44:23 +02:00
2023-05-12 09:45:30 +02:00
2022-09-21 09:06:28 +02:00
2022-09-21 09:06:28 +02:00
2022-09-21 09:06:28 +02:00
2022-09-09 11:15:22 +02:00
2022-07-15 20:16:30 +02:00
2023-05-05 16:28:32 +02:00
2022-10-12 21:49:30 +02:00
2023-05-17 09:42:37 +02:00
2022-12-09 12:23:14 +01:00
2023-04-13 18:04:46 +02:00
2023-06-20 13:34:46 +02:00
2023-04-17 17:41:28 +02:00
2023-05-25 11:25:31 +02:00
2023-06-05 08:24:34 +02:00
2023-04-27 18:22:34 +02:00
2022-12-14 10:44:17 +01:00
2023-04-07 18:14:28 +02:00
2023-07-20 09:51:00 +02:00
2023-02-14 08:48:54 +01:00
2022-12-14 11:34:18 +01:00
2022-05-30 09:59:26 +02:00
2023-05-30 15:45:55 +02:00
2023-07-20 11:01:09 +02:00
2022-11-14 11:14:02 +01:00
2023-07-17 07:42:52 +02:00
2023-07-20 10:55:28 +02:00
2023-02-14 08:48:54 +01:00
2023-01-26 11:36:39 +01:00
2023-05-30 15:45:55 +02:00
2023-05-11 15:37:04 +02:00
2023-07-04 22:15:00 +02:00
2023-05-11 21:25:37 +02:00
2023-04-01 18:33:40 +02:00
2023-07-06 15:41:17 +02:00
2023-07-03 16:32:01 +02:00
2023-01-27 15:18:59 +01:00
2023-05-11 15:37:04 +02:00
2023-07-17 11:14:10 +02:00
2023-02-03 13:39:18 +01:00
2023-03-08 10:43:04 +01:00
2023-05-11 13:51:31 +02:00
2023-07-10 18:28:08 +02:00
2023-05-05 16:28:32 +02:00
2023-04-14 15:01:21 +02:00
2023-05-11 09:22:46 +02:00
2023-05-11 15:37:04 +02:00
2023-06-27 16:08:13 +02:00
2023-05-31 10:45:30 +02:00
2023-04-23 00:28:25 +02:00
2023-05-30 15:45:55 +02:00
2023-04-28 16:08:08 +02:00
2023-06-21 09:44:18 +02:00
2023-06-14 11:27:29 +02:00
2023-05-12 09:45:30 +02:00
2023-03-22 17:30:28 +01:00
2023-07-03 16:32:01 +02:00
2023-05-05 15:44:23 +02:00
2023-03-22 18:05:02 +01:00
2023-04-23 09:46:15 +02:00
2023-04-21 17:41:26 +02:00
2023-04-23 09:46:15 +02:00
2023-04-23 09:46:15 +02:00
2023-02-23 15:05:05 +01:00
2023-04-21 17:41:26 +02:00
2023-04-23 09:46:15 +02:00
2023-06-06 15:15:17 +02:00
2023-05-12 15:50:30 +02:00
2023-03-22 16:08:54 +01:00
2023-05-09 18:42:34 +02:00
2022-05-30 14:30:05 +02:00
2022-11-24 15:38:26 +01:00
2023-04-28 16:08:08 +02:00
2023-04-13 19:20:08 +02:00
2023-04-13 19:20:08 +02:00
2023-04-02 13:10:13 +02:00
2022-10-03 16:25:17 +02:00
2023-07-19 08:58:55 +02:00
2023-05-09 10:48:40 +02:00
2023-06-30 16:20:55 +02:00
2023-05-24 16:30:11 +02:00
2023-05-26 17:17:00 +02:00
2023-05-12 16:26:20 +02:00
2023-07-12 14:33:03 +02:00
2023-05-10 13:26:37 +02:00
2023-04-28 16:53:44 +02:00
2022-09-01 19:34:46 +02:00
2023-05-17 16:48:33 +02:00
2023-04-14 15:01:21 +02:00
2023-07-17 11:14:10 +02:00
2023-04-28 16:08:08 +02:00
2023-07-10 18:28:08 +02:00
2023-06-12 16:35:57 +02:00
2022-09-09 11:15:22 +02:00
2023-07-11 10:26:09 +02:00
2023-06-30 16:12:36 +02:00
2023-04-23 09:46:15 +02:00
2023-04-21 17:41:26 +02:00
2023-04-23 09:46:15 +02:00
2023-04-14 15:01:21 +02:00
2023-05-05 00:05:46 +02:00
2023-03-31 09:10:36 +02:00
2023-07-17 15:45:41 +02:00
2023-06-29 14:11:46 +02:00
2023-05-15 12:07:52 +02:00
2023-06-02 08:29:25 +02:00
2023-05-23 15:52:35 +02:00
2023-04-14 15:01:21 +02:00
2023-06-02 16:33:40 +02:00
2023-04-18 16:20:47 +02:00
2023-04-14 14:04:59 +02:00
2023-05-17 09:21:01 +02:00
2023-07-03 16:32:01 +02:00
2023-05-07 07:07:44 +02:00
2023-07-20 11:01:09 +02:00
2023-07-11 20:58:28 +02:00
2023-07-10 18:28:08 +02:00
2022-11-14 11:14:02 +01:00
2023-02-17 16:01:34 +01:00
2022-06-23 11:49:09 +02:00
2023-04-26 17:50:16 +02:00