Hi,

I found that the cpu.ckrm-e17.v10.patch calls
ckrm_enqueue_task() function twice in enqueue_task()
function. The code looks like,

static void enqueue_task(struct task_struct *p,
prio_array_t *array)
{
        sched_info_queued(p);
        list_add_tail(&p->run_list, array->queue +
p->prio);
        __set_bit(p->prio, array->bitmap);
        array->nr_active++;
        p->array = array;
        class_enqueue_task(p,array);
        class_enqueue_task(p,array);
}

I would appreciate if someone could explain why it is
being called twice. 

Thanks
mahesh

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to