[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <57fefe22-440e-4ce1-2e34-5494f2cce893@arm.com>
Date: Wed, 14 Jun 2023 11:41:32 +0100
From: Ryan Roberts <ryan.roberts@....com>
To: Yu Zhao <yuzhao@...gle.com>
Cc: Jonathan Corbet <corbet@....net>,
Andrew Morton <akpm@...ux-foundation.org>,
"Matthew Wilcox (Oracle)" <willy@...radead.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-fsdevel@...r.kernel.org, linux-doc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v1 0/2] Report on physically contiguous memory in smaps
On 13/06/2023 19:44, Yu Zhao wrote:
> On Tue, Jun 13, 2023 at 05:09:48PM +0100, Ryan Roberts wrote:
>> Hi All,
>>
>> I thought I would try my luck with this pair of patches...
>
> Ack on the idea.
>
> Actually I have a script to do just this, but it's based on pagemap (attaching the script at the end).
I did consider that approach, but it was much more code to write the script than
to modify smaps ;-). Longer term, I think it would be good to have it in smaps
because its more accessible. For the contpte case we would need to add a bit to
every pagemap entry to express that. I'm not sure how palletable that would be
for a arch-specific thing?
Thanks for the script anyway!
Powered by blists - more mailing lists