From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A606C3A59F for ; Mon, 26 Aug 2019 23:13:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2CA20217F5 for ; Mon, 26 Aug 2019 23:13:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566861235; bh=p0G3APvT967XPqQTYxQe8KtZatxWY2D6NoPY2nad95c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Jwpcnv8Cf5b147lC9amGbx6Fbr1O5uwPTHjXkgvd1d+GdkVkKURtJ55hVpwz2CUPu KoqSjZBqbkWPArQq6/0LsJYvWRmX5QYCrJ/JUB9MZvUELTCLu8rhsjP8CmL1hJExNC +BPrgoWNuB1qiQzHwpZHJVsU5/w8Ba7iYj+IYeig= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727115AbfHZXNy (ORCPT ); Mon, 26 Aug 2019 19:13:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:44554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbfHZXNy (ORCPT ); Mon, 26 Aug 2019 19:13:54 -0400 Received: from localhost (lfbn-ncy-1-174-150.w83-194.abo.wanadoo.fr [83.194.254.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CD85420850; Mon, 26 Aug 2019 23:13:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566861233; bh=p0G3APvT967XPqQTYxQe8KtZatxWY2D6NoPY2nad95c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mD7KJPGevzJp+h17FPIrIbyBIBZykEZ0TjRYc1q+r4CN6k8NOVagYlDbkukzxACxO HYgqx50HTqml8AeZBiuVD0BiT++PQ80wSwnK7vhqZOEV0odOh3dQq1KGo4Aj1XoxJa GCr3Qf2w6tLpmjR4x5TBMGNR9p9AYsbF5GPhBhTY= Date: Tue, 27 Aug 2019 01:13:51 +0200 From: Frederic Weisbecker To: Thomas Gleixner Cc: LKML , Oleg Nesterov , Ingo Molnar , Peter Zijlstra , John Stultz , Anna-Maria Behnsen , Christoph Hellwig Subject: Re: [patch V2 36/38] posix-cpu-timers: Deduplicate rlimit handling Message-ID: <20190826231350.GK14309@lenoir> References: <20190821190847.665673890@linutronix.de> <20190821192922.653276779@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190821192922.653276779@linutronix.de> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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-off-by: Thomas Gleixner Reviewed-by: Frederic Weisbecker