Vlastimil Babka
41bec7c33f
mm/slub: remove slab_lock() usage for debug operations
...
All alloc and free operations on debug caches are now serialized by
n->list_lock, so we can remove slab_lock() usage in validate_slab()
and list_slab_objects() as those also happen under n->list_lock.
Note the usage in list_slab_objects() could happen even on non-debug
caches, but only during cache shutdown time, so there should not be any
parallel freeing activity anymore. Except for buggy slab users, but in
that case the slab_lock() would not help against the common cmpxchg
based fast paths (in non-debug caches) anyway.
Also adjust documentation comments accordingly.
Suggested-by: Hyeonggon Yoo <42.hyeyoo@gmail.com >
Signed-off-by: Vlastimil Babka <vbabka@suse.cz >
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com >
Acked-by: David Rientjes <rientjes@google.com >
2022-09-17 00:18:29 +02:00
..
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-06-16 10:55:57 +02:00
2022-08-02 12:34:03 -04:00
2022-07-29 18:07:16 -07:00
2022-05-13 15:11:26 -07:00
2022-03-22 15:57:09 -07:00
2022-08-05 16:32:45 -07:00
2022-06-27 12:52:53 -07:00
2022-03-24 19:06:45 -07:00
2022-03-22 15:57:11 -07:00
2022-04-26 13:36:25 -07:00
2022-05-19 14:08:55 -07:00
2022-08-05 16:32:45 -07:00
2022-08-02 12:34:04 -04:00
2022-06-27 12:52:53 -07:00
2022-07-17 17:14:27 -07:00
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-07-29 11:33:37 -07:00
2022-08-05 16:32:45 -07:00
2022-07-29 18:07:17 -07:00
2022-08-08 18:06:43 -07:00
2022-08-08 18:06:43 -07:00
2022-08-08 18:06:44 -07:00
2022-06-16 19:11:32 -07:00
2022-02-14 19:51:47 +01:00
2022-08-05 16:32:45 -07:00
2022-06-27 12:22:31 +01:00
2022-08-10 11:07:26 -07:00
2022-05-27 11:40:49 -07:00
2022-07-17 17:14:33 -07:00
2022-06-16 19:48:32 -07:00
2022-08-05 16:32:45 -07:00
2022-06-16 19:48:31 -07:00
2022-03-23 18:03:08 -07:00
2022-07-17 17:14:28 -07:00
2022-07-03 18:08:40 -07:00
2022-08-09 09:48:30 -07:00
2022-07-29 18:07:18 -07:00
2022-03-05 11:08:32 -08:00
2022-07-29 18:07:20 -07:00
2022-08-08 18:06:44 -07:00
2022-08-05 16:32:45 -07:00
2022-07-29 18:07:16 -07:00
2022-06-16 19:48:30 -07:00
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-05-13 07:20:09 -07:00
2022-07-17 17:14:28 -07:00
2022-07-29 18:07:18 -07:00
2022-04-28 23:16:12 -07:00
2022-04-21 20:01:10 -07:00
2022-03-22 17:03:12 -07:00
2022-07-29 18:07:18 -07:00
2022-05-26 12:32:41 -07:00
2022-07-17 17:14:37 -07:00
2022-06-01 15:57:16 -07:00
2022-08-05 16:32:45 -07:00
2022-04-29 14:36:58 -07:00
2022-05-19 14:08:54 -07:00
2022-05-26 12:32:41 -07:00
2022-06-16 19:11:30 -07:00
2022-05-26 12:32:41 -07:00
2022-05-27 11:29:35 -07:00
2022-07-17 17:14:47 -07:00
2022-07-24 18:39:31 -06:00
2022-05-13 07:20:18 -07:00
2022-03-08 09:30:46 -05:00
2022-07-17 17:14:47 -07:00
2022-05-13 07:20:05 -07:00
2022-03-22 15:57:08 -07:00
2022-06-23 12:22:00 -04:00
2022-08-05 16:32:45 -07:00
2022-08-03 10:35:43 -07:00
2022-08-08 20:04:35 -07:00
2022-07-29 18:07:13 -07:00
2022-07-20 13:30:12 +02:00
2022-08-05 16:32:45 -07:00
2022-07-20 13:30:12 +02:00
2022-07-20 13:30:12 +02:00
2022-09-17 00:18:29 +02:00
2022-08-08 18:06:42 -07:00
2022-07-03 18:08:49 -07:00
2022-03-08 09:30:46 -05:00
2022-07-20 10:52:40 +01:00
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-07-03 18:08:52 -07:00
2022-07-03 18:08:48 -07:00
2022-06-29 08:51:05 -04:00
2022-07-01 17:03:38 -07:00
2022-07-03 15:42:32 -07:00
2022-08-05 16:32:45 -07:00
2022-07-03 18:08:41 -07:00
2022-08-05 16:32:45 -07:00
2022-06-04 14:04:27 -07:00
2022-07-03 18:08:40 -07:00
2022-08-02 12:34:03 -04:00
2022-08-05 16:32:45 -07:00
2022-05-19 14:08:53 -07:00