Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2036995 MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/326 Upstream Status: RHEL only The mem_cgroup structure is allocated dynamically, self-contained and is not embedded in other data structures. Third-party kernel modules are not supposed to access mem_cgroup structure directly. To support new features, mem_cgroup structure often changes quite a lot over time. However, a number of other important data structures like the task_struct contain pointers to mem_cgroup. So any change to mem_cgroup can affect the kABI signatures of the other data structures leading to kABI breakage. Instead of carefully messaging the mem_cgroup structure every time when change is needed in order not to break kABI signature, it is more efficient to just decouple changes to mem_cgroup from affecting kABI signatures of other data structures by using the RH_KABI_EXCLUDE() macro to exclude mem_cgroup pointers from being included in the computation of kABI signature. This macro is applied to mem_cgroup pointers in the task_struct, bpf_map, fsnotify_group and sock data structures. Signed-off-by: Waiman Long <longman@redhat.com> |
||
---|---|---|
Documentation | ||
LICENSES | ||
arch | ||
block | ||
certs | ||
crypto | ||
drivers | ||
fs | ||
include | ||
init | ||
ipc | ||
kernel | ||
lib | ||
mm | ||
net | ||
redhat | ||
samples | ||
scripts | ||
security | ||
sound | ||
tools | ||
usr | ||
virt | ||
.clang-format | ||
.cocciconfig | ||
.get_maintainer.conf | ||
.get_maintainer.ignore | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
.mailmap | ||
COPYING | ||
CREDITS | ||
Kbuild | ||
Kconfig | ||
Kconfig.redhat | ||
MAINTAINERS | ||
Makefile | ||
Makefile.rhelver | ||
README | ||
makefile |
README
Linux kernel ============ There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first. In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. The formatted documentation can also be read online at: https://www.kernel.org/doc/html/latest/ There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation. Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.