SMP - can boot even if some cpus fail to boot
- EBADCPU is returned is scheduler tries to run a process on a CPU that either does not exist or isn't booted - this change was originally meant to deal with stupid cpuid instruction which provides totally useless information about hyper-threading and MPS which does not deal with ht at all. ACPI provides correct information. If ht is turned off it looks like some CPUs failed to boot. Nevertheless this patch may be handy for testing/benchmarking in the future.
This commit is contained in:
@@ -130,4 +130,6 @@ extern int errno; /* place where the error numbers go */
|
||||
#define EBADEPT (_SIGN 301) /* specified endpoint is bad */
|
||||
#define EDEADEPT (_SIGN 302) /* specified endpoint is not alive */
|
||||
|
||||
#define EBADCPU (_SIGN 1000) /* requested CPU does not work */
|
||||
|
||||
#endif /* _ERRNO_H */
|
||||
|
||||
Reference in New Issue
Block a user