Hi, How expensive is VirtualProtect call?
-
-
-
When relaxing protections, it’s a few hundred cycles. When increasing protections, it’s 100,000+ including interrupting each thread via IPI to update page tables. (The answer to the original question above is: yes)
End of conversation
New conversation -
-
-
I assume that VirtualProtect is implemented as a syscall that modifies GDT. In that case all threads shall see the same.
-
Yeah, it should be impossible for any thread to write to that memory as soon as the syscall returns. But do you know if it invalidates the cache immediately?
- 8 more replies
New conversation -
-
This Tweet is unavailable.
-
-
I agree with the others, it should work
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@TimSweeneyEpic Hello, my mom disabled my paypal account then my epic games account and my account ahve a lot of skins and stuff on it worth 1000$ and i really want it back thanks for your helpThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Does anyone know when these ignorant fortnite peeps gonna bring out SEA servers? When there greed will be over? Never? Ok ty
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.