Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752013AbWCHCMZ (ORCPT ); Tue, 7 Mar 2006 21:12:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752028AbWCHCMZ (ORCPT ); Tue, 7 Mar 2006 21:12:25 -0500 Received: from mail21.syd.optusnet.com.au ([211.29.133.158]:63666 "EHLO mail21.syd.optusnet.com.au") by vger.kernel.org with ESMTP id S1752013AbWCHCMY (ORCPT ); Tue, 7 Mar 2006 21:12:24 -0500 From: Con Kolivas To: Lee Revell Subject: Re: [PATCH] mm: yield during swap prefetching Date: Wed, 8 Mar 2006 13:12:50 +1100 User-Agent: KMail/1.8.3 Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, ck@vds.kolivas.org References: <200603081013.44678.kernel@kolivas.org> <200603081228.05820.kernel@kolivas.org> <1141783711.767.121.camel@mindpipe> In-Reply-To: <1141783711.767.121.camel@mindpipe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603081312.51058.kernel@kolivas.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 803 Lines: 19 On Wed, 8 Mar 2006 01:08 pm, Lee Revell wrote: > On Wed, 2006-03-08 at 12:28 +1100, Con Kolivas wrote: > > I can't distinguish between when cpu activity is important (game) and > > when it is not (compile), and assuming worst case scenario and not doing > > any swap prefetching is my intent. I could add cpu accounting to > > prefetch_suitable() instead, but that gets rather messy and yielding > > achieves the same endpoint. > > Shouldn't the game be running with RT priority or at least at a low nice > value? No way. Games run nice 0 SCHED_NORMAL. Con - 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/