From: Ricardo Robaina on
gitlab.com
Merge Request:
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3070
NOTE: Truncated patchset due to missing public @redhat.com email
address on your GitLab profile at
https://gitlab.com/-/profile.
Once that is fixed, close and reopen the merge request to
retrigger sending the emails.
JIRA:
https://issues.redhat.com/browse/RHEL-32987
rh_flags is a mechanism that allows tracking usage of specific kernel
features.
The list of used features is accessible via procfs and is printed in panic
messages. It's meant to provide better customer support making possible for
support engineers to be able to see what specific features were used and steer
the support accordingly.
Ricardo Robaina (6):
add support for rh_features
add rh_features to /proc
rh_features: convert to atomic allocation
rh_features: move rh_features entry to sys/kernel
kernel: rh_features: fix reading empty feature list from /proc
rh_flags: Rename rh_features to rh_flags
include/linux/rh_flags.h | 34 ++++++++++++
kernel/Makefile | 2 +-
kernel/module/main.c | 6 ++
kernel/rh_features.c | 116 +++++++++++++++++++++++++++++++++++++++
kernel/rh_flags.c | 116 +++++++++++++++++++++++++++++++++++++++
5 files changed, 273 insertions(+), 1 deletion(-)
create mode 100644 include/linux/rh_flags.h
create mode 100644 kernel/rh_features.c
create mode 100644 kernel/rh_flags.c
Signed-off-by: Ricardo Robaina <rrobaina(a)redhat.com>