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

[kernel] Fix memory leak in kernel tegra serial driver #183

Merged

Conversation

kevinchristensen1
Copy link
Contributor

@kevinchristensen1 kevinchristensen1 commented Jan 24, 2024

Description of changes

Fixes a memory leak in kernel tegra serial driver.
This ensures the memory allocated in function tegra_dma_prep_slave_sg
is cleaned up properly. Manifested as slab unreclaimable growing unbounded
via calls to kmalloc-256

Tested on Xavier AGX custom carrier board

Ref: https://forums.developer.nvidia.com/t/serial-tegra-dma-driver-bug/258168/5

kernel/default.nix Outdated Show resolved Hide resolved
@danielfullmer danielfullmer force-pushed the kmc/fix-tegra-gpc-dma-mem-leak branch from db40afc to ba404c2 Compare January 25, 2024 19:25
@danielfullmer danielfullmer merged commit d9d1398 into anduril:master Jan 25, 2024
1 check passed
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.

4 participants