[arch-dev-public] [arch-general] [signoff] kernel26 2.6.28.3-1

Dan McGee dpmcgee at gmail.com
Mon Feb 2 20:30:41 EST 2009


On Mon, Feb 2, 2009 at 6:32 PM, Giovanni Scafora <linuxmania at gmail.com> wrote:
> 2009/2/2, Tobias Powalowski <t.powa at gmx.de>:
>> Hi guys, new kernel adresses the following things:
>>  - bump to latest version
>>  - changed to new btusb
>>  - removed buggy-acpi-patch
>>
>>  please signoff for both arches

Interesting commit in here, this was related to that apache
segfaulting we saw on gerolde:

commit 273140886a6985eb08245334210550b340daa1c3
Author: Davide Libenzi <davidel at xmailserver.org>
Date:   Thu Jan 29 14:25:26 2009 -0800

    epoll: drop max_user_instances and rely only on max_user_watches

    commit 9df04e1f25effde823a600e755b51475d438f56b upstream.

    Linus suggested to put limits where the money is, and max_user_watches
    already does that w/out the need of max_user_instances.  That has the
    advantage to mitigate the potential DoS while allowing pretty generous
    default behavior.

    Allowing top 4% of low memory (per user) to be allocated in epoll watches,
    we have:

    LOMEM    MAX_WATCHES (per user)
    512MB    ~178000
    1GB      ~356000
    2GB      ~712000

    A box with 512MB of lomem, will meet some challenge in hitting 180K
    watches, socket buffers math teaches us.  No more max_user_instances
    limits then.

    Signed-off-by: Davide Libenzi <davidel at xmailserver.org>
    Cc: Willy Tarreau <w at 1wt.eu>
    Cc: Michael Kerrisk <mtk.manpages at googlemail.com>
    Cc: Bron Gondwana <brong at fastmail.fm>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>


More information about the arch-dev-public mailing list