Netdev Archive on
help / color / mirror / Atom feed
From: Jesse Brandeburg <>
To: Li RongQing <>
Cc: <>, <>
Subject: Re: [PATCH][v3] i40e: optimise prefetch page refcount
Date: Tue, 18 Aug 2020 11:19:26 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, 18 Aug 2020 15:07:57 +0800
Li RongQing <> wrote:

> refcount of rx_buffer page will be added here originally, so prefetchw
> is needed, but after commit 1793668c3b8c ("i40e/i40evf: Update code to
>  better handle incrementing page count"), and refcount is not added
> everytime, so change prefetchw as prefetch,
> now it mainly services page_address(), but which accesses struct page
> otherwise it returns address based on offset, so we prefetch it
> conditionally
> Jakub suggested to define prefetch_page_address in a common header
> Reported-by: kernel test robot <>
> Suggested-by: Jakub Kicinski <>
> Signed-off-by: Li RongQing <>

This change looks fine to me, hopefully the more heavyweight
prefetch instruction doesn't impact performance. Were you able to test
any performance?

Reviewed-by: Jesse Brandeburg <>

  reply	other threads:[~2020-08-18 18:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18  7:07 Li RongQing
2020-08-18 18:19 ` Jesse Brandeburg [this message]
2020-09-04 23:45 ` Brown, Aaron F

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH][v3] i40e: optimise prefetch page refcount' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).