Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2644722ybk; Tue, 12 May 2020 04:45:39 -0700 (PDT) X-Google-Smtp-Source: APiQypKjq1b6iBH1YdXkpCPzIg1LlwhtFBPz8XN1o+afXvsBzIAteMwZebzlTxvZpeqXw/cbMYBB X-Received: by 2002:aa7:d918:: with SMTP id a24mr14411133edr.32.1589283939434; Tue, 12 May 2020 04:45:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589283939; cv=none; d=google.com; s=arc-20160816; b=rOP+mW+1Pb5y1iFOTEOM7RWYXf1dNxlWnjEZbZfUnKcsEuzqvU6Gv7CrPhq1syyAAy 5z0SB1+NOUhFYZmfGVppW9Ap0iLKrKhDJVXegxAN7Dm63TKkC26WLrUTrLr9YtVG7TW/ kBNnIhv29cVI2IUkpXFtz+58lniBuvOXGI/Ax7WFoWVqr18ArGy203Uf6qKHdiM35QDb g0cgpOsL/9FTJZSxDXcDjWBrZRTL1+z1sNxNc7rf9U9LNxUPmvTvQXI5oxWJNHvB6EZS aOlFOTzo6t8eyBWOCs9DpHZZj4R22hKA7hiGvTkqYiEFJLisNOlnfYdqH189HtcV/vvh C2Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:autocrypt :from:to:subject:cc:dkim-signature; bh=oy28WIvfwz74Q3x+KeZ/9pvQWjJg5tO2igLA/hU70hM=; b=JqUwZl+ftSiUwywf+KbBTLbJMLTJrrNZgMor8s70R0/4qHTaEK7G+eJmegmsY+UJtj YigRtN9xQrYhLZr7y9ssCDffNQrU8ESSM2GDtFYsZ961tNtJT0m1vFNX2vhhGeqS0gf/ aym54XPlapGKzAy6I8OZ9LviRHokt+djmS+L9RlA/EyN6x2AuIX19gpiHq71/4mxXcwF qEDYmzlPkChpdr2gTBBPXI1wBC2d8zJJmMlVaFlGkWW8H8/burP6pJbUFSQWy6pMqzKz SQ7vjSKC2FuFAiLGjqRNBI/vQc8y0IS0zt5pa0So+dPb28zYqylvnLndE9Z0ExjjTLmn HZ8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=Pr+YL81U; 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 cx19si8092147edb.230.2020.05.12.04.45.14; Tue, 12 May 2020 04:45:39 -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; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=Pr+YL81U; 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 S1729632AbgELLlV (ORCPT + 99 others); Tue, 12 May 2020 07:41:21 -0400 Received: from mout.web.de ([217.72.192.78]:53177 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729294AbgELLlV (ORCPT ); Tue, 12 May 2020 07:41:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1589283660; bh=A+4xEyEwZKXYezjnPWr+qg/gcElrcDOJ0XA+qR0Nbvc=; h=X-UI-Sender-Class:Cc:Subject:To:From:Date; b=Pr+YL81UIty3FpX1jV65A6XwyoHywg3HZdQge8ilxlSMS91Gcte3MRvhJOIODJIA/ Ns7qH0925J4T7IMtd9mfJJhQG/ZEAxb8hRt/C3iD4ODYKdCgHdpvaYKGpoYwoLE2qU lWJgt/+HlRpKX2H4yYBElu8eeP+s8KYq3KMpiqnk= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.2] ([2.244.36.232]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LnB9V-1itvKj2Nx7-00hJOx; Tue, 12 May 2020 13:41:00 +0200 Cc: linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, Krzysztof Kozlowski , Kukjin Kim , Lukasz Luba Subject: Re: [PATCH v2] memory/samsung: reduce unnecessary mutex lock area To: Bernard Zhao , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org From: Markus Elfring Autocrypt: addr=Markus.Elfring@web.de; prefer-encrypt=mutual; keydata= mQINBFg2+xABEADBJW2hoUoFXVFWTeKbqqif8VjszdMkriilx90WB5c0ddWQX14h6w5bT/A8 +v43YoGpDNyhgA0w9CEhuwfZrE91GocMtjLO67TAc2i2nxMc/FJRDI0OemO4VJ9RwID6ltwt mpVJgXGKkNJ1ey+QOXouzlErVvE2fRh+KXXN1Q7fSmTJlAW9XJYHS3BDHb0uRpymRSX3O+E2 lA87C7R8qAigPDZi6Z7UmwIA83ZMKXQ5stA0lhPyYgQcM7fh7V4ZYhnR0I5/qkUoxKpqaYLp YHBczVP+Zx/zHOM0KQphOMbU7X3c1pmMruoe6ti9uZzqZSLsF+NKXFEPBS665tQr66HJvZvY GMDlntZFAZ6xQvCC1r3MGoxEC1tuEa24vPCC9RZ9wk2sY5Csbva0WwYv3WKRZZBv8eIhGMxs rcpeGShRFyZ/0BYO53wZAPV1pEhGLLxd8eLN/nEWjJE0ejakPC1H/mt5F+yQBJAzz9JzbToU 5jKLu0SugNI18MspJut8AiA1M44CIWrNHXvWsQ+nnBKHDHHYZu7MoXlOmB32ndsfPthR3GSv jN7YD4Ad724H8fhRijmC1+RpuSce7w2JLj5cYj4MlccmNb8YUxsE8brY2WkXQYS8Ivse39MX BE66MQN0r5DQ6oqgoJ4gHIVBUv/ZwgcmUNS5gQkNCFA0dWXznQARAQABtCZN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f x0n1QFc1xxJhbzN+r9djSGGN/5IBDfUqSANC8cWzHpWaHmSuU3JSAMB/N+yQjIad2ztTckZY pwT6oxng29LzZspTYUEzMz3wK2jQHw+U66qBFk8whA7B2uAU1QdGyPgahLYSOa4XAEGb6wbI FEE= Message-ID: Date: Tue, 12 May 2020 13:40:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:nr0aRieGx1rEENbBLBwLoDX+QXFqpgLMLhbkMbn4ANo3yd24ccF CQM58RfOOMMoju9fJMifKnCzr68v6+tpQaLGhSGPF9six/LniCwhCdayPYMCnXGWclRdt4A mtVW6eHWTdz2WBlfQplX4ItxEEnU6dngi1y2qOWqw48lU/07Ze9pwjPoYsKp0BHuZ8m2A1V tz1YINJ2UOKxEKfjbWbiQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:gogZXhDZGJQ=:pU28Sia5hIOMKCWyNsloQ/ eCuMncCaD9NAKf4iYHNxjniUZiqYWmjnyAiXrO1bDoBjvzpgNgzsbIMdOXcFPHzeNdSOISpNU 6aL6HaE4BRsPOpb7Tt2wpNJtyp8WNcd8PbujqcYHdlBw2QZ/KWj2TP9U0aM/ooqStpE8mkaB/ OTFCHgdAW75Bj9Y3x7glwKKQSUWK9ziETUV+1/t5FYVdX3kdhYPFz5GxP4+VRVK9aAnHwD96h 8YCNxv2Vd+v9W0MEfiraxv1UTQtlowsk+mlMWA/i+CI4Kc00aMU8QDG5KptNJVdob+KeYlmuI dFB72gufxZy8RYXCAVTGU6+oiErneGImwAHuk/TxUPbwALJInK9nQfWuUcZUfbkanNPGTdvG8 dfiZhRnVUMIwnERF6WCVDD6fv1SLGdo9G9Am/LzEBqPW/TVqCyDc0H6mJpeZaK4unPSnNFjTF F6qmUI90Bem8ug1CU2oriQZwEU3zr3/zwOIs2H3wqVA6LxepQR5HcvxotRV/vQ+QQ2pFubkXI LUWqquqOCzZXw/NjK6A1mCg2kyJLPId0rOhXW40uNRa/UI7IdGV5UMIWRIsrF4AfnZFSRBKVi TTPRprK+4HINxIzyeH1qPGgWPPEQT0F1H5Tx5pHqhn0yzuQd/fyGKnw0wC5uMnaNRcV2lqGUH 790MYgCkf/dXGRjY4hHB5+R5kjOGkAulzNr1+rkfi8tq8/PzPt/y9IOHe2cOr7sAgT8U2Ic8Z en+W2NGHJCjamJl5PP5hGPGX1wCftQaJNPsfWREaEbJ5ZzyyVFvH05qSTyjF9RQp//byIs3tB Ho5GlFyC/PLXWXbtdHJGm5/bbijJY8zvTXsuzuTWu0/edIJOP0xC6W7gs6LJWqCaPvXSiVEKH hBC3/VrhvJ2buGmObgbZkR2qa9TKbuKeMtpK/e5y7eR+nwiBCIiIJyay5kB4wn/c5Wj3vUQfr c0jYjmVsU1kzmnntQGViVRc/02GcSeU7fMKC2Zz+HnP29XTcHPY6SQ01eaT0zbnrik29oOQzq X7PQ+25oXCpW9/94I2f82FqNpDVk2DhZkdcfvpWMOzV7FsLYoCzoCjKjfHqC5PpDLzIzlT/yE yj79nSDgD8X0l5/QRLZLYQRb+nh5dJXW8koUtM+svIlrpctop8OBUqJTRKP6XIBVuctkBx8Xg WSCftCupU7rXM3Wn/LCLWcy6g6Rj7NytfLXhriRF5XSrsGqpi/iAOps1EvVrVv+RmURHUETrF RxsCZSq9VQLj/0Gfk Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Maybe dmc->df->lock seems not needed to protect "if (ret) > & dev_warn" branch. Maybe this change speed up the code a bit. I suggest to improve also this commit message. * Please reduce uncertainty. * An imperative wording is probably preferred, isn't it? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/= Documentation/process/submitting-patches.rst?id=3D152036d1379ffd6985262743= dcf6b0f9c75f83a4#n151 * Will it be more appropriate to refer to the transformation =E2=80=9CRedu= ce the lock scope=E2=80=9D? * Would you like to add the tag =E2=80=9CFixes=E2=80=9D to the change desc= ription? Regards, Markus