lkml.org 
[lkml]   [2009]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 016/104] epoll: introduce resource usage limits
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




\
 
 \ /
  Last update: 2009-01-28 17:59    [W:0.123 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site