l*i
2 楼
w*s
3 楼
almost each place of find_vpid, there's a rcu_lock, why's that ?
w*s
7 楼
i used rcu_read_lock() to protect find_vpid in ISR,
crashes inside find_vpid.
then i use spin_lock_irq_save() around it, still same crashes.
now i'm crashing.
Any hints why this is happening ?
find_
【在 n******t 的大作中提到】
: pid是放在全局的pid_hash 这个数据结构里面的,这个东西用rcu机制来做同步,find_
: vpid,作为rcu的reader,肯定需要用rcu_read_lock 和rcu_read_unlock了,从调用方式
: 上来说和 mark临界区没什么区别了。
crashes inside find_vpid.
then i use spin_lock_irq_save() around it, still same crashes.
now i'm crashing.
Any hints why this is happening ?
find_
【在 n******t 的大作中提到】
: pid是放在全局的pid_hash 这个数据结构里面的,这个东西用rcu机制来做同步,find_
: vpid,作为rcu的reader,肯定需要用rcu_read_lock 和rcu_read_unlock了,从调用方式
: 上来说和 mark临界区没什么区别了。
n*t
8 楼
does not look like that should cause crashing, did you do any modification t
o the pid table in the ISR?
However, I am wondering why you want to traverse a hlist in the ISR,
usually that should be delayed and ISRs are only used to do very simple task
s.
【在 w*s 的大作中提到】
: i used rcu_read_lock() to protect find_vpid in ISR,
: crashes inside find_vpid.
: then i use spin_lock_irq_save() around it, still same crashes.
: now i'm crashing.
: Any hints why this is happening ?
:
: find_
o the pid table in the ISR?
However, I am wondering why you want to traverse a hlist in the ISR,
usually that should be delayed and ISRs are only used to do very simple task
s.
【在 w*s 的大作中提到】
: i used rcu_read_lock() to protect find_vpid in ISR,
: crashes inside find_vpid.
: then i use spin_lock_irq_save() around it, still same crashes.
: now i'm crashing.
: Any hints why this is happening ?
:
: find_
w*s
9 楼
no i don't change pid table.
yes if i get ride of that find_vpid in ISR, it works fine now.
so might be the delay causing issues, when there're too many interrupts.
t
task
【在 n******t 的大作中提到】
: does not look like that should cause crashing, did you do any modification t
: o the pid table in the ISR?
: However, I am wondering why you want to traverse a hlist in the ISR,
: usually that should be delayed and ISRs are only used to do very simple task
: s.
yes if i get ride of that find_vpid in ISR, it works fine now.
so might be the delay causing issues, when there're too many interrupts.
t
task
【在 n******t 的大作中提到】
: does not look like that should cause crashing, did you do any modification t
: o the pid table in the ISR?
: However, I am wondering why you want to traverse a hlist in the ISR,
: usually that should be delayed and ISRs are only used to do very simple task
: s.
相关阅读
Gnome-DO docky is great!Gnome-Do 打开一个软件在docky模式下比classic模式下慢多了dreamLinux 3.5 终于出了Ubuntu 或者 Debian based 的哪个 distro 最省资源?这些系统在terminal里面蹦出来的信息是啥意思?xubuntu 8.10为啥我的xorg.conf里面一点具体选项都没免费系列Linux培训视频adobe flash player 10一个窗口横跨两个桌面是compiz的特效么?问个虚拟机共享邮件系统的问题关于联想t500笔记本的显卡可以在外置USB硬盘上安装Linux并且可以从外置USB硬盘启动Linux吗?GNU screen 下面 vim 没有颜色?免费零起点学习Linux系列培训视频------收集(1--61)Let a non-root user turn off computer这是怎么回事?把Windows界面整得像Linux发现 debian 5.0 还是简朴多了ubuntu8.04deskop导致不能进入windows xpperl能不能一次把一个str中的a替换成x,b替换成y?