Hi,
Thanks for your patches.
On 2021/8/20 10:56, Zhou Guanghui wrote:
From: Wang Wensheng wangwensheng4@huawei.com
We provide a char device and the user could use ioctl in userspace to access the method supported by kernel.
Signed-off-by: Wang Wensheng wangwensheng4@huawei.com
include/uapi/linux/xshmem_framework.h | 33 +++ lib/Kconfig | 7 + lib/Makefile | 1 + lib/xshmem/Makefile | 1 + lib/xshmem/xshmem_framework.c | 514 ++++++++++++++++++++++++++++++++++ lib/xshmem/xshmem_framework.h | 46 +++ 6 files changed, 602 insertions(+) create mode 100644 include/uapi/linux/xshmem_framework.h create mode 100644 lib/xshmem/Makefile create mode 100644 lib/xshmem/xshmem_framework.c create mode 100644 lib/xshmem/xshmem_framework.h
diff --git a/include/uapi/linux/xshmem_framework.h b/include/uapi/linux/xshmem_framework.h new file mode 100644 index 0000000..caf782b --- /dev/null +++ b/include/uapi/linux/xshmem_framework.h @@ -0,0 +1,33 @@ +/*
- Copyright (C) Huawei Technologies Co., Ltd. 2021. All rights reserved.
- Author: Huawei OS Kernel Lab
- Create: Thu Jun 17 03:19:19 2021
- */
The license statement is incorrect. openEuler kernel use GPL v2 license the same as upstream. We only apply patches with GPL v2 license.
You should confirm your patch license and with the correct license statement.
-- Thanks, Xie XiuQi
+};
+int xshmem_register_algo(struct xshm_pool_algo *algo);
+#endif