| Date | Wed, 25 Jul 2012 23:21:15 +0900 | Subject | Re: [Patch 4/7] softirq: Use hotplug thread infrastructure | From | JoonSoo Kim <> |
| |
2012/7/16 Thomas Gleixner <tglx@linutronix.de>: > - static const struct sched_param param = { > - .sched_priority = MAX_RT_PRIO-1 > - }; > - > - p = per_cpu(ksoftirqd, hotcpu); > - per_cpu(ksoftirqd, hotcpu) = NULL; > - sched_setscheduler_nocheck(p, SCHED_FIFO, ¶m); > - kthread_stop(p); > + int hotcpu = (unsigned long)hcpu; > + > takeover_tasklets(hotcpu); > break;
Currently, "int hotcpu = (unsigned long)hcpu;" is somewhat strange. "takeover_tasklets((unsigned long)hcpu)" is sufficient for me.
|