Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751807Ab0FDKIv (ORCPT ); Fri, 4 Jun 2010 06:08:51 -0400 Received: from casper.infradead.org ([85.118.1.10]:60916 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732Ab0FDKIt convert rfc822-to-8bit (ORCPT ); Fri, 4 Jun 2010 06:08:49 -0400 Subject: Re: suspend blockers & Android integration From: Peter Zijlstra To: Ingo Molnar Cc: tytso@mit.edu, Brian Swetland , Neil Brown , Arve Hj?nnev?g , 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" , Arjan van de Ven In-Reply-To: <20100604100306.GB3324@elte.hu> References: <20100603193045.GA7188@elte.hu> <20100603231153.GA11302@elte.hu> <20100603232302.GA16184@elte.hu> <1275644619.27810.39462.camel@twins> <1275645245.27810.39493.camel@twins> <20100604100306.GB3324@elte.hu> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Fri, 04 Jun 2010 12:08:23 +0200 Message-ID: <1275646103.27810.39526.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 874 Lines: 20 On Fri, 2010-06-04 at 12:03 +0200, Ingo Molnar wrote: > > The only 'interesting' issue I can see here is that if you create 1000 > > CLOCK_MONOTONIC namepaces, we'd need to have a tree of trees in order to > > efficiently find the leftmost timer. > > Realistically Android userspace would create just a single such namespace for > all the untrusted/unknown/uncontrolled apps, right? Possibly, yeah. But it might not stop someone else from create an insane amount of them. So we do need to deal with that, and a linear loop over all timer bases, which then will be a user controlled quantity, just doesn't sound right :-) -- 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/