system becomes extremely slow after disable cache

2019-06-07 18:08发布

I disable the cache by setting the CD bit of CR0 for my intel machine. I used the code described in my previous post

I also use the smp_call_function() function to set all CPU's CR0.

The problem is:

After I set all CPU's CR0's CD bit, the machine becomes extremely slow. I cannot even use keyboard.

My question is:

I want to check the CR0 register after I disable the cache by setting the CD bit of CR0. So I need to be able to use the keyboard at least.

Is there anyway that can help me use the keyboard after I disable cache?

It's totally out of my expectation that disabling the cache can make the system almost freeze.

0条回答
登录 后发表回答