On Tue, 1 Mar 2011, Lai Jiangshan wrote: > - * RCU free overloads the RCU head over the LRU > - */ > - struct rcu_head *head = (void *)&page->lru; > + struct rcu_head *head; > + > + if (need_reserve_slab_rcu) { > + int order = compound_order(page); > + int offset = (PAGE_SIZE << order) - s->reserved; > + > + BUG_ON(s->reserved != sizeof(*head)); VM_BUG_ON is sufficient here I think. Otherwise Acked-by: Christoph Lameter <cl@xxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx 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@xxxxxxxxx"> email@xxxxxxxxx </a>