Re: [PATCH] mm, memcg: Add memory.transparent_hugepage_disabled
From: Kirill A. Shutemov
Date: Tue Mar 24 2020 - 08:18:02 EST
On Tue, Mar 24, 2020 at 06:31:56PM +0800, Hui Zhu wrote:
> /sys/kernel/mm/transparent_hugepage/enabled is the only interface to
> control if the application can use THP in system level.
No. We have prctl(PR_SET_THP_DISABLE) too.
--
Kirill A. Shutemov