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

From: Kirill A. Shutemov
Date: Thu Sep 12 2019 - 06:06:45 EST


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?

--
Kirill A. Shutemov