Re: [PATCH] fix missing RT PRIO_ARRAY table with CONFIG_RT_GROUP_SCHED=n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> On the kernel with CONFIG_RT_GROUP_SCHED=n, the "RT PRIO_ARRAY" table of runq
> command always empty, nevertheless exists "rt_sched_class" task.
> 
> This cause to substract offset "task_struct->rt - task_struct" only if there is
> my_q member (ie. CONFIG_RT_GROUP_SCHED=y). Therefore dump_RT_prio_array()
> passes the address of "rt member of task_struct" to task_to_context().
> 
> This patch ensure to pass the address of "task_struct" to task_to_context().

Mitsuya,

I adjusted your patch to also maintain compatibility with 2.6.24 and earlier kernels,
and have queued it for crash-7.1.0:

  https://github.com/crash-utility/crash/commit/02086663bcc4fa9fd0fbec89f83e7fa82f17c2cd

Thanks,
  Dave

 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux