Re: [PATCH v4 1/2] mm: slub: Print the broken data before restoring slub.
From: Harry Yoo
Date: Thu Feb 27 2025 - 07:40:30 EST
On Thu, Feb 27, 2025 at 08:51:19PM +0900, Harry Yoo wrote:
> On Wed, Feb 26, 2025 at 05:12:00PM +0900, Hyesoo Yu wrote:
> > @@ -1396,11 +1397,6 @@ static int check_object(struct kmem_cache *s, struct slab *slab,
> > ret = 0;
> > }
> >
> > - if (!ret && !slab_in_kunit_test()) {
>
> nit: check_object() was the only user of slab_in_kunit_test().
> Can we remove it altogether?
Uh, there is another user in mm/slab_common. But it is also removed
in patch 2. So can be removed in patch 2.
--
Cheers,
Harry