[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ce625c9d-a4bb-7138-c599-62b30b65c408@loongson.cn>
Date: Fri, 5 Jun 2020 17:51:43 +0800
From: maobibo <maobibo@...ngson.cn>
To: Jiaxun Yang <jiaxun.yang@...goat.com>
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Paul Burton <paulburton@...nel.org>,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arch@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 1/2] MIPS: set page access bit with pgprot on some MIPS
platform
On 06/05/2020 05:39 PM, Jiaxun Yang wrote:
> On Fri, 5 Jun 2020 17:11:05 +0800
> Bibo Mao <maobibo@...ngson.cn> wrote:
>
>> On MIPS system which has rixi hardware bit, page access bit is not
>> set in pgrot. For memory reading, there will be one page fault to
>> allocate physical page; however valid bit is not set, there will
>> be the second fast tlb-miss fault handling to set valid/access bit.
>>
>> This patch set page access/valid bit with pgrot if there is reading
>> access privilege. It will reduce one tlb-miss handling for memory
>> reading access.
>>
>> The valid/access bit will be cleared in order to track memory
>> accessing activity. If the page is accessed, tlb-miss fast handling
>> will set valid/access bit, pte_sw_mkyoung is not necessary in slow
>> page fault path. This patch removes pte_sw_mkyoung function which
>> is defined as empty function except MIPS system.
>>
>> Signed-off-by: Bibo Mao <maobibo@...ngson.cn>
>> ---
>
> Thanks for tracking it down.
>
> Could you please make the patch tittle more clear?
> "Some" looks confuse to me, "systems with RIXI" would be better.
Sure, will add it.
>
> - Jiaxun
>
Powered by blists - more mailing lists