From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH v3 07/11] tpm: Replace device number bitmap with IDR Date: Tue, 23 Feb 2016 16:18:45 -0700 Message-ID: <20160223231845.GA18057@obsidianresearch.com> References: <1455885728-10315-1-git-send-email-stefanb@linux.vnet.ibm.com> <1455885728-10315-8-git-send-email-stefanb@linux.vnet.ibm.com> <20160222190629.GE22088@obsidianresearch.com> <201602230116.u1N1G4iu012263@d03av02.boulder.ibm.com> <20160223021606.GC26177@obsidianresearch.com> <201602232305.u1NN521L020589@d03av01.boulder.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <201602232305.u1NN521L020589-Rn83F4s8Lwc+UXBhvPuGgqsjOiXwFzmk@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Stefan Berger Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: tpmdd-devel@lists.sourceforge.net On Tue, Feb 23, 2016 at 06:04:38PM -0500, Stefan Berger wrote: > I just ran into the problem that when tpm_chip_register wasn't called > due to me killing the process while the driver task attempted to get > the durations, the tpm_chip_unregister didn't get called either. Hmm. Okay. We can't move the idr alloc out of tpm_chip_alloc to combat that, so we are stuck with the nulls. Jason ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140