[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac9e17d1-18f8-aa63-6c52-1822c752b63f@huawei.com>
Date: Mon, 13 Jun 2022 09:48:27 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: <aarcange@...hat.com>, <willy@...radead.org>, <vbabka@...e.cz>,
<dhowells@...hat.com>, <neilb@...e.de>, <apopple@...dia.com>,
<david@...hat.com>, <surenb@...gle.com>, <peterx@...hat.com>,
<linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/7] mm/khugepaged: remove unneeded shmem_huge_enabled()
check
On 2022/6/12 4:33, Andrew Morton wrote:
> On Sat, 11 Jun 2022 16:47:25 +0800 Miaohe Lin <linmiaohe@...wei.com> wrote:
>
>> If we reach here, hugepage_vma_check() has already made sure that hugepage
>> is enabled for shmem. Remove this duplicated check.
>
> I updated this to
>
> If we reach here, hugepage_vma_check() has already made sure that hugepage
> is enabled for shmem, via its call to hugepage_vma_check(). Remove this
> duplicated check.
Do you mean "khugepaged_scan_mm_slot() has already made sure that hugepage is
enabled for shmem, via its call to hugepage_vma_check()"?
Thanks!
>
> .
>
Powered by blists - more mailing lists