hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8ZTLZ
--------------------------------
pipe_inode_info is a structure widely used in the kernel and occupies 168 bytes. In the three cache lines, three KABI slots can be reserved for future expansion.
Signed-off-by: ZhaoLong Wang wangzhaolong1@huawei.com --- include/linux/pipe_fs_i.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h index 608a9eb86bff..aeab8044717c 100644 --- a/include/linux/pipe_fs_i.h +++ b/include/linux/pipe_fs_i.h @@ -2,6 +2,8 @@ #ifndef _LINUX_PIPE_FS_I_H #define _LINUX_PIPE_FS_I_H
+#include <linux/kabi.h> + #define PIPE_DEF_BUFFERS 16
#define PIPE_BUF_FLAG_LRU 0x01 /* page is on the LRU */ @@ -80,6 +82,9 @@ struct pipe_inode_info { #ifdef CONFIG_WATCH_QUEUE struct watch_queue *watch_queue; #endif + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) };
/*