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.
相关阅读
hyper-v里装的ubuntu 10.04桌面版,怎么调分辨率?服务器能不能设置电源管理之类的问一个CVS里面$Date$的问题用linux开发的software,firmware都要公布源码?请推荐好的web hosting service,要求如下:能否用一块网卡把linux主机配置成一个router啊?腾讯qq客户端和ibus不兼容 (需要ia32libs-20090808ubuntu4)PPStream for Linux?CUPS能配置不同的username吗大家的pidgin今天能登录msn吗?Development environment under Linux有人装了ubuntu 10.10了吗?fedora 13使用xorg-x11-drv-nv的问题one installation problem under Ubuntu Linux 9.10请教用什么软件转.mpeg成.rmvb文件ppstream出linux客户端了有没有人玩 openwrt 的 routeropensuse 11.X 禁用 session lock的问题哪个系统当nettop的操作系统比较好?firefox纵向滚动条ubuntu下是不是有点问题?