Re: [PATCH net-next v7 3/6] tun: Introduce virtio-net hash feature

2025-03-03 Thread Jason Wang
On Fri, Feb 28, 2025 at 3:59 PM Akihiko Odaki wrote: > > Hash reporting > -- > > Allow the guest to reuse the hash value to make receive steering > consistent between the host and guest, and to save hash computation. > > RSS > --- > > RSS is a receive steering algorithm that can be neg

Re: [PATCH v9 00/20] fs/dax: Fix ZONE_DEVICE page reference counts

2025-03-03 Thread Andrew Morton
On Fri, 28 Feb 2025 14:42:40 +1100 Alistair Popple wrote: > This is essentially the same as what's currently in mm-unstable aside from > the two updates listed below. The main thing to note is it incorporates > Balbir's fixup which is currently in mm-unstable as c98612955016 > ("mm-allow-compound

Re: [PATCH net-next v6 7/8] net: check for driver support in netmem TX

2025-03-03 Thread Mina Almasry
On Mon, Mar 3, 2025 at 4:29 PM Jakub Kicinski wrote: > > On Fri, 28 Feb 2025 17:53:24 -0800 Mina Almasry wrote: > > On Fri, Feb 28, 2025 at 4:43 PM Jakub Kicinski wrote: > > > On Thu, 27 Feb 2025 04:12:08 + Mina Almasry wrote: > > > > + if (!skb_frags_readable(skb) && !dev->netmem_tx) > >

Re: [PATCH net-next v6 7/8] net: check for driver support in netmem TX

2025-03-03 Thread Jakub Kicinski
On Fri, 28 Feb 2025 17:53:24 -0800 Mina Almasry wrote: > On Fri, Feb 28, 2025 at 4:43 PM Jakub Kicinski wrote: > > On Thu, 27 Feb 2025 04:12:08 + Mina Almasry wrote: > > > + if (!skb_frags_readable(skb) && !dev->netmem_tx) > > > > How do you know it's for _this_ device tho? > > Mayb

Re: [PATCH net-next v6 1/8] net: add get_netmem/put_netmem support

2025-03-03 Thread Jakub Kicinski
On Fri, 28 Feb 2025 17:29:13 -0800 Mina Almasry wrote: > On Fri, Feb 28, 2025 at 4:38 PM Jakub Kicinski wrote: > > On Thu, 27 Feb 2025 04:12:02 + Mina Almasry wrote: > > > static inline void __skb_frag_ref(skb_frag_t *frag) > > > { > > > - get_page(skb_frag_page(frag)); > > > + get

Re: [PATCH net-next v7 5/6] selftest: tun: Add tests for virtio-net hashing

2025-03-03 Thread Jakub Kicinski
On Mon, 3 Mar 2025 15:20:33 +0900 Akihiko Odaki wrote: > > # 5.90 [+0.00] ok 14 tun_vnet_hash.unclassified > > # 5.90 [+0.00] # RUN tun_vnet_hash.ipv4 ... > > # 6.18 [+0.28] # tun.c:669:ipv4:Expected 0 (0) != > > tun_vnet_hash_check(self->source_fd, self->dest_fds, &packet, > > sizeof(

Re: [PATCH v9 19/20] fs/dax: Properly refcount fs dax pages

2025-03-03 Thread David Hildenbrand
-static inline unsigned long dax_folio_share_put(struct folio *folio) +static inline unsigned long dax_folio_put(struct folio *folio) { - return --folio->page.share; + unsigned long ref; + int order, i; + + if (!dax_folio_is_shared(folio)) + ref = 0; +

Re: [PATCH v4 01/12] mm: introduce AS_NO_DIRECT_MAP

2025-03-03 Thread Vlastimil Babka
On 2/25/25 17:52, David Hildenbrand wrote: > On 21.02.25 17:07, Patrick Roy wrote: >> Add AS_NO_DIRECT_MAP for mappings where direct map entries of folios are >> set to not present . Currently, mappings that match this description are >> secretmem mappings (memfd_secret()). Later, some guest_memfd