Re: [PATCH v2 02/24] netmem: Add utility functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 05/01/2023 22.46, Matthew Wilcox (Oracle) wrote:
netmem_page() is defined this way to preserve constness.  page_netmem()
doesn't call compound_head() because netmem users always use the head
page; it does include a debugging assert to check that it's true.

Signed-off-by: Matthew Wilcox (Oracle)<willy@xxxxxxxxxxxxx>
---
  include/net/page_pool.h | 59 +++++++++++++++++++++++++++++++++++++++++
  1 file changed, 59 insertions(+)

Acked-by: Jesper Dangaard Brouer <brouer@xxxxxxxxxx>





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux