Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3848938ybz; Mon, 20 Apr 2020 10:33:07 -0700 (PDT) X-Google-Smtp-Source: APiQypIbPULP/9d6ys41mopjllP72Yvr9O/AqYyW8XrPn9DyIwIemUYMuqO11jPcYKqsl0ZGK2vm X-Received: by 2002:a50:b412:: with SMTP id b18mr14977453edh.42.1587403986844; Mon, 20 Apr 2020 10:33:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587403986; cv=none; d=google.com; s=arc-20160816; b=Zleup9TIgj8//2hO0fY8GqhndQ+0PkUN6rcHNQJUuqKW5Aii8cQ3m4HnEGZpkQEgv0 AGH7vkWkqFvxCAXXPxugk3pLyIW98R0ARKt6HM3LFfAXdaO1hR0OH4kx3plUBpR1rqdM cCCIKWE+nuT7/8/fHj7cawRC/cmOzoH0zMYifya69H05Atmrjnmc8zgilr4BzdpdspwR UNnT1RTHvos1F4OJs3S44HTrp6ZRI6dY6GdiVD4HaD9muyAACMXH+ot5oKomkhRYDMfD UZtPrzL6pM0BsmtSi+TZAmHHSv22dj4blaR+nXAVVLFexGuNf3Uc3ulNfKYhXg8Nt0pq sjeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=wd79bFkwjRXMMZfdLWEbUMZz/EvbNCB74qfqyYYpSUk=; b=znOXDyjo4y99nM6YFIFtWhH7+N/UYPGnW2inhecWte3JJdYSm37SUOI4U3vWO7j/OO M6PfnqamOCzAISLfXyR5NnaKeQe/nuZgOh9ny0Qx/hMaf1hhl7dPs3Og7KK/bCMSEpJr 4czZWJv8bNphOm43lc/xwONrFW+fmPplBFpwWlsNxFBvQmgC8AxBDSGUVSZAaNe4No5+ 8FbEC4iseatZKYHJ8b9bTZvftfEviwjnk+8tw1fFIJYHnwpqNkkGNeG91kVqArpSiVyg D91IK45LndcknrCIQGM3alg+LMeVkOKzh7jrDYkQFDh8OHFge8BW4WD+ir+I42J94L3E WsoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox27si946288ejb.128.2020.04.20.10.32.42; Mon, 20 Apr 2020 10:33:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726919AbgDTRbV (ORCPT + 99 others); Mon, 20 Apr 2020 13:31:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726067AbgDTRbT (ORCPT ); Mon, 20 Apr 2020 13:31:19 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ED8BC061A0F; Mon, 20 Apr 2020 10:31:19 -0700 (PDT) Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jQaGL-0003DP-4G; Mon, 20 Apr 2020 19:31:17 +0200 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 81C6F101623; Mon, 20 Apr 2020 19:31:16 +0200 (CEST) From: Thomas Gleixner To: afzal mohammed , Thomas Bogendoerfer , Daniel Lezcano Cc: linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Subject: Re: [PATCH 0/3] Remove setup_percpu_irq() & remove_percpu_irq In-Reply-To: <20200419144638.ysghqzklebkeer4z@afzalpc> References: <20200419144638.ysghqzklebkeer4z@afzalpc> Date: Mon, 20 Apr 2020 19:31:16 +0200 Message-ID: <87pnc2awt7.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Afzal, afzal mohammed writes: > On Sat, Apr 11, 2020 at 09:34:07PM +0530, afzal mohammed wrote: > >> While doing the removal of setup_irq(), it was observed that >> setup_percpu_irq() also can be removed similarly by replacing it w/ >> request_percpu_irq(), which does allocate memory. In the initial >> setup_irq() removal cover letters [1], it was mentioned that >> setup_percpu_irq() is untouched. >> >> After removing setup_irq(), it does not look good to let live >> setup_percpu_irq(), especially since it being a low hanging fruit. Hence >> replace setup_percpu_irq() by it's allocator equivalent. >> request_percpu_irq() cannot be used since all the users need to pass >> IRQF_TIMER flag, which it would not allow. Thus it's variant, >> __request_percpu_irq() is used. >> >> In addition to removing setup_percpu_irq() definition, >> remove_percpu_irq(), unused, is also removed. > > Do you feel that this series adds value ?, if not, i will abandon this > series. 7 files changed, 10 insertions(+), 75 deletions(-) is definitely worth it. There is no point in having two interfaces. I'll have a look at the changes later today. Thanks, tglx