views:

83

answers:

1

Hi everybody,

I could finally disable the cache by running the code as Ring0, Thank you DrJokepu, the link you gave me was exactly what I needed.. but I have a new problem, cause when I insert the new module who disables the cache, that works grate, I just have to insmod my .ko file, so the init procedure where my code is written is called. but now I would like to re-enable the cache programmatically again, It should work with writing a clean procedure witch reset the cr0, and call it when remove the module by rmmod it, but actually it does nothing...I can check at cat /proc/modules and it really removed it, but apparently, it hasn't called my clean procedure before removing it....

help?

A: 

why even disable cpu cache in first place

hax