From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Jeremy Kerr To: linuxppc-dev@ozlabs.org Subject: Re: PATCH: free mm if spufs_fill_dir() failed Date: Wed, 9 May 2007 16:08:26 +1000 References: <463B6D16.9050400@linux.vnet.ibm.com> In-Reply-To: <463B6D16.9050400@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Message-Id: <200705091608.26934.jk@ozlabs.org> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sebastian, > In case spufs_fill_dir() fails only put_spu_context() > gets called for cleanup and the acquired mm_struct never gets freed. Good catch. However - could we do the mmput in the context destroy path instead? Also, you're probably better-off sending patches inline. It makes commenting on the patch much easier for some mailers. Cheers, Jeremy