Changeset 546

Show
Ignore:
Timestamp:
02/20/07 03:37:15 (2 years ago)
Author:
chtekk
Message:

Fix scheduling debug logging, force reload (needed at least on my SMP system), set prio_bias to 0 (not setting it would not make the correct values
apply to scheduling, nfc why, I tried SCHED_PRIO too with this change and it still worked, so it should be ok).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/vcd/methods/helper/helper_startup.c

    r545 r546  
    330330        if (rc == VXDB_OK) { 
    331331                vxdb_foreach_step(rc, dbr) { 
     332                        sched.mask |= VXSM_FORCE; 
    332333                        sched.mask |= VXSM_FILL_RATE|VXSM_INTERVAL; 
    333334                        sched.mask |= VXSM_TOKENS_MIN|VXSM_TOKENS_MAX; 
     
    349350                        sched.tokens_min   = vxdb_column_int32(dbr, 5); 
    350351                        sched.tokens_max   = vxdb_column_int32(dbr, 6); 
     352                        sched.prio_bias    = 0; 
    351353 
    352354                        if (sched.fill_rate[1] > 0 && sched.interval[1] > 0) 
     
    354356 
    355357                        log_debug("sched(%d, %d, %#.16llx): " 
    356                                         "%llu, %llu, %llu, %llu, %llu, %llu", 
    357                                         xid, cpuid, sched.mask, 
     358                                        "%" PRIu32 ",%" PRIu32 ",%" PRIu32 
     359                                        ",%" PRIu32 ",%" PRIu32 ",%" PRIu32, 
     360                                        xid, sched.cpu_id, sched.mask, 
    358361                                        sched.fill_rate[0], sched.interval[0], 
    359362                                        sched.fill_rate[1], sched.interval[1],