summaryrefslogtreecommitdiff
path: root/samples/bpf/test_current_task_under_cgroup_user.c
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2020-09-16 17:33:45 +0800
committerDavid S. Miller <davem@davemloft.net>2020-09-17 16:14:28 -0700
commitaeda9bf87a4573906d6dff5fcf7a3df0f41529da (patch)
treefc9bef1ec1cb13dea65a97593b2d55b13f5aa012 /samples/bpf/test_current_task_under_cgroup_user.c
parentb948577b984a01d24d401d2264efbccc7f0146c1 (diff)
net: hns3: batch the page reference count updates
Batch the page reference count updates instead of doing them one at a time. By doing this we can improve the overall receive performance by avoid some atomic increment operations when the rx page is reused. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/test_current_task_under_cgroup_user.c')
0 files changed, 0 insertions, 0 deletions