Re: [PATCH v2 4/4] mm: lock slub page when listing objects

From: Yu Zhao
Date: Thu Sep 12 2019 - 17:12:34 EST


On Thu, Sep 12, 2019 at 01:06:42PM +0300, Kirill A. Shutemov wrote:
> On Wed, Sep 11, 2019 at 08:31:11PM -0600, Yu Zhao wrote:
> > Though I have no idea what the side effect of such race would be,
> > apparently we want to prevent the free list from being changed
> > while debugging the objects.
>
> Codewise looks good to me. But commit message can be better.
>
> Can we repharase it to indicate that slab_lock is required to protect
> page->objects?

Will do.