Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751096AbWCIEyz (ORCPT ); Wed, 8 Mar 2006 23:54:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751128AbWCIEyz (ORCPT ); Wed, 8 Mar 2006 23:54:55 -0500 Received: from mustang.oldcity.dca.net ([216.158.38.3]:31171 "HELO mustang.oldcity.dca.net") by vger.kernel.org with SMTP id S1751096AbWCIEyy (ORCPT ); Wed, 8 Mar 2006 23:54:54 -0500 Subject: Re: [PATCH] mm: yield during swap prefetching From: Lee Revell To: Con Kolivas Cc: Zan Lynx , =?ISO-8859-1?Q?Andr=E9?= Goddard Rosa , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, ck@vds.kolivas.org In-Reply-To: References: <200603081013.44678.kernel@kolivas.org> <200603081322.02306.kernel@kolivas.org> <1141784834.767.134.camel@mindpipe> <200603081330.56548.kernel@kolivas.org> <1141852064.21958.28.camel@localhost> <1141861694.21958.66.camel@localhost> <1141874012.21958.138.camel@localhost> Content-Type: text/plain Date: Wed, 08 Mar 2006 23:54:51 -0500 Message-Id: <1141880092.13319.5.camel@mindpipe> Mime-Version: 1.0 X-Mailer: Evolution 2.5.92 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1395 Lines: 29 On Thu, 2006-03-09 at 15:08 +1100, Con Kolivas wrote: > > Games do have real-time requirements. > > The OS guessing about real-time priorities will sometimes get it wrong. > > Guessing task priority is worse than being told and knowing for sure. > > Games should, in an ideal world, be using real-time OS scheduling. > > Games would work better using real-time OS scheduling. > > At the risk of being repetitive to the point of tiresome, my point is that > there are no real time requirements in games. You're assuming that > everything will be better if we assume that there are rt requirements and > that we're simulating pseudo real time conditions currently. That's just not > the case and never has been. That's why it has worked fine for so long. I think you are talking past each other, and are both right - Con is saying games don't need realtime scheduling (SCHED_FIFO, low nice value, whatever) to function correctly (true), while Zan is saying that games have RT constraints in that they must react as fast as possible to user input (also true). Anyway, this is getting OT, I wish I had not raised this issue in this thread. Lee - 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/