From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757160AbZJFQu1 (ORCPT ); Tue, 6 Oct 2009 12:50:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756855AbZJFQu0 (ORCPT ); Tue, 6 Oct 2009 12:50:26 -0400 Received: from smtp2.ultrahosting.com ([74.213.174.253]:34261 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752078AbZJFQu0 (ORCPT ); Tue, 6 Oct 2009 12:50:26 -0400 Date: Tue, 6 Oct 2009 12:43:33 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: nickpiggin@yahoo.com.au, Mathieu Desnoyers cc: akpm@linux-foundation.org, Ingo Molnar , linux-kernel@vger.kernel.org, "Paul E. McKenney" , linux-mm@kvack.org Subject: Re: [patch 4/4] vunmap: Fix racy use of rcu_head In-Reply-To: <20091006144043.378971387@polymtl.ca> Message-ID: References: <20091006143727.868480435@polymtl.ca> <20091006144043.378971387@polymtl.ca> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Oct 2009, Mathieu Desnoyers wrote: > Simplest fix: directly kfree the data structure rather than doing it lazily. The delay is necessary as far as I can tell for performance reasons. But Nick was the last one fiddling around with the subsystem as far as I remember. CCing him. May be he has a minute to think about a fix that preserved performance. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 08E5F6B004D for ; Tue, 6 Oct 2009 12:49:40 -0400 (EDT) Received: from localhost (smtp.ultrahosting.com [127.0.0.1]) by smtp.ultrahosting.com (Postfix) with ESMTP id D686482C1C9 for ; Tue, 6 Oct 2009 12:53:19 -0400 (EDT) Received: from smtp.ultrahosting.com ([74.213.174.253]) by localhost (smtp.ultrahosting.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fOjGLMdSCGcy for ; Tue, 6 Oct 2009 12:53:13 -0400 (EDT) Received: from gentwo.org (unknown [74.213.171.31]) by smtp.ultrahosting.com (Postfix) with ESMTP id 1D57882C3BE for ; Tue, 6 Oct 2009 12:53:12 -0400 (EDT) Date: Tue, 6 Oct 2009 12:43:33 -0400 (EDT) From: Christoph Lameter Subject: Re: [patch 4/4] vunmap: Fix racy use of rcu_head In-Reply-To: <20091006144043.378971387@polymtl.ca> Message-ID: References: <20091006143727.868480435@polymtl.ca> <20091006144043.378971387@polymtl.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: nickpiggin@yahoo.com.au, Mathieu Desnoyers Cc: akpm@linux-foundation.org, Ingo Molnar , linux-kernel@vger.kernel.org, "Paul E. McKenney" , linux-mm@kvack.org List-ID: On Tue, 6 Oct 2009, Mathieu Desnoyers wrote: > Simplest fix: directly kfree the data structure rather than doing it lazily. The delay is necessary as far as I can tell for performance reasons. But Nick was the last one fiddling around with the subsystem as far as I remember. CCing him. May be he has a minute to think about a fix that preserved performance. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org