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 10:33:08 +02:00
2020-08-12 10:57:59 -07:00
2020-09-11 17:30:43 -07:00
2020-08-12 10:57:59 -07:00
2020-08-07 12:58:11 -07:00
2020-08-27 06:55:50 -07:00
2020-08-15 08:09:38 -07:00
2020-09-09 11:21:19 -07:00
2020-08-27 06:55:50 -07:00
2020-08-15 08:18:22 -07:00
2020-08-24 18:01:33 -07:00
2020-08-17 09:39:18 -07:00
2020-08-16 22:00:22 +01:00
2020-08-15 08:26:55 -07:00
2020-08-12 10:57:59 -07:00
2020-08-10 12:16:51 -07:00
2020-08-25 15:00:04 -07:00
2020-08-25 15:00:04 -07:00
2020-08-25 15:00:04 -07:00
2020-08-24 14:35:00 -07:00
2020-08-28 21:20:33 +02:00
2020-08-25 15:37:41 -07:00
2020-08-25 15:37:41 -07:00
2020-08-12 10:57:59 -07:00
2020-09-02 20:59:40 -06:00
2020-08-12 10:57:56 -07:00
2020-08-23 17:36:59 -05:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-27 12:51:25 +02:00
2020-08-20 10:57:29 -07:00
2020-08-26 12:41:53 +02:00
2020-08-12 10:58:01 -07:00
2020-08-12 10:57:59 -07:00
2020-08-14 15:22:43 -07:00
2020-08-14 16:27:00 +02:00
2020-08-14 16:27:00 +02:00
2020-08-07 12:41:36 -07:00
2020-08-07 11:33:28 -07:00
2020-08-12 10:57:59 -07:00
2020-09-04 21:28:59 -07:00
2020-08-12 10:57:57 -07:00
2020-08-28 10:57:14 -07:00
2020-08-12 10:57:59 -07:00
2020-09-01 12:06:41 +02:00
2020-08-12 10:57:57 -07:00
2020-08-14 19:56:56 -07:00
2020-08-12 10:58:02 -07:00
2020-08-13 18:41:00 -07:00
2020-08-19 14:02:49 -07:00
2020-09-03 15:17:28 -07:00
2020-08-14 19:56:57 -07:00
2020-08-14 19:56:57 -07:00
2020-08-31 13:08:10 -07:00
2020-08-26 12:41:56 +02:00
2020-08-21 11:03:38 -07:00
2020-08-23 17:36:59 -05:00
2020-08-07 11:33:28 -07:00
2020-08-28 11:21:20 -07:00
2020-08-07 18:29:15 -07:00
2020-09-04 09:25:20 -07:00
2020-08-12 10:57:59 -07:00
2020-09-02 11:31:23 -06:00
2020-08-26 12:41:53 +02:00
2020-08-11 14:30:36 -07:00
2020-08-11 14:30:36 -07:00
2020-08-07 21:27:37 -07:00
2020-08-31 12:52:33 -07:00
2020-08-14 19:56:57 -07:00
2020-08-12 10:57:56 -07:00
2020-09-11 17:41:55 -07:00
2020-08-12 10:58:02 -07:00
2020-08-14 19:56:56 -07:00
2020-08-14 19:56:56 -07:00
2020-08-30 10:56:12 -07:00
2020-08-07 11:33:26 -07:00
2020-08-26 12:41:53 +02:00
2020-08-12 10:57:56 -07:00
2020-08-24 16:16:06 -07:00
2020-09-10 13:08:46 -07:00
2020-08-13 04:16:15 +02:00
2020-08-15 08:26:55 -07:00
2020-09-05 13:09:03 -07:00
2020-08-12 10:57:56 -07:00
2020-08-07 11:33:29 -07:00
2020-08-14 19:56:56 -07:00
2020-08-12 12:09:36 -07:00
2020-08-07 18:48:15 -07:00
2020-08-31 12:52:33 -07:00
2020-08-07 11:33:26 -07:00
2020-08-17 21:50:54 +03:00
2020-08-31 12:52:33 -07:00
2020-08-12 10:57:59 -07:00
2020-09-14 09:45:34 -07:00
2020-08-19 16:09:19 -07:00
2020-08-31 20:54:57 +02:00
2020-08-26 12:41:51 +02:00
2020-08-07 11:33:24 -07:00
2020-08-23 17:36:59 -05:00
2020-09-03 18:50:48 -07:00
2020-08-21 15:16:11 -07:00
2020-08-07 11:33:25 -07:00
2020-08-07 11:33:25 -07:00
2020-08-07 11:33:25 -07:00
2020-08-10 12:06:44 -07:00
2020-08-12 10:57:56 -07:00
2020-08-14 19:56:56 -07:00
2020-08-14 19:56:56 -07:00
2020-09-10 13:15:40 -07:00
2020-08-07 17:05:01 -04:00
2020-08-12 10:57:59 -07:00
2020-09-04 09:31:54 -07:00
2020-08-07 11:33:24 -07:00
2020-08-12 10:57:59 -07:00
2020-08-09 13:58:04 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00