Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3233702imm; Fri, 20 Jul 2018 12:30:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfNARczg4fC42rFGrrG2nXhiuG/v+PZMIPI103UZN7C5X0C9qnU0wCxwyJx6wsjbg8VUhwK X-Received: by 2002:a63:6345:: with SMTP id x66-v6mr3284922pgb.43.1532115053850; Fri, 20 Jul 2018 12:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532115053; cv=none; d=google.com; s=arc-20160816; b=bbv5nbhkxIBR3DoWXJosKYO+3YUMW/xy12Zl6HzSIPBEWY+Gjrl43q6U1CvqficrEz iHnulD8Rt4OH4eSJXopBt4+5Pw2ngOIV4jUNfJxMEq3di/JV02U9lRFsRczdGLfAD3dU LJOazn8AsTMcRM0gG2ZhMBEy7zIro3feXVx8BXtgJTMDY4RXALI/SxgQwezD2waCRqbl Hg5OCteHcEibQIUsB/+IjXjcbACKr563X47XSC/JJtY4txMZFpMVaznB7uSaRU7O7Vwm GWDpHLwry/TY64OvFo5NDYxiWqXnrxCef0rtjXiVFQRVEyHQiV9dZJwfa7ChLKLhK40e USUw== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=Hfv8iXWxJRvkVANYT09nJTSncmxfRro3EtpkkGNn9RI=; b=mLINhxgJRl0PBHsnGPK/jqZ1CPKMp65nrq3U9r9HpuYNulbM01mfeceH2ulqGZBZSB /TFIHlrISjA6QTm8kLdpKgARAozAygfwwYUu0voeCvNPsRGJKtqAU11CkMt72jepldVn pK+YOoL+8htH0s32EiEeYbr43LobRhXz4zTv2WyWL8kOq6S5jsnJ7t+r8Fo/aqrqkKPD FDqI0ch1eTE5U1U0bouVtKUZ0nrchlUhOyusfKPr54Me83qHkLDnUIPkHv1wSyAmI1ZJ nS12+I0NKwjEFDYnvsCEcDF9yJWU5RtTSxQ+wmMKj8oKhxuD2z9SqTYYRlCycExr9qff Anlg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15-v6si2447496pgo.574.2018.07.20.12.30.39; Fri, 20 Jul 2018 12:30:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388500AbeGTUTg (ORCPT + 99 others); Fri, 20 Jul 2018 16:19:36 -0400 Received: from mail.bootlin.com ([62.4.15.54]:34841 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388180AbeGTUTg (ORCPT ); Fri, 20 Jul 2018 16:19:36 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 2A6C62097D; Fri, 20 Jul 2018 21:29:54 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (unknown [37.173.220.171]) by mail.bootlin.com (Postfix) with ESMTPSA id 9C2E120717; Fri, 20 Jul 2018 21:29:42 +0200 (CEST) Date: Fri, 20 Jul 2018 21:29:41 +0200 From: Boris Brezillon To: Janusz Krzysztofik Cc: Miquel Raynal , Tony Lindgren , Aaro Koskinen , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Linus Walleij , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Artem Bityutskiy Subject: Re: [RFC PATCH 4/8] mtd: rawnand: ams-delta: Optimize pointer resolution on read/write Message-ID: <20180720212941.628600da@bbrezillon> In-Reply-To: <9888773.rgnYII6m0f@z50> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180718235710.18242-5-jmkrzyszt@gmail.com> <20180719082538.222396bf@bbrezillon> <9888773.rgnYII6m0f@z50> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 20 Jul 2018 20:14:55 +0200 Janusz Krzysztofik wrote: > On Thursday, July 19, 2018 8:25:38 AM CEST Boris Brezillon wrote: > > On Thu, 19 Jul 2018 01:57:06 +0200 > > Janusz Krzysztofik wrote: > > > > > Further optimize processing speed of read/write callback functions by > > > resolving private structure pointer only once per callback and passing > > > it to all subfunctions instead of mtd_info. > > OK, I'll call it simplification (the code looks more simple after that, doesn't > it), Yep. > not optimization if you agree. > > Thanks, > Janusz > > >