You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is necessary to ensure that the 5-byte NOP and JMP instruction on x86 is contained within the same cache line. This prevents fetching the instruction from requiring two memory accesses. If fetching requires two memory accesses and a memory mapping replacement occurs almost simultaneously, unpredictable results may occur.
See FAQ for reason to only allow modifying in single-thread environment. See discussions in Announcing static-keys, reimplementaion of Linux kernel’s static keys mechanism for Rust userland for difficulties in implementing such feature.
To allow modify static keys in multi-thread environment, we shall implement a
text_poke
in userland, which is worth investigating.The text was updated successfully, but these errors were encountered: