Messages in this thread | | | Subject | Re: suspend blockers & Android integration | From | Peter Zijlstra <> | Date | Fri, 04 Jun 2010 12:08:23 +0200 |
| |
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 :-)
| |