Hacker News new | ask | show | jobs
by junon 892 days ago
You can detect when it doesn't, though, I think. If memory serves you can request a specific memory address to mount it at and it'll do it if it's not already mapped. It should (in theory?) return an error in such a case, no?
1 comments

I believe on conflict it will just fall back to placing it where it can by default. It will return the address it actually used, so you can catch the mismatch.