Request memory block at specific virtual address
I don't know if this is possible, but I thought I would ask before I just gave up. I'm writing a program that will need to request memory at a specific address in memory - I have no control over how much or what address. I've been scouring the man pages for a way to do this. I found mmap(), but I'm not sure if that's really what I want; I don't want to map a file. I also read up on page tables, but they seem like something I shouldn't even try to mess with unless there's no other way.
Thanks in advance!