Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix possible memory leak at 6.5+ #204

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Conversation

bbaa-bbaa
Copy link
Contributor

@bbaa-bbaa bbaa-bbaa commented Oct 2, 2024

Porting the missing section on 0b62af2

May fix: #137
May fix: #175

@Nightmare41241
Copy link

Excuse me but how to use it.

@bbaa-bbaa
Copy link
Contributor Author

Excuse me but how to use it.

You can refer to README.md, but please replace all git clone with my branch git clone https://github.com/bbaa-bbaa/i915-sriov-dkms.

@Nightmare41241
Copy link

螢幕快照 2024-10-03 01-25-24
螢幕快照 2024-10-03 01-24-32
it still not work

@Nightmare41241
Copy link

i not using any high ram usage application

@bbaa-bbaa
Copy link
Contributor Author

bbaa-bbaa commented Oct 2, 2024

i not using any high ram usage application

Which kernel version/OS are you using?

@vit0sd
Copy link

vit0sd commented Oct 2, 2024

No leak in arch 6.11.1 after replacing drivers/gpu/drm/i915/gem/i915_gem_shmem.c by i915_gem_shmem.c from 6.11.1-arch1-1

@bbaa-bbaa
Copy link
Contributor Author

No leak in arch 6.11.1 after replacing drivers/gpu/drm/i915/gem/i915_gem_shmem.c by i915_gem_shmem.c from 6.11.1-arch1-1

Thanks, I will keep only the fix of i915_gem_shmem.c in this PR.

@strongtz
Copy link
Owner

strongtz commented Oct 4, 2024

Merged, thanks!

@strongtz strongtz merged commit e26ce89 into strongtz:master Oct 4, 2024
@Nightmare41241
Copy link

i not using any high ram usage application

Which kernel version/OS are you using?

sorry for late reply, i am using 6.6 xanmod v3. idk may the problem of xanmod?

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.

Larger memory usage with SRIOV Kernel dynamic memory is not released again
4 participants