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
In your code, you use pread() to cache the linux_proc_banner. I'm wondering if there is another way to do that? You mentioned that this could work with prefetch or sched_yield. I tried to replace the pread(fd, buf, sizeof(buf), 0) with _mm_prefetch((char*)addr, 0) and it doesn't work.
Can you show me the alternative way? Thanks!
The text was updated successfully, but these errors were encountered:
In your code, you use
pread()
to cache thelinux_proc_banner
. I'm wondering if there is another way to do that? You mentioned that this could work withprefetch
orsched_yield
. I tried to replace thepread(fd, buf, sizeof(buf), 0)
with_mm_prefetch((char*)addr, 0)
and it doesn't work.Can you show me the alternative way? Thanks!
The text was updated successfully, but these errors were encountered: