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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 B2442C54E8B for ; Tue, 12 May 2020 12:48:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 975B820674 for ; Tue, 12 May 2020 12:48:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729963AbgELMsa (ORCPT ); Tue, 12 May 2020 08:48:30 -0400 Received: from foss.arm.com ([217.140.110.172]:54386 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729461AbgELMs2 (ORCPT ); Tue, 12 May 2020 08:48:28 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 94D1F30E; Tue, 12 May 2020 05:48:27 -0700 (PDT) Received: from [10.37.12.83] (unknown [10.37.12.83]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 83E933F71E; Tue, 12 May 2020 05:48:25 -0700 (PDT) Subject: Re: [v2] memory/samsung: reduce unnecessary mutex lock area To: Markus Elfring , Bernard Zhao , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, Krzysztof Kozlowski , Kukjin Kim References: <5a12fa12-f4e0-c941-b22b-33436723b44e@web.de> From: Lukasz Luba Message-ID: <113c5695-5415-03f2-c99a-b394b3118d33@arm.com> Date: Tue, 12 May 2020 13:48:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <5a12fa12-f4e0-c941-b22b-33436723b44e@web.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 5/12/20 1:32 PM, Markus Elfring wrote: >> Something like: 'memory/samsung: reduce protected code area in IRQ >> handler' for the subject header would be better. >> Then in the message explain (without 'maybe') that it will speed-up a >> bit this IRQ processing and there is no need to protect return value >> or printing. > > Do you tend to prefer smaller lock scopes for nicer run time characteristics? Yes and I am probably not the only one. Of course it consumes time, to make and test this kind of changes (so it must be in my current scope of work). Regards, Lukasz > > Regards, > Markus >