lkml.org 
[lkml]   [2021]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/2] refactor the ringtest testing for ptr_ring
Date
tools/include/* have a lot of abstract layer for building
kernel code from userspace, so reuse or add the abstract
layer in tools/include/ to build the ptr_ring for ringtest
testing.

The same abstract layer can be used to build the ptr_ring
for ptr_ring benchmark app too, see [1].

1. https://lkml.org/lkml/2021/7/1/275

Yunsheng Lin (2):
tools: add missing infrastructure for building ptr_ring.h
tools/virtio: use common infrastructure to build ptr_ring.h

tools/include/asm/cache.h | 56 ++++++++++++++++++++
tools/include/asm/processor.h | 36 +++++++++++++
tools/include/generated/autoconf.h | 1 +
tools/include/linux/align.h | 15 ++++++
tools/include/linux/cache.h | 87 +++++++++++++++++++++++++++++++
tools/include/linux/gfp.h | 4 ++
tools/include/linux/slab.h | 46 +++++++++++++++++
tools/include/linux/spinlock.h | 2 -
tools/virtio/ringtest/Makefile | 2 +-
tools/virtio/ringtest/main.h | 100 +++---------------------------------
tools/virtio/ringtest/ptr_ring.c | 102 ++-----------------------------------
11 files changed, 257 insertions(+), 194 deletions(-)
create mode 100644 tools/include/asm/cache.h
create mode 100644 tools/include/asm/processor.h
create mode 100644 tools/include/generated/autoconf.h
create mode 100644 tools/include/linux/align.h
create mode 100644 tools/include/linux/cache.h
create mode 100644 tools/include/linux/slab.h

--
2.7.4

\
 
 \ /
  Last update: 2021-07-05 05:59    [W:0.109 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site