lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0901271942270.20262@alien.or.mcafeemobile.com>
Date:	Tue, 27 Jan 2009 19:46:18 -0800 (PST)
From:	Davide Libenzi <davidel@...ilserver.org>
To:	Bron Gondwana <brong@...tmail.fm>
cc:	Greg KH <gregkh@...e.de>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	stable@...nel.org, Justin Forbes <jmforbes@...uxtx.org>,
	Zwane Mwaikambo <zwane@....linux.org.uk>,
	Theodore Ts'o <tytso@....edu>,
	Randy Dunlap <rdunlap@...otime.net>,
	Dave Jones <davej@...hat.com>,
	Chuck Wolber <chuckw@...ntumlinux.com>
Subject: Re: [patch 016/104] epoll: introduce resource usage limits

On Wed, 28 Jan 2009, Bron Gondwana wrote:

> On Tue, Jan 27, 2009 at 04:35:19PM -0800, Greg KH wrote:
> > Can you resubmit all 4 patches, and cc: the epoll author, Davide?  He's
> > the one that needs to accept these changes.
> 
> It's three now (two of them deserved to merged) and re-ordered so the
> first two are trivial and the complex bits are easily skipped if you
> don't want them.  
> 
> Just looking for Davide's email address.  Found it :)  I'll follow up
> this message with the patches.  I'm not going to CC everyone else again
> - but I'll CC LKML so you can follow it there if you want.

I already gave you my opinion on such code. There is no need for it. If 
your servers are loaded, in the same way you bump NFILES (and likely 
even other default configs), you bump up max_user_instances:

$ echo NN > /proc/sys/fs/epoll/max_user_instances

It requires no extra crud in the kernel, and it works pretty darn good.



- Davide


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ