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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Thanks,
Yes, but actually what I need is the "source code" of this kind of software
that's why I started to look at Linux, as it is a real-life example and open source.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.