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

From: Davide Libenzi
Date: Wed Jan 28 2009 - 11:56:43 EST


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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/