aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dio
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2016-01-15 14:33:15 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-02-17 23:11:07 -0800
commit16fd08b85962f6288fe1191856aa98cb0d40aa30 (patch)
tree1e57a1a007322eb1020d35ccc5236927f5148986 /drivers/dio
parenti40e: Removal of code which relies on BASE VEB SEID (diff)
downloadlinux-dev-16fd08b85962f6288fe1191856aa98cb0d40aa30.tar.xz
linux-dev-16fd08b85962f6288fe1191856aa98cb0d40aa30.zip
i40e/i40evf: avoid atomics
In the case where we have a page fully used by receive data, we need to release the page fully to the stack. Instead of calling get_page (which increments the page count) followed by free_page (which decrements the page count), just donate our reference to the stack. Although this donation is not tax deductible, it does allow us to avoid two very expensive atomic operations that reverse each other. Change-ID: If70739792d5748995fc175ec92ac2171ed4ad8fc Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions