Displaying 3 results from an estimated 3 matches for "last_interv".
Did you mean:
last_interval
2011 Sep 02
1
determine the latency characteristics of a VM automatically
Hi George,
Tow months ago, we talked about how to reduce the scheduling latency for a
specific VM which runs a mixed workload, where the boost mechanism can not
works well. I have tried some methods to reduce the scheduling latency for
some assumed latency-sensitive VMs and got some progress on it. Now I hope
to make it on demand. That is to say, I hope to get the scheduler to
determine the
2007 Jun 26
2
RFC: multiple address spaces for one process
...il[0] = current->active_mm;
+ }
+ for (mp = current->mm_avail; *mp && mp < ¤t->mm_avail[N_MM]; mp++)
+ ;
+ if (mp == ¤t->mm_avail[N_MM])
+ return -ENOENT;
+ *mp = dup_mm(current);
+ if (!*mp)
+ return -ENOMEM;
+ (*mp)->token_priority = 0;
+ (*mp)->last_interval = 0;
+
+ return mp - current->mm_avail;
+}
+
+/*
+ * Could combine ... create on the fly if n is in range and
+ * the context doesn't exist yet
+ */
+asmlinkage unsigned long sys_switch_as(int n)
+{
+ struct mm_struct *oldmm;
+ if (n < 0 || n >= N_MM ||
+ !current->mm_avail ||...
2007 Jun 26
2
RFC: multiple address spaces for one process
...il[0] = current->active_mm;
+ }
+ for (mp = current->mm_avail; *mp && mp < ¤t->mm_avail[N_MM]; mp++)
+ ;
+ if (mp == ¤t->mm_avail[N_MM])
+ return -ENOENT;
+ *mp = dup_mm(current);
+ if (!*mp)
+ return -ENOMEM;
+ (*mp)->token_priority = 0;
+ (*mp)->last_interval = 0;
+
+ return mp - current->mm_avail;
+}
+
+/*
+ * Could combine ... create on the fly if n is in range and
+ * the context doesn't exist yet
+ */
+asmlinkage unsigned long sys_switch_as(int n)
+{
+ struct mm_struct *oldmm;
+ if (n < 0 || n >= N_MM ||
+ !current->mm_avail ||...