Re: [PATCH RFC] mm: convert rcu_read_lock() to srcu_read_lock(), thus allowing to sleep in callbacks
From: Konstantin Khlebnikov <hidden>
Date: 2012-02-05 10:52:17
From: Konstantin Khlebnikov <hidden>
Date: 2012-02-05 10:52:17
sagig wrote:
Hey all, I've published this patch [requested for comments] last week, But got no responses. Since I'm not sure what to do if init_srcu_struct() call fails (it might due to memory pressure), I'm interested in the community's advice on how to act. Thanks,
Your patch is completely wrong. There must be one shared srcu_struct structure. Please read how rcu works in Documentation/RCU/ Thanks. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>