Hello,

Quick question

the critical section between rcu_read_lock and rcu_read_unlock need to
be as small as possible like in case of local_irq_save()/restore or am
i at liberty to have a large critical section with rcu lock?

e.g

rcu_read_lock()
...
/* some code here */
...
rcu_read_unlock()

Is it ok to hold a rcu_read_lock across a large block of code?

My guess it is ok?
I need someone to correct me or point me where i am misunderstanding something.

Thanks
--psr
--
play the game

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to