Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
For my research, I need a very simple driver, maybe even not a very realistic one, in which we have to deal with concurrency issues. The final aim is to analyze this code running on ARM platform.
First I chose the Linux USB driver as I thought we can have concurrency, because several devices can connect to the system with multiple requests running, but it turns out that the code of USB is quit complicated for my purpose.
I was wondering if anyone can suggest me a simple driver?
It can be any arbitrary driver, even not for Linux, just what I need is that it must be simple and we have concurrency inside it.
Concurrency is dependent on hardware limitations for the CPU and available RAM. I would suggest looking at TCP since concurrent operations are a must. Simple concurrent operations for the TCP stack would be a good place to start. Out of the box, 65536 is the default so this will not be that simple!
Operations are handled by the concurrent interrupt scheduler for the stack operations.
We exactly need a software with both interrupts and threads, like what you mentioned in your link as well, but finally I need to work on its ARM code.
Do you mean the whole implementation of TCP/IP of linux? If I can work on a simple part of it, then it will be fine too. I was wondering if you could suggest me a small part of its implementation that is simple to work on.