From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] mm: yield during swap prefetching From: Lee Revell 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 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: 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 List-ID: 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, 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