From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= Subject: Re: suspend blockers & Android integration Date: Sat, 5 Jun 2010 17:02:16 -0700 Message-ID: References: <20100603193045.GA7188@elte.hu> <20100603231153.GA11302@elte.hu> <20100603232302.GA16184@elte.hu> <20100604071354.GA14451@elte.hu> <20100604083423.GD15181@elte.hu> <1275653210.27810.39762.camel@twins> <1275731653.27810.41078.camel@twins> <20100605092851.6ee15f13@infradead.org> <20100605152326.7ccd5160@infradead.org> <20100605163411.6c561fbf@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20100605163411.6c561fbf@infradead.org> Sender: linux-kernel-owner@vger.kernel.org To: Arjan van de Ven Cc: Peter Zijlstra , Ingo Molnar , tytso@mit.edu, Brian Swetland , Neil Brown , Thomas Gleixner , "Rafael J. Wysocki" , Alan Stern , Felipe Balbi , LKML , Florian Mickler , Linux OMAP Mailing List , Linux PM , Alan Cox , James Bottomley , Linus Torvalds , Kevin Hilman , "H. Peter Anvin" List-Id: linux-omap@vger.kernel.org 2010/6/5 Arjan van de Ven : > On Sat, 5 Jun 2010 15:39:44 -0700 > Arve Hj=F8nnev=E5g wrote: > >> > >> > For example if the Adobe Flash player puts a timer every 10 >> > milliseconds (yes it does that), and you give it a 3.99 seconds >> > range, it will fire its timers every 4 seconds.... unless other >> > activity happens independently, at which point it'll align with >> > that instead. >> > >> >> If you do that what you are delivering is nowhere close to what the >> app asked for. > > yeah it feels a little bit suspended > >> You don't need range timers for this, you could just as >> well add 4 seconds to all normal timers. > > .. with the difference that with range timers, you naturally align wi= th > other activity, so if there's system level activity, the AVERAGE serv= ice > the app gets is better by a LOT than just adding 4 seconds always. > > but you knew that.... just doesn't help your case. So you are saying it is safe to use range timers to radically change the requested timer interval because it does not actually get to the value that you changed it so. But you are also saying that this will allow the system to stay idle for that long. Something does not add up. --=20 Arve Hj=F8nnev=E5g