p->root = RB_ROOT; 
void mpol_free_shared_policy(struct shared_policy *p){	struct sp_node *n;	struct rb_node *next;	if (!p->root.rb_node)		return;	spin_lock(&p->lock);	next = rb_first(&p->root);	while (next) {		n = rb_entry(next, struct sp_node, nd);		next = rb_next(&n->nd);		mpol_free(n->policy);		kmem_cache_free(sn_cache, n);	}	spin_unlock(&p->lock);	p->root = RB_ROOT;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/90c5029e471636f21221bf66b9a46ada2ab79a22/mempolicy.c/buggy/mm/mempolicy.c