r/kernel • • 27d ago

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

1

u/Impossible-Act-5254 22d ago

Hey , I'm also looking forward to learn linux kernel development, could you please advice me from where to start ? Like steps and resources??