[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111017164929.GA18620@srcf.ucam.org>
Date: Mon, 17 Oct 2011 17:49:29 +0100
From: Matthew Garrett <mjg@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Arjan van de Ven <arjan@...ux.intel.com>,
Lennart Poettering <mzxreary@...inter.de>,
Andrew Morton <akpm@...ux-foundation.org>,
"Kirill A. Shutemov" <kirill@...temov.name>,
Paul Menage <menage@...gle.com>,
Li Zefan <lizf@...fujitsu.com>,
containers@...ts.linux-foundation.org,
jacob.jun.pan@...ux.intel.com, linux-kernel@...r.kernel.org,
Matt Helsley <matthltc@...ibm.com>, linux-api@...r.kernel.org,
Kay Sievers <kay.sievers@...y.org>, harald@...hat.com,
david@...ar.dk, greg@...ah.com
Subject: Re: [PATCH, v10 3/3] cgroups: introduce timer slack controller
On Mon, Oct 17, 2011 at 06:36:44PM +0200, Peter Zijlstra wrote:
> On Mon, 2011-10-17 at 16:31 +0100, Matthew Garrett wrote:
> > On Mon, Oct 17, 2011 at 05:21:10PM +0200, Peter Zijlstra wrote:
> >
> > > Well what other cases are there? Can we enumerate them and come up
> > > with similar solutions?
> >
> > Javascript has timers. We execute rather a lot of javascript from
> > sources we can't influence at all.
>
> Which brings me to yet another gripe I've got with firefox, _WHY_ does
> it run javascript for tabs I can't see? Simply freeze the interpreter.
Because people expect gmail to provide them with status updates even if
it's not the foreground tab.
> Then again, what does JavaScript do with these timers? I don't really
> see how javascript/random-native-binary are really different, something
> needs doing. What something?
I agree that the thing that needs doing probably involves web developers
and threats of implied violence, but I suspect that web developers are
being created faster than we can reeducate them.
--
Matthew Garrett | mjg59@...f.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists