lkml.org 
[lkml]   [2019]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch V2 35/38] posix-cpu-timers: Remove pointless comparisons
    On Wed, Aug 21, 2019 at 09:09:22PM +0200, Thomas Gleixner wrote:
    > The soft RLIMIT expiry code checks whether the soft limit is greater than
    > the hard limit. That's pointless because if the soft RLIMIT is greater than
    > the hard RLIMIT then that code cannot be reached as the hard RLIMIT check
    > is before that and already killed the process.
    >
    > Remove it.
    >
    > Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

    Reviewed-by: Frederic Weisbecker <frederic@kernel.org>

    \
     
     \ /
      Last update: 2019-08-27 01:00    [W:2.086 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site