From: David Hildenbrand <david@redhat.com>
To: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>,
zhiguojiang <justinjiang@vivo.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
oe-lkp@lists.linux.dev, lkp@intel.com,
opensource.kernel@vivo.com
Subject: Re: [PATCH v2] vma remove the unneeded avc bound with non-CoWed folio
Date: Mon, 26 Aug 2024 19:03:44 +0200 [thread overview]
Message-ID: <6f3020e7-f7e8-4d40-b9ce-32a02932a656@redhat.com> (raw)
In-Reply-To: <1109aeab-fd4a-4c83-a110-04d01177d72d@lucifer.local>
On 25.08.24 08:42, Lorenzo Stoakes wrote:
> On Sun, Aug 25, 2024 at 01:06:40PM GMT, zhiguojiang wrote:
>>
>>
>> 在 2024/8/25 0:26, Lorenzo Stoakes 写道:
>>> [Some people who received this message don't often get email from lorenzo.stoakes@oracle.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>>>
>>> On Fri, Aug 23, 2024 at 11:02:06PM GMT, Zhiguo Jiang wrote:
>>>> After CoWed by do_wp_page, the vma established a new mapping relationship
>>>> with the CoWed folio instead of the non-CoWed folio. However, regarding
>>>> the situation where vma->anon_vma and the non-CoWed folio's anon_vma are
>>>> not same, the avc binding relationship between them will no longer be
>>>> needed, so it is issue for the avc binding relationship still existing
>>>> between them.
>>>>
>>>> This patch will remove the avc binding relationship between vma and the
>>>> non-CoWed folio's anon_vma, which each has their own independent
>>>> anon_vma. It can also alleviates rmap overhead simultaneously.
>>>>
>>>> Signed-off-by: Zhiguo Jiang <justinjiang@vivo.com>
>>>
>>> NACK (until fixed). This is broken (see below).
>>>
>> Hi Lorenzo Stoakes,
>>
>> Thank you for your comments.
>>> I'm not seeing any numbers to back anything up here as to why we want to
>>> make changes to this incredibly sensitive code?
>> I added a debug trace log (as follows) in wp_page_copy() and observed
>> that a large number of these orphan avc-objects still exist. I believe
>> this will have a certain redundant overhead impact on anonymous folios'
>> rmap avcs, so I want to remove it, which is also the most essential
>> value of this patch.
>
> Sorry nack to that idea unless you can provide actual _data_ to demonstrate
> an overhead.
Agreed.
--
Cheers,
David / dhildenb
next prev parent reply other threads:[~2024-08-26 17:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-23 15:02 Zhiguo Jiang
2024-08-24 5:35 ` Andrew Morton
2024-08-25 4:10 ` zhiguojiang
2024-08-25 4:17 ` zhiguojiang
2024-08-24 16:26 ` Lorenzo Stoakes
2024-08-24 18:04 ` Lorenzo Stoakes
2024-08-25 5:06 ` zhiguojiang
2024-08-25 6:39 ` Lorenzo Stoakes
2024-08-25 18:13 ` Mika Penttilä
2024-08-26 2:56 ` zhiguojiang
2024-08-26 4:30 ` Mika Penttilä
2024-08-25 6:42 ` Lorenzo Stoakes
2024-08-25 7:08 ` zhiguojiang
2024-08-26 17:03 ` David Hildenbrand [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-23 14:01 Zhiguo Jiang
2024-08-26 17:24 ` David Hildenbrand
2024-08-27 1:50 ` zhiguojiang
2024-08-27 17:35 ` David Hildenbrand
2024-08-28 1:14 ` zhiguojiang
2024-08-28 3:51 ` Mika Penttilä
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6f3020e7-f7e8-4d40-b9ce-32a02932a656@redhat.com \
--to=david@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=justinjiang@vivo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=lorenzo.stoakes@oracle.com \
--cc=oe-lkp@lists.linux.dev \
--cc=opensource.kernel@vivo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox