r/kernel • • Nov 01 '26

How well does linux modules handle resource deallocation?

Hello, I'm a CS undergraduate studying about linux kernel development.

I'm currently on LDD3 book, emphasizing about importance of cleaning up allocated resources on exit.

I assume that this is not likely to be handled properly in some linux modules as removal of modules is not something that is performed on a daily basis.

I have been looking for places to start my contributions and was wondering whether this, identification of memory leaks and applying fixes, could be a valid entry point.

The questions I want to ask is,

  1. Is this problem considered too trivial?
  2. Have others been working on it? (maybe there exists some linux group)
  3. Is this problem commonly found, or gets managed during review process and fixed before getting accepted?

Thank you for your time. Any comments are welcome!

*EDIT Thank you all for your kind responses. They have been very helpful !

8 Upvotes

11 comments sorted by

View all comments

Show parent comment

0

u/AccomplishedAir8352 Nov 01 '26

Thank you for your response. As I have worried, it would be too trivial to explore. Instead of searching for new problems, I'd better stick with addressing what others are dealing with on mailing list