Zhen Lei and Frederic Weisbecker
6e284c55fc
mm: Remove kmem_valid_obj()
...
Function kmem_dump_obj() will splat if passed a pointer to a non-slab
object. So nothing calls it directly, instead calling kmem_valid_obj()
first to determine whether the passed pointer to a valid slab object. This
means that merging kmem_valid_obj() into kmem_dump_obj() will make the
code more concise. Therefore, convert kmem_dump_obj() to work the same
way as vmalloc_dump_obj(), removing the need for the kmem_dump_obj()
caller to check kmem_valid_obj(). After this, there are no remaining
calls to kmem_valid_obj() anymore, and it can be safely removed.
Suggested-by: Matthew Wilcox <willy@infradead.org >
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com >
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org >
Acked-by: Vlastimil Babka <vbabka@suse.cz >
Signed-off-by: Paul E. McKenney <paulmck@kernel.org >
Signed-off-by: Frederic Weisbecker <frederic@kernel.org >
2023-09-13 22:28:59 +02:00
..
2023-08-21 14:26:20 -07:00
2023-09-06 22:54:16 +08:00
2023-09-08 12:16:52 -07:00
2023-08-21 13:37:29 -07:00
2023-08-21 13:37:48 -07:00
2023-08-29 20:32:10 -07:00
2023-08-21 14:26:20 -07:00
2023-06-09 16:25:23 -07:00
2023-08-31 12:20:12 -07:00
2023-06-09 16:25:31 -07:00
2023-06-09 16:25:56 -07:00
2023-06-23 16:59:31 -07:00
2023-06-09 16:25:23 -07:00
2023-09-05 11:11:52 -07:00
2023-07-24 18:04:30 -04:00
2023-06-23 16:58:19 -07:00
2023-08-31 12:20:12 -07:00
2023-06-19 16:19:25 -07:00
2023-08-21 13:07:20 -07:00
2023-08-31 12:20:12 -07:00
2023-08-18 10:12:14 -07:00
2023-08-24 16:20:31 -07:00
2023-08-21 13:37:46 -07:00
2023-08-31 12:20:12 -07:00
2023-08-18 10:12:36 -07:00
2023-08-29 14:25:26 -07:00
2023-08-29 14:25:26 -07:00
2023-09-02 15:17:34 -07:00
2023-09-05 11:11:52 -07:00
2023-08-24 16:20:16 -07:00
2023-08-29 14:25:26 -07:00
2023-08-24 16:20:30 -07:00
2023-08-21 13:37:43 -07:00
2023-09-05 10:13:45 -07:00
2023-09-05 11:11:52 -07:00
2023-08-21 13:37:49 -07:00
2023-09-05 12:22:39 -07:00
2023-08-18 10:12:38 -07:00
2023-08-31 12:20:12 -07:00
2023-08-21 14:28:43 -07:00
2023-08-21 13:37:47 -07:00
2023-08-31 12:20:12 -07:00
2023-08-31 12:20:12 -07:00
2023-08-21 13:07:20 -07:00
2023-08-21 14:26:20 -07:00
2023-08-21 13:37:47 -07:00
2023-08-31 12:20:12 -07:00
2023-08-24 16:20:30 -07:00
2023-08-18 10:12:41 -07:00
2023-08-31 12:20:12 -07:00
2023-08-18 10:12:54 -07:00
2023-08-31 12:20:12 -07:00
2023-08-21 13:37:44 -07:00
2023-09-02 15:17:34 -07:00
2023-08-18 10:12:31 -07:00
2023-08-21 13:37:27 -07:00
2023-08-18 10:12:39 -07:00
2023-08-21 13:37:27 -07:00
2023-08-21 13:37:30 -07:00
2023-08-24 16:20:18 -07:00
2023-08-18 10:12:13 -07:00
2023-08-21 14:52:16 +02:00
2023-09-02 08:39:21 -07:00
2023-06-19 16:19:29 -07:00
2023-08-25 08:04:59 -07:00
2023-08-18 10:12:25 -07:00
2023-06-09 16:25:25 -07:00
2023-06-19 16:19:24 -07:00
2023-07-24 18:04:30 -04:00
2023-08-24 16:20:28 -07:00
2023-08-21 13:38:02 -07:00
2023-08-09 09:15:40 +02:00
2023-08-29 14:25:26 -07:00
2023-08-21 13:38:01 -07:00
2023-06-19 13:19:34 -07:00
2023-09-13 22:28:59 +02:00
2023-07-18 10:07:47 +02:00
2023-07-18 10:07:47 +02:00
2023-07-14 09:57:21 +02:00
2023-08-18 10:12:53 -07:00
2023-08-18 10:12:14 -07:00
2023-08-24 16:20:28 -07:00
2023-06-23 16:59:30 -07:00
2023-08-24 16:20:16 -07:00
2023-08-24 16:20:28 -07:00
2023-08-29 14:25:26 -07:00
2023-08-31 12:20:12 -07:00
2023-09-13 22:28:59 +02:00
2023-09-05 10:13:45 -07:00
2023-08-16 12:21:32 +01:00
2023-08-24 16:20:28 -07:00
2023-08-21 13:37:30 -07:00
2023-08-24 16:20:18 -07:00
2023-08-21 13:37:51 -07:00
2023-06-19 16:19:27 -07:00
2023-06-19 16:19:27 -07:00
2023-08-21 14:26:20 -07:00
2023-08-24 16:20:28 -07:00