Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754487Ab0AEQMT (ORCPT ); Tue, 5 Jan 2010 11:12:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753095Ab0AEQMS (ORCPT ); Tue, 5 Jan 2010 11:12:18 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:35507 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752117Ab0AEQMR (ORCPT ); Tue, 5 Jan 2010 11:12:17 -0500 Date: Tue, 5 Jan 2010 08:10:21 -0800 (PST) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Al Viro cc: Peter Zijlstra , KAMEZAWA Hiroyuki , "Paul E. McKenney" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "minchan.kim@gmail.com" , cl@linux-foundation.org, "hugh.dickins" , Nick Piggin , Ingo Molnar Subject: Re: [RFC][PATCH 6/8] mm: handle_speculative_fault() In-Reply-To: <20100105154047.GA18217@ZenIV.linux.org.uk> Message-ID: References: <20100104182429.833180340@chello.nl> <20100104182813.753545361@chello.nl> <20100105092559.1de8b613.kamezawa.hiroyu@jp.fujitsu.com> <1262681834.2400.31.camel@laptop> <20100105154047.GA18217@ZenIV.linux.org.uk> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) 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 Content-Length: 711 Lines: 20 On Tue, 5 Jan 2010, Al Viro wrote: > > - a bunch of fs operations done from RCU callbacks. Including severely > blocking ones. Yeah, you're right (and Peter also pointed out the might_sleep). That is likely to be the really fundamental issue. You _can_ handle it (make the RCU callback just schedule the work instead of doing it directly), but it does sound really nasty. I suspect we should explore just about any other approach over this one. Linus -- 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/