Peter Zijlstra
c042c50521
futex: Implement FUTEX2_MPOL
...
Extend the futex2 interface to be aware of mempolicy.
When FUTEX2_MPOL is specified and there is a MPOL_PREFERRED or
home_node specified covering the futex address, use that hash-map.
Notably, in this case the futex will go to the global node hashtable,
even if it is a PRIVATE futex.
When FUTEX2_NUMA|FUTEX2_MPOL is specified and the user specified node
value is FUTEX_NO_NODE, the MPOL lookup (as described above) will be
tried first before reverting to setting node to the local node.
[bigeasy: add CONFIG_FUTEX_MPOL, add MPOL to FUTEX2_VALID_MASK, write
the node only to user if FUTEX_NO_NODE was supplied]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org >
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de >
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org >
Link: https://lore.kernel.org/r/20250416162921.513656-18-bigeasy@linutronix.de
2025-05-03 12:02:09 +02:00
..
2025-04-25 09:21:23 -07:00
2025-04-17 07:32:53 -10:00
2025-04-01 09:29:18 -07:00
2025-04-02 18:17:33 -07:00
2025-04-22 17:44:09 +02:00
2025-03-24 21:18:05 -07:00
2025-04-23 09:39:06 +02:00
2025-05-03 12:02:09 +02:00
2025-01-24 22:47:27 -08:00
2025-04-04 17:08:36 +02:00
2025-04-05 10:30:12 +02:00
2025-03-30 15:44:36 -07:00
2025-04-01 10:06:52 -07:00
2025-03-31 13:37:22 -07:00
2025-03-29 10:01:55 -07:00
2025-03-27 19:22:24 -07:00
2025-04-05 10:30:12 +02:00
2025-04-26 09:23:20 -07:00
2025-04-09 22:30:39 +02:00
2025-04-17 22:16:56 -04:00
2025-02-12 12:24:16 +01:00
2025-04-15 11:32:34 +02:00
2025-01-29 20:02:04 -05:00
2024-10-11 14:34:16 -04:00
2024-12-05 19:22:38 -05:00
2025-03-18 15:34:27 +01:00
2024-06-24 22:24:55 -07:00
2025-03-07 22:03:09 -06:00
2025-03-30 15:44:36 -07:00
2025-03-04 18:44:29 -08:00
2025-03-25 14:47:04 -07:00
2025-02-10 16:56:58 -08:00
2025-03-16 22:30:47 -07:00
2024-12-02 11:25:09 +01:00
2025-01-28 13:48:37 +01:00
2025-03-25 15:56:22 +01:00
2025-05-03 12:02:08 +02:00
2024-10-14 09:14:35 +02:00
2025-03-15 21:22:52 +09:00
2025-03-21 22:10:04 -07:00
2025-02-21 15:05:38 +01:00
2025-01-13 22:40:36 -08:00
2025-03-10 11:54:46 +01:00
2024-07-20 16:33:21 +09:00
2025-01-02 22:12:12 +01:00
2025-02-18 10:16:04 +01:00
2025-02-21 10:25:33 +01:00
2025-02-21 09:20:30 +01:00
2024-11-14 22:43:48 -08:00
2024-11-07 15:25:05 +01:00
2024-12-30 17:59:08 -08:00
2025-04-01 10:06:52 -07:00
2025-03-16 22:30:47 -07:00
2025-03-16 22:30:47 -07:00
2024-09-01 20:43:23 -07:00
2024-12-24 09:46:49 +01:00
2025-03-10 11:54:46 +01:00
2025-01-07 16:59:15 +01:00
2025-04-05 10:30:12 +02:00
2025-01-28 13:48:37 +01:00
2025-03-22 09:49:26 +01:00
2024-11-05 17:12:31 -08:00
2024-11-03 01:28:06 -05:00
2025-02-24 16:37:23 -05:00
2025-04-02 10:30:10 -07:00
2025-03-10 11:54:46 +01:00
2025-03-06 10:18:36 +01:00
2025-01-28 13:48:37 +01:00
2025-03-24 13:39:27 -07:00
2024-08-04 13:36:28 -07:00
2025-04-01 10:06:52 -07:00
2025-03-21 22:10:05 -07:00
2024-10-09 12:47:19 -07:00
2025-03-21 22:10:05 -07:00
2025-03-06 22:26:49 +01:00
2024-11-14 16:09:51 -08:00
2025-02-24 11:17:10 -08:00
2025-04-02 16:05:21 -07:00
2025-01-28 11:34:03 -08:00
2025-03-25 10:46:44 +01:00
2025-01-28 13:48:37 +01:00
2025-03-30 15:44:36 -07:00
2025-03-11 10:15:52 -07:00
2024-07-18 12:19:20 -07:00
2025-05-03 12:02:07 +02:00
2025-01-28 13:48:37 +01:00
2025-03-29 11:59:43 -07:00
2025-01-13 22:40:36 -08:00
2024-11-03 01:28:06 -05:00
2025-02-05 07:14:24 -08:00
2025-03-21 15:30:10 -04:00
2024-07-12 16:39:53 -07:00
2025-03-16 22:30:50 -07:00
2025-01-28 13:48:37 +01:00
2025-02-12 12:12:27 +01:00
2024-09-12 12:16:09 +02:00
2025-01-28 13:48:37 +01:00
2025-04-18 10:08:11 -04:00
2024-09-03 21:15:43 -07:00
2025-03-24 09:52:37 -07:00
2025-04-01 10:06:52 -07:00
2025-03-25 10:54:15 -07:00
2025-04-05 10:30:12 +02:00