Messages in this thread | | | Date | Tue, 27 Aug 2019 00:59:59 +0200 | From | Frederic Weisbecker <> | Subject | Re: [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>
| |