Re: [PATCH v3] mm: huge_memory: a new debugfs interface for splitting THP tests.

2021-03-15 Thread Yang Shi
On Mon, Mar 15, 2021 at 11:37 AM Zi Yan wrote: > > On 15 Mar 2021, at 8:07, Kirill A. Shutemov wrote: > > > On Thu, Mar 11, 2021 at 07:57:12PM -0500, Zi Yan wrote: > >> From: Zi Yan > >> > >> We do not have a direct user interface of splitting the compound page > >> backing a THP > > > > But we

Re: [PATCH v3] mm: huge_memory: a new debugfs interface for splitting THP tests.

2021-03-15 Thread Zi Yan
On 15 Mar 2021, at 8:07, Kirill A. Shutemov wrote: > On Thu, Mar 11, 2021 at 07:57:12PM -0500, Zi Yan wrote: >> From: Zi Yan >> >> We do not have a direct user interface of splitting the compound page >> backing a THP > > But we do. You expand it. > >> and there is no need unless we want to

Re: [PATCH v3] mm: huge_memory: a new debugfs interface for splitting THP tests.

2021-03-15 Thread Kirill A. Shutemov
On Thu, Mar 11, 2021 at 07:57:12PM -0500, Zi Yan wrote: > From: Zi Yan > > We do not have a direct user interface of splitting the compound page > backing a THP But we do. You expand it. > and there is no need unless we want to expose the THP > implementation details to users. Make

[PATCH v3] mm: huge_memory: a new debugfs interface for splitting THP tests.

2021-03-11 Thread Zi Yan
From: Zi Yan We do not have a direct user interface of splitting the compound page backing a THP and there is no need unless we want to expose the THP implementation details to users. Make /split_huge_pages accept a new command to do that. By writing ",," to /split_huge_pages, THPs within the