Skip to content

fix: adapt dmem_cgroup_register_region for Linux 7.3 - #1330

Open
hotline1337 wants to merge 1 commit into
NVIDIA:mainfrom
hotline1337:linux-7.3-rc1
Open

fix: adapt dmem_cgroup_register_region for Linux 7.3#1330
hotline1337 wants to merge 1 commit into
NVIDIA:mainfrom
hotline1337:linux-7.3-rc1

Conversation

@hotline1337

Copy link
Copy Markdown

Linux 7.3 updated dmem_cgroup_register_region() to accept a pointer to struct dmem_cgroup_init instead of a raw size argument.

Add a version check to support both < 7.3 and >= 7.3 kernels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant