lkml.org 
[lkml]   [2011]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 2/4] ipc/mqueue: switch back to using non-max values on create
    > Commit b231cca4381ee15ec99afbfb244fbc0324869927 changed
    > how we create a queue that does not include an attr
    > struct passed to open so that it creates the queue
    > with whatever the maximum values are.  However, if the
    > admin has set the maximums to allow flexibility in
    > creating a queue (aka, both a large size and large queue
    > are allowed, but combined they create a queue too large
    > for the RLIMIT_MSGQUEUE of the user), then attempts to
    > create a queue without an attr struct will fail.  Switch
    > back to using acceptable defaults regardless of what
    > the maximums are.
    >
    > Signed-off-by: Doug Ledford <dledford@redhat.com>

    NAK.

    Commit b231cca is 3 years old commit. It's too late to revert.
    Moreover Commit b231cca changed hardcoded limit to kernel knob,
    and this patch do reverse. Of course, latter direction changes almost
    always bring us compatibility issue.

    commit b231cca4381ee15ec99afbfb244fbc0324869927
    Author: Joe Korty <joe.korty@ccur.com>
    Date: Sat Oct 18 20:28:32 2008 -0700

    message queues: increase range limits

    The right way is to create new knob likes mqueue/msgsize_default
    and to separate default and maximum value.
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-10-25 03:03    [W:2.855 / U:0.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site