Re: [patch V2 36/38] posix-cpu-timers: Deduplicate rlimit handling

2019-08-26 Thread Frederic Weisbecker
On Wed, Aug 21, 2019 at 09:09:23PM +0200, Thomas Gleixner wrote: > Both thread and process expiry functions have the same functionality for > sending signals for soft and hard RLIMITs duplicated in 4 different > ways. > > Split it out into a common function and cleanup the callsites. > > Signed-o

[patch V2 36/38] posix-cpu-timers: Deduplicate rlimit handling

2019-08-21 Thread Thomas Gleixner
Both thread and process expiry functions have the same functionality for sending signals for soft and hard RLIMITs duplicated in 4 different ways. Split it out into a common function and cleanup the callsites. Signed-off-by: Thomas Gleixner --- V2: Restore the dropped (u64) casts --- kernel/tim