Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758752Ab0HLBDM (ORCPT ); Wed, 11 Aug 2010 21:03:12 -0400 Received: from smtp-out.google.com ([74.125.121.35]:22197 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758697Ab0HLBDG (ORCPT ); Wed, 11 Aug 2010 21:03:06 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=mG0CI8wiRXxH5SP3gJpVmTFoJonxH3qroo7qXvgeW35Gmqag8dnU09iOqKLTLIQ+Z MRGXuFfHc97zVxIGQreMA== MIME-Version: 1.0 In-Reply-To: References: <20100806225453.GA3947@linux.vnet.ibm.com> <20100807061558.GA28087@thunk.org> <20100808155719.GB3635@thunk.org> <20100808213821.GD3635@thunk.org> <20100811193106.GB24435@thunk.org> Date: Wed, 11 Aug 2010 18:03:00 -0700 Message-ID: Subject: Re: Attempted summary of suspend-blockers LKML thread, take three From: Brian Swetland To: Felipe Contreras Cc: "Ted Ts'o" , david@lang.hm, "Paul E. McKenney" , linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, arve@android.com, mjg59@srcf.ucam.org, pavel@ucw.cz, florian@mickler.org, rjw@sisk.pl, stern@rowland.harvard.edu, peterz@infradead.org, tglx@linutronix.de, alan@lxorguk.ukuu.org.uk, menage@google.com, david-b@pacbell.net, James.Bottomley@suse.de, arjan@infradead.org, swmike@swm.pp.se, galibert@pobox.com, dipankar@in.ibm.com Content-Type: text/plain; charset=UTF-8 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2056 Lines: 45 On Wed, Aug 11, 2010 at 5:46 PM, Felipe Contreras wrote: > On Thu, Aug 12, 2010 at 1:12 AM, Brian Swetland wrote: >> On Wed, Aug 11, 2010 at 3:03 PM, Felipe Contreras >> wrote: >>> This is what I'm talking about when I say multi-tasking, Android >>> certainly doesn't have anything remotely like that: >>> http://www.youtube.com/watch?v=7emvUBpEkbU >> >> Home + pick app -> switch to the app in whatever state it was in. > > If the app stops running, that's *fake* multi-tasking, and doesn't > match my experience; I can't remember the details, but I tested it on > a Nexus One, and the item I was looking at was gone, I had to scroll > again. That'd be surprise. Last I checked I was able to launch 40-50 apps on N1 before we even started getting low on memory and the system won't kill apps off unless we completely bottom out on memory. It's possible that some app might do the wrong thing when going to the background and back to the foreground but that'd be an app bug. > Also, I cannot go to last.fm on the browser, play some music, and do > other stuff at the same time, can I? I'm not sure off the top of my head if the browser will keep music/flash playing on pages when it's not the foreground app, but you can certainly run something like Pandora (or a number of other streaming music apps) in the background and play streaming music while you do other stuff. There's no reason the browser *couldn't* do this as well. > Anyway, what you do in Android is your problem. The point is that in > Linux we need good PM *with* multi-tasking (not really an argument > against opportunistic suspend, I think, but a clarification from Ted's > comment) Well I'm glad we agree that multitasking and PM are important. Brian -- 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/