Skip to content

Instantly share code, notes, and snippets.

@someonewithpc
Created February 2, 2020 21:54
Show Gist options
  • Save someonewithpc/42c768356429af110c8ba852d638dc80 to your computer and use it in GitHub Desktop.
Save someonewithpc/42c768356429af110c8ba852d638dc80 to your computer and use it in GitHub Desktop.
@someonewithpc
Copy link
Author

Hey @fwsGonzo, I wanted to contact you about Include OS and GSoC.
I'd like to contribute to the project, I find it really interesting,
but I'd need a mentor
My email is up201704178@fc.up.pt

@fwsGonzo
Copy link

fwsGonzo commented Feb 3, 2020

That's fine with me, but I am a busy man so I'd prefer only answering questions. Is there anything specific in IncludeOS you would want to do?

@someonewithpc
Copy link
Author

I wanted to ask what the state of multithreading is, I was curious about adding it, but I see you made a bunch of commits related to it already. Otherwise, do you have any suggestion of parts that could use work? A friend of mine has told me, after I messaged you, that Include OS might not be eligible for GSoC, as it seems they required formally registered companies. But regardless, I'd like to contribute

@fwsGonzo
Copy link

fwsGonzo commented Feb 3, 2020

Multi-threading is nearly done. It's cooperative threads with support for multiprocessing by creating or migrating threads to other CPU cores. One cool thing the OS needs now is the ability to donate the whole heap to musl (the C standard library) and then make sure that musl never gives it back. On a normal desktop OS the C library will try to give large free ranges of memory back to the OS using the madvise system call. In IncludeOS we want to avoid having a memory subsystem due to complexity and attack surface. So we want to remove it, and to do that we can make use of the heap implementation in musl. For other types of memory management in the OS we can use the page tables. After all, it's mostly about setting up the virtual memory. I'm sure there are other things you can do if you really want to contribute as well. Feel free to join our slack. We can invite you to the #foss-kernel channel as well if you plan to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment