Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 663 → Rev 664

/shark/trunk/ports/first/modules/grubstar.c
110,6 → 110,8
b->last_reclaiming = 0;
b->avail += b->Q;
if (b->avail > b->Q) b->avail = b->Q;
 
if (b->avail > 0) b->flags = GRUBSTAR_ACTIVE;
/* Tracer */
TRACER_LOGEVENT(FTrace_EVT_server_replenish,0,(unsigned int)(b));
117,8 → 119,6
if (b->flags==GRUBSTAR_RECLAIMING && b->avail>0)
if (lev->Uf < lev->U) lev->Uf += b->Ub;
 
if (b->avail > 0) b->flags = GRUBSTAR_ACTIVE;
 
if (b->current == NIL && b->flags) {
if (iq_query_first(&(b->tasks)) != NIL) {
JOB_TASK_MODEL job;
128,10 → 128,11
#ifdef GRUBSTAR_DEBUG
kern_printf("%d",p);
#endif
 
kern_gettime(&b->dline);
TIMESPEC_ASSIGN(&b->dline, &b->replenish);
ADDUSEC2TIMESPEC(b->D, &b->dline);
ADDUSEC2TIMESPEC(b->T, &b->replenish);
 
 
b->current = p;
job_task_default_model(job, b->dline);