Re: [PATCH 3/4] TPM: rcu locking

From: Rajiv Andrade
Date: Tue Sep 23 2008 - 16:18:57 EST


Paul,

On Tue, 2008-09-23 at 11:19 -0700, Paul E. McKenney wrote:
>
> But here we are deleting from what appears to be some other list.
> And I don't see any insertiong into either list.
>
> What am I missing here?
>
> Thanx, Paul

Sorry, forgot to change list_add() to list_add_rcu() in the code section
below:

> > + /* Make chip available */
> > + spin_lock(&driver_lock);
> > + list_add(&chip->list, &tpm_chip_list);
> > + spin_unlock(&driver_lock);

I'll resubmit.

Thanks,
Rajiv Andrade
IBM Linux Technology Center
Security Dev.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/