scheduler: create host_app_version records in NCI case

This commit is contained in:
David Anderson 2014-02-04 15:58:01 -08:00
parent c1e980870d
commit 4b5a099f81
2 changed files with 7 additions and 2 deletions

View File

@ -59,6 +59,12 @@ using std::vector;
// see: // see:
// man 5 proc // man 5 proc
// /usr/src/linux/fs/proc/array.C // /usr/src/linux/fs/proc/array.C
//
// Interesting note: the command part of /proc/PID/stat is the first
// 15 characters of the executable filename.
// If you want the entire filename, or the rest of the cmdline,
// you need to parse /proc/PID/cmdline,
// which is the cmdline with NULL separators
struct PROC_STAT { struct PROC_STAT {
int pid; int pid;

View File

@ -1608,8 +1608,7 @@ void send_work() {
} }
if (!work_needed(false)) { if (!work_needed(false)) {
send_user_messages(); goto done;
return;
} }
if (config.locality_scheduler_fraction > 0) { if (config.locality_scheduler_fraction > 0) {