I've seen in a lot of documents that Mnesia has been open sourced by Ericsson, but straightforward googling didn't help me to find the repository with the code...
Is Mnesia still open-source at all?
Solution
It's part of the Erlang/OTP source code, which you can get from github. You can browse it here.