Hi there,
Has anyone known about the background information about
the following change?
The PSCHED_JSCALE in the net/sched/sch_api.c is defined in the
include/net/pkt_sched.h. If I set HZ to 1000 - PSCHED_JSCALE
is 0 - what would happen?
#if HZ == 100
#define PSCHED_JSCALE 13
#elif HZ == 1024
#define PSCHED_JSCALE 10
#else
#define PSCHED_JSCALE 0
#endif
The code is updated in 2.4.27 as follows.
The PSCHED_JSCALE becomes 10 in this case.
What problems would it fix? Or what behaivior would change?
#if HZ < 96
#define PSCHED_JSCALE 14
#elif HZ >= 96 && HZ < 192
#define PSCHED_JSCALE 13
#elif HZ >= 192 && HZ < 384
#define PSCHED_JSCALE 12
#elif HZ >= 384 && HZ < 768
#define PSCHED_JSCALE 11
#elif HZ >= 768
#define PSCHED_JSCALE 10
#endif
---
Hdei Nunoe
|