Thread: Mirror ram

  1. #16
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Elysia View Post
    Sure, size doesn't matter, as long as I can force my2_array to be placed after my_array in virtual memory.
    It is POSSIBLY possible to do that.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  2. #17
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    You could do it in your own OS, or you could patch an open-source kernel to do stuff like that. It is not possible to do it in any existing OS. Or, well, you could try with Linux's shmem mapping or Windows's VirtualAlloc. But it would be unreliable.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed