Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752852AbYKSJTA (ORCPT ); Wed, 19 Nov 2008 04:19:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752170AbYKSJSq (ORCPT ); Wed, 19 Nov 2008 04:18:46 -0500 Received: from pasmtpa.tele.dk ([80.160.77.114]:37892 "EHLO pasmtpA.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016AbYKSJSp (ORCPT ); Wed, 19 Nov 2008 04:18:45 -0500 Date: Wed, 19 Nov 2008 10:16:56 +0100 From: Jens Axboe To: Nikanth Karthikesan Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] Do not free io context when taking recursive faults in do_exit Message-ID: <20081119091656.GU26308@kernel.dk> References: <200811191215.35438.knikanth@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200811191215.35438.knikanth@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 585 Lines: 15 On Wed, Nov 19 2008, Nikanth Karthikesan wrote: > When taking recursive faults in do_exit, if the io_context is not null, > exit_io_context() is being called. But it might decrement the refcount > more than once. It is better to leave this task alone. Agree, it's better to just leave that alone. Applied to for-2.6.29. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/