i was reading a page that told:
"My microbenchmark begins by allocating one memory page, then creates two virtual address aliases pointing to it"
First Question. i want to know how can i create two virtual address that pointing to same memory page in linux with c?
again on that page he told that:
"One of the virtual pages (which we’ll call the “setup” pointer) is set to allow access from user mode. The second virtual page (“test” pointer) is set to varying permissions, then used to perform a load."
Second Question. can we change permission bit of a virtual address in virtual page table of my programe? as he did with second pointer.