lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 18 Aug 2020 11:19:26 -0700
From:   Jesse Brandeburg <>
To:     Li RongQing <>
Cc:     <>, <>
Subject: Re: [PATCH][v3] i40e: optimise prefetch page refcount

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 <>

Powered by blists - more mailing lists