|
@@ -712,7 +712,7 @@ static s64 htb_do_events(struct htb_sched *q, const int level,
|
|
|
|
|
|
/* too much load - let's continue after a break for scheduling */
|
|
|
if (!(q->warned & HTB_WARN_TOOMANYEVENTS)) {
|
|
|
- pr_warning("htb: too many events!\n");
|
|
|
+ pr_warn("htb: too many events!\n");
|
|
|
q->warned |= HTB_WARN_TOOMANYEVENTS;
|
|
|
}
|
|
|
|
|
@@ -1488,15 +1488,13 @@ static int htb_change_class(struct Qdisc *sch, u32 classid,
|
|
|
cl->quantum = min_t(u64, quantum, INT_MAX);
|
|
|
|
|
|
if (!hopt->quantum && cl->quantum < 1000) {
|
|
|
- pr_warning(
|
|
|
- "HTB: quantum of class %X is small. Consider r2q change.\n",
|
|
|
- cl->common.classid);
|
|
|
+ pr_warn("HTB: quantum of class %X is small. Consider r2q change.\n",
|
|
|
+ cl->common.classid);
|
|
|
cl->quantum = 1000;
|
|
|
}
|
|
|
if (!hopt->quantum && cl->quantum > 200000) {
|
|
|
- pr_warning(
|
|
|
- "HTB: quantum of class %X is big. Consider r2q change.\n",
|
|
|
- cl->common.classid);
|
|
|
+ pr_warn("HTB: quantum of class %X is big. Consider r2q change.\n",
|
|
|
+ cl->common.classid);
|
|
|
cl->quantum = 200000;
|
|
|
}
|
|
|
if (hopt->quantum)
|