Files
linux/include/linux
Li RongQing 1fa5cef283 i40e: optimise prefetch page refcount
refcount of rx_buffer page will be added here originally, so prefetchw
is needed, but after commit 1793668c3b ("i40e/i40evf: Update code to
better handle incrementing page count"), and refcount is not added
every time, so change prefetchw as prefetch.

Now it mainly services page_address(), but which accesses struct page
only when WANT_PAGE_VIRTUAL or HASHED_PAGE_VIRTUAL is defined 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 <lkp@intel.com>
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2020-09-14 09:45:34 -07:00
..
2020-08-24 18:01:33 -07:00
2020-07-27 14:55:22 +01:00
2020-07-21 08:24:52 -05:00
2020-08-28 21:20:33 +02:00
2020-08-25 15:37:41 -07:00
2020-07-27 14:29:23 -04:00
2020-08-14 19:56:56 -07:00
2020-07-24 17:12:41 -07:00
2020-08-04 21:02:38 -04:00
2020-08-26 12:41:56 +02:00
2020-09-04 09:25:20 -07:00
2020-07-31 18:08:59 +10:00
2020-07-23 17:34:18 +10:00
2020-08-31 12:52:33 -07:00
2020-08-19 16:09:19 -07:00
2020-08-07 11:33:24 -07:00
2020-08-01 11:28:17 +02:00