From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 1ADEE3C8 for ; Fri, 31 Jul 2015 16:54:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id CF4C18D for ; Fri, 31 Jul 2015 16:54:29 +0000 (UTC) Date: Fri, 31 Jul 2015 09:53:46 -0700 From: Christoph Hellwig To: Julia Lawall Message-ID: <20150731165346.GA18984@infradead.org> References: <2111196.TG1k3f53YQ@avalon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: Tejun Heo , Shuah Khan , Russell King , ksummit-discuss@lists.linuxfoundation.org Subject: Re: [Ksummit-discuss] [TECH TOPIC] Fix devm_kzalloc, its users, or both List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Jul 31, 2015 at 06:34:21PM +0200, Julia Lawall wrote: > How is this different from the free happening explicitly in the remove > function? It's not. The real problem is that people don't understand life time rules and expect magic interfaces to fix it for them.