Re: [patch 016/104] epoll: introduce resource usage limits

Davide Libenzi
2009-01-28T16:56:42Z

On Wed, 28 Jan 2009, Bron Gondwana wrote:

> > - if (unlikely(atomic_read(&user->epoll_devs) >=
> > - max_user_instances))
> > + if (atomic_read(&user->epoll_devs) >= max_user_instances)
> > goto free_uid;
>
> Any reason this has become _less_ unlikely()?

GCC seems to make that choice anyway, according to quite a few tests I ran
yesterday.

- Davide