#define VXF_FORK_RSS (1ULL<<48)
#define VXF_PROLIFIC (1ULL<<49)
+#define VXF_IGNEG_NICE (1ULL<<52)
+
#define VXF_ONE_TIME (0x0003ULL<<32)
#define VCMD_get_ccaps VC_CMD(FLAGS, 3, 0)
#define VXC_RAW_ICMP 0x00000100
#define VXC_SECURE_MOUNT 0x00010000
+#define VXC_SECURE_REMOUNT 0x00020000
#endif /* _VX_CONTEXT_H */
uint32_t onhold_last; /* jiffies when put on hold */
struct timespec bias_idle;
- uint64_t bias_jiffies; /* context creation point */
+ struct timespec bias_uptime; /* context creation point */
struct new_utsname utsname;
{
uint64_t idle_jiffies = vx_idle_jiffies();
- cvirt->bias_jiffies = get_jiffies_64();
+ do_posix_clock_monotonic_gettime(&cvirt->bias_uptime);
jiffies_to_timespec(idle_jiffies, &cvirt->bias_idle);
atomic_set(&cvirt->nr_threads, 0);
atomic_set(&cvirt->nr_running, 0);
int a, b, c;
length += sprintf(buffer + length,
- "BiasJiffies:\t%lld\n", (long long int)cvirt->bias_jiffies);
+ "BiasUptime:\t%lu.%02lu\n",
+ (unsigned long)cvirt->bias_uptime.tv_sec,
+ (cvirt->bias_uptime.tv_nsec / (NSEC_PER_SEC / 100)));
length += sprintf(buffer + length,
"SysName:\t%.*s\n"
"NodeName:\t%.*s\n"