-
Cyrill Gorcunov authored
Instead of parsing procfs lets use native cpuid(), it's a way faster. The dark side is that the kernel may disable some of features via bootline options even if they are present on hardware but for us it's fine -- we will be testing hardware cpu for features anyway. The X86_FEATURE_ bits are gathered from two sources: linux kernel and cpu specifications. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
de770e02
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| atomic.h | ||
| bitops.h | ||
| bitsperlong.h | ||
| cmpxchg.h | ||
| cpu.h | ||
| dump.h | ||
| fpu.h | ||
| int.h | ||
| linkage.h | ||
| parasite-syscall.h | ||
| parasite.h | ||
| prlimit.h | ||
| processor-flags.h | ||
| restore.h | ||
| restorer.h | ||
| string.h | ||
| types.h | ||
| vdso.h |