kernel: Remove cpu_info::load
This field forces kernel to track each CPU load all the time. It is not a problem with the current scheduler on a multicore systems, but on single core machnies or with any other future scheduler this field may become just an unnecessary burden. It isn't difficult for an application to compute CPU load by itself when it needs it.
This commit is contained in:
@@ -422,7 +422,6 @@ extern void ktrace_vprintf(const char *format, va_list args);
|
||||
|
||||
typedef struct {
|
||||
bigtime_t active_time; /* usec of doing useful work since boot */
|
||||
int32 load;
|
||||
bool enabled;
|
||||
} cpu_info;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user