Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757933AbZCTL0t (ORCPT ); Fri, 20 Mar 2009 07:26:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751577AbZCTL0k (ORCPT ); Fri, 20 Mar 2009 07:26:40 -0400 Received: from fxip-0047f.externet.hu ([88.209.222.127]:39749 "EHLO pomaz-ex.szeredi.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751261AbZCTL0j (ORCPT ); Fri, 20 Mar 2009 07:26:39 -0400 To: mingo@elte.hu CC: miklos@szeredi.hu, peterz@infradead.org, roland@redhat.com, efault@gmx.de, rjw@sisk.pl, jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org In-reply-to: <20090320105306.GG6256@elte.hu> (message from Ingo Molnar on Fri, 20 Mar 2009 11:53:06 +0100) Subject: Re: [patch] don't preempt not TASK_RUNNING tasks References: <1237543392.24626.49.camel@twins> <20090320105306.GG6256@elte.hu> Message-Id: From: Miklos Szeredi Date: Fri, 20 Mar 2009 12:25:59 +0100 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 904 Lines: 24 On Fri, 20 Mar 2009, Ingo Molnar wrote: > > > The first line of attack for this problem is making > > > wait_task_inactive() sucks less, which shouldn't be too hard, > > > that unconditional 1 jiffy sleep is simply retarded. > > > > I completely agree. However, I'd like to have a non-invasive > > solution that can go into current and stable kernels so UML users > > don't need to suffer any more. > > Agreed. task_unlock_no_resched() should do that i think. I don't see how that would help. ptrace_stop() specifically would need read_unlock_no_resched(). But I'm reluctant to add more spinlock functions with all their variants... Thanks, Miklos -- 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/