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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Serge E. Hallyn
Date: Thursday, September 25, 2008 - 7:59 am

Quoting Paul E. McKenney (paulmck@linux.vnet.ibm.com):

Right, tpm_register_hardware both does
	dev_set_drvdata(dev, chip)
to set dev->driver_data = chip, and list_add(chip->list, &tpm_chip_list).
The tpm_remove_hardware(), then, gets the device, gets the chip from
dev->driver_data,  and removes it from the tpm_chip_list.

It does look kosher.

Though once this is all applied to some public git tree, I want to take
some time to look at the full result.

-serge
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/4] BKL removed, RCU addition and pnp remove, Rajiv Andrade, (Tue Sep 23, 10:19 am)
[PATCH 1/4] TPM: update char dev BKL pushdown, Rajiv Andrade, (Tue Sep 23, 10:19 am)
[PATCH 2/4] TPM: num_opens to is_open variable change, Rajiv Andrade, (Tue Sep 23, 10:19 am)
[PATCH 3/4] TPM: rcu locking, Rajiv Andrade, (Tue Sep 23, 10:19 am)
[PATCH 4/4] TPM: addition of pnp remove, Rajiv Andrade, (Tue Sep 23, 10:19 am)
about kernel_physical_mapping_init, Joilnen Leite, (Tue Sep 23, 10:38 am)
Re: [PATCH 3/4] TPM: rcu locking, Paul E. McKenney, (Tue Sep 23, 11:19 am)
Re: [PATCH 3/4] TPM: rcu locking, Rajiv Andrade, (Tue Sep 23, 1:18 pm)
[PATCH 3/4][resubmit] TPM: rcu locking, Rajiv Andrade, (Tue Sep 23, 1:19 pm)
Re: [PATCH 3/4] TPM: rcu locking, Paul E. McKenney, (Tue Sep 23, 1:27 pm)
Re: [PATCH 1/4] TPM: update char dev BKL pushdown, Jonathan Corbet, (Tue Sep 23, 1:58 pm)
Re: [PATCH 3/4][resubmit] TPM: rcu locking, Jonathan Corbet, (Tue Sep 23, 2:01 pm)
Re: [PATCH 3/4][resubmit] TPM: rcu locking, Mimi Zohar, (Tue Sep 23, 2:27 pm)
Re: [PATCH 3/4][resubmit] TPM: rcu locking, Rajiv Andrade, (Wed Sep 24, 6:10 am)
Re: [PATCH 1/4] TPM: update char dev BKL pushdown, Rajiv Andrade, (Wed Sep 24, 6:14 am)
Re: [PATCH 3/4] TPM: rcu locking, Serge E. Hallyn, (Thu Sep 25, 6:29 am)
Re: [PATCH 3/4] TPM: rcu locking, Serge E. Hallyn, (Thu Sep 25, 6:36 am)
Re: [PATCH 3/4][resubmit] TPM: rcu locking, Serge E. Hallyn, (Thu Sep 25, 6:39 am)
Re: [PATCH 3/4] TPM: rcu locking, Paul E. McKenney, (Thu Sep 25, 7:33 am)
Re: [PATCH 3/4] TPM: rcu locking, Serge E. Hallyn, (Thu Sep 25, 7:59 am)