 MAX_PRIO       .  -
     140.  ,    -
    struct list_head.  BITMAP_SIZE  
  ,      unsigned long.
        -
.   140      32- -
 ,   BITMAP_SIZE  5.  ,  bitmap 
    ,    160 .

     bitmap,     -
     .     
  0.         -
 (        TASK_RUNNING),
     bitmap    1.
,    ,  7,   ,  -
   7.        
          
.     ,  ,  
    ,       -
,   .  ,    -
    Linux       -
   {find first set)       .
   sched_find_first_bit ().    -
        
  4.      
          -
 .

      , 
 struct list_head.    queue.  
   .     
,         -
,   ,      
    .  ,   -
 ,        
  .        -
 .

     nr_active,   -
         -
.

  

    (      Linux)
         -
,      .

   8   bsfl,    ї -
 cntlzw.

                                                 75