On Mon, Feb 2, 2009 at 6:32 PM, Giovanni Scafora <[email protected]> wrote:
> 2009/2/2, Tobias Powalowski <[email protected]>:
>> 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 <[email protected]>
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 <[email protected]>
    Cc: Willy Tarreau <[email protected]>
    Cc: Michael Kerrisk <[email protected]>
    Cc: Bron Gondwana <[email protected]>
    Signed-off-by: Andrew Morton <[email protected]>
    Signed-off-by: Linus Torvalds <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>

Reply via email to