Files
twx-linux/include/linux
Peter Zijlstra 3c6cc62ce1 locking: Introduce __cleanup() based infrastructure
commit 54da6a0924 upstream.

Use __attribute__((__cleanup__(func))) to build:

 - simple auto-release pointers using __free()

 - 'classes' with constructor and destructor semantics for
   scope-based resource management.

 - lock guards based on the above classes.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20230612093537.614161713%40infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 09:12:51 +01:00
..
2023-07-19 16:21:11 +02:00
2024-02-23 09:12:48 +01:00
2024-02-23 09:12:51 +01:00
2023-12-20 17:00:20 +01:00
2024-01-10 17:10:30 +01:00
2023-10-10 22:00:35 +02:00
2023-05-30 14:03:22 +01:00
2023-11-20 11:51:55 +01:00
2023-11-20 11:51:50 +01:00
2024-01-25 15:27:20 -08:00
2024-02-05 20:12:55 +00:00
2023-11-28 17:07:03 +00:00
2023-10-19 23:08:50 +02:00
2023-10-19 23:08:50 +02:00
2023-07-19 16:21:54 +02:00
2024-01-31 16:17:04 -08:00
2023-12-13 18:39:08 +01:00
2023-08-16 18:27:20 +02:00