commit | 2b107d93635616db0c3f893c8cc2e6d5cd8d77b2 | [log] [tgz] |
---|---|---|
author | Jacob Pan <jacob.jun.pan@linux.intel.com> | Fri May 07 14:59:45 2010 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Fri May 07 15:31:17 2010 -0700 |
tree | c0398294e48d974887552de739b8e0bdd343b794 | |
parent | 722154e4cacf015161efe60009ae9be23d492296 [diff] |
x86: Avoid check hlt for newer cpus Check hlt instruction was targeted for some older CPUs. It is an expensive operation in that it takes 4 ticks to break out the check. We can avoid such check completely for newer x86 cpus (family >= 5). [ hpa: corrected family > 5 to family >= 5 ] Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> LKML-Reference: <1273269585-14346-1-git-send-email-jacob.jun.pan@linux.intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>