Thread (19 messages) 19 messages, 7 authors, 2024-01-11

Re: [PATCH net-next v3 2/3] net: introduce abstraction for network memory

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-01-11 01:35:25
Also in: kvm, lkml, virtualization

On Wed, 10 Jan 2024 09:50:08 -0800 Shakeel Butt wrote:
On Thu, Jan 4, 2024 at 1:44 PM Jakub Kicinski [off-list ref] wrote:
quoted
You seem to be trying hard to make struct netmem a thing.
Perhaps you have a reason I'm not getting?  
Mina already went with your suggestion and that is fine. To me, struct
netmem is more aesthetically aligned with the existing struct
encoded_page approach, but I don't have a strong opinion one way or
the other. However it seems like you have a stronger preference for
__bitwise approach. Is there a technical reason or just aesthetic?
Yes, right above the text you quoted:

  The __bitwise annotation will make catching people trying
  to cast to struct page * trivial.

https://lore.kernel.org/all/20240104134424.399fee0a@kernel.org/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help