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


On Tue, 27 Jan 2009 22:57 -0800, "Davide Libenzi" <davidel@xmailserver.org> wrote:
> On Tue, 27 Jan 2009, Davide Libenzi wrote:
>
> > Or, like Willy said, make (for -stable) the default unlimited, and
> > let sysadmins to put the bounds if they feel the DoS can apply to them.
>
> Whose patch follows ...

ACK.

Solves my problem and my "advocate of the poor suffering sysadmins who
have to track down why their stuff suddenly broke with a stable update
hat" problem as well.

One wondering...

> - 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()?

Thanks,

Bron.


--
Bron Gondwana
brong@fastmail.fm



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