/* This function is called to start a grace period.  */
void locks_start_grace(struct lock_manager *lm)
/* This function is called to start a grace period.  */
void locks_start_grace(struct lock_manager *lm)
{
	spin_lock(&grace_lock);
	list_add(&lm->list, &grace_list);
	spin_unlock(&grace_lock);
}