On Sun, 2003-12-07 at 21:00, Shinpei Kato wrote: > It seems that b[0] has the most highest priority bit since it comes > first. The priority 0 you said refers to the most highest? > But I've understood the task which is not real-time task has priority 0 > at the "rt_priority" member. > Is this priority different from what rt_priority refers to? The priorities are mapped kind of backward. Priority 0 through MAX_RT_PRIO (100) map to 0..MAX_RT_PRIO (100 total priorities). Then the 40 nice values are on top of that. This is the kernel's view of priority, as stored in task->prio. Rob Love -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/