linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Shuah <shuah@kernel.org>
To: Yunsheng Lin <linyunsheng@huawei.com>,
	Matthew Wilcox <willy@infradead.org>
Cc: "Toke Høiland-Jørgensen" <toke@redhat.com>,
	"Yunsheng Lin" <yunshenglin0825@gmail.com>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	"Jesper Dangaard Brouer" <hawk@kernel.org>,
	"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
	"David S. Miller" <davem@davemloft.net>,
	"Yonglong Liu" <liuyonglong@huawei.com>,
	"Mina Almasry" <almasrymina@google.com>,
	"Eric Dumazet" <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Simon Horman" <horms@kernel.org>,
	linux-mm@kvack.org, netdev@vger.kernel.org, conduct@kernel.org
Subject: Re: [RFC PATCH net-next] page_pool: Track DMA-mapped pages and unmap them when destroying the pool
Date: Wed, 12 Mar 2025 12:35:03 -0600	[thread overview]
Message-ID: <52f4e8b1-527a-42fb-9297-2689ba7c7516@kernel.org> (raw)
In-Reply-To: <8fa8f430-5740-42e8-b720-618811fabb22@huawei.com>

On 3/12/25 06:05, Yunsheng Lin wrote:
> On 2025/3/11 23:11, Matthew Wilcox wrote:
>> On Tue, Mar 11, 2025 at 08:25:25PM +0800, Yunsheng Lin wrote:
>>>> struct page {
>>>> 	unsigned long flags;
>>>> 	unsigned long memdesc;
>>>
>>> It seems there may be memory behind the above 'memdesc' with different size
>>> and layout for different subsystem?
>>
>> Yes.
>>
>>> I am not sure if I understand the case of the same page might be handle in
>>> two subsystems concurrently or a page is allocated in one subsystem and
>>> then passed to be handled in other subsystem, for examlpe:
>>> page_pool owned page is mmap'ed into user space through tcp zero copy,
>>> see tcp_zerocopy_vm_insert_batch(), it seems the same page is handled in
>>> both networking/page_pool and vm subsystem?
>>
>> It's not that arbitrary.  I mean, you could read all the documentation
>> I've written about this concept, listen to the talks I've given.

You can't point to talk given on the concept - people don't have to go
find your talks to understand the concept. You are expected to answer
the question and explain it to us here in this thread.

But
>> sure, you're a special fucking snowflake and deserve your own unique
>> explanation.

Yunsheng Lin, This message is a rude personal attack. This isn't the
way to treat your peers in the community. Apology is warranted.

> 
> If you don't like responding to the above question/comment, I would rather
> you strip out them like the other question/comment or just ignore it:(
> 
> I am not sure how to interpret the comment, but I am sure it is not a kind
> one, so CC 'Code of Conduct Committee' in case there is more coming.
> 

Thank you Mathew for letting us know about this.

thanks,
-- Shuah ((on behalf of the CoC committee)



  reply	other threads:[~2025-03-12 18:35 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-08 14:54 Toke Høiland-Jørgensen
2025-03-08 19:22 ` Mina Almasry
2025-03-09 12:42   ` Toke Høiland-Jørgensen
2025-03-11 13:25     ` Pavel Begunkov
2025-03-11 13:44       ` Toke Høiland-Jørgensen
2025-03-11 13:56         ` Pavel Begunkov
2025-03-11 15:49           ` Toke Høiland-Jørgensen
2025-03-11 16:46         ` Matthew Wilcox
2025-03-12 10:56           ` Toke Høiland-Jørgensen
2025-03-12 12:55           ` Pavel Begunkov
2025-03-10  7:17   ` Pavel Begunkov
2025-03-09 13:27 ` Yunsheng Lin
2025-03-10  9:13   ` Toke Høiland-Jørgensen
2025-03-10 12:35     ` Yunsheng Lin
2025-03-10 15:24       ` Toke Høiland-Jørgensen
2025-03-11 12:19         ` Yunsheng Lin
2025-03-11 13:26           ` Toke Høiland-Jørgensen
2025-03-12 12:04             ` Yunsheng Lin
2025-03-12 12:27               ` Toke Høiland-Jørgensen
2025-03-12 12:53                 ` Pavel Begunkov
2025-03-10 15:42     ` Matthew Wilcox
2025-03-10 17:26       ` Toke Høiland-Jørgensen
2025-03-11 15:03         ` Matthew Wilcox
2025-03-11 15:32           ` Toke Høiland-Jørgensen
2025-03-11 12:25       ` Yunsheng Lin
2025-03-11 15:11         ` Matthew Wilcox
2025-03-12 12:05           ` Yunsheng Lin
2025-03-12 18:35             ` Shuah [this message]
2025-03-12 18:48               ` shuah
2025-03-12 18:56                 ` Matthew Wilcox
2025-03-12 22:25                   ` Shuah Khan
2025-03-14 18:09                 ` Matthew Wilcox

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=52f4e8b1-527a-42fb-9297-2689ba7c7516@kernel.org \
    --to=shuah@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=almasrymina@google.com \
    --cc=conduct@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=hawk@kernel.org \
    --cc=horms@kernel.org \
    --cc=ilias.apalodimas@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linyunsheng@huawei.com \
    --cc=liuyonglong@huawei.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=toke@redhat.com \
    --cc=willy@infradead.org \
    --cc=yunshenglin0825@gmail.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