Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3165636imm; Fri, 20 Jul 2018 11:16:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcZDVr9ATvpsUCH8aZPrJSdJJ2TRGxdCAD50ROkCuXsiDCvmPmKW2RCJowok6nd40us3SQb X-Received: by 2002:a17:902:9689:: with SMTP id n9-v6mr3145719plp.128.1532110583221; Fri, 20 Jul 2018 11:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532110583; cv=none; d=google.com; s=arc-20160816; b=WuCtJLSjYXGSCfdBjm85G0cCFbAyMBLWcp0xZnhmS0O82iSPD48zwBdhcE9LAQGCds nvs/RbQ68Zwp87NAp5qQO7gDS7cb2aYVaKBiINz2FlnG61UdfgsP1yLDzhVZJAx7UXPd tAVc9KgPWbf4h11mJ7CXZ9aDWKHykL84UQ6CZFvlFWNq/6DOvEawSxoVggILxlxiWvZ+ 4oWXoe+eEHU4O94bnxVGYzGW2PnyJ54602ebfbJj+/vqG6oZ7AM4OW6xcaQXKScw5OmY /IZebwITW5xj2MEDx2kX5lv3N8MQd7f3RW5SKXWYcaXdqQpdQDtBv7BmIO2toXOAxjFb /Zuw== 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:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=c1ddH9FrDCfBrbcDe40qYS/oJ+v2+JO9NyIPEdd9YbM=; b=TCmkD8COvFrHh40IbEmCnTX9rLRPF85T2CIGTplW5L5yK6hBCnUlbEka3KgH6jify7 jMxofZpv8yBEREQZ6z6nL5B51AULLX/t0KWvf1q1dyMnO8c3ETBEkg6jdf8IrpgWrGZE 6Yw0DNTDy3iNCLwwbE7ty9XWsnogr4Ts0MNoPH/TdF+vPuEhI6Bo2LI2zGf3ApqCjpUe cXIpmnwMnx7E622b4DaHowSP7rH39ypLAyhjviXtWN9/QtoMhaNrAGJ/bR9d4pZ6iiIL U+vZSM1XU4P7CxAPfFk844QupCVH00pusxB7RHWMDqlbRqyx+ePLJO7SwJvqLU/vqc8B A2Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="mrzc/oxf"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t66-v6si2364979pgt.181.2018.07.20.11.16.08; Fri, 20 Jul 2018 11:16:23 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="mrzc/oxf"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388286AbeGTTDl (ORCPT + 99 others); Fri, 20 Jul 2018 15:03:41 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:41543 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388065AbeGTTDk (ORCPT ); Fri, 20 Jul 2018 15:03:40 -0400 Received: by mail-lf1-f68.google.com with SMTP id v22-v6so2387213lfe.8; Fri, 20 Jul 2018 11:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c1ddH9FrDCfBrbcDe40qYS/oJ+v2+JO9NyIPEdd9YbM=; b=mrzc/oxfppRNTVf9NGdO3pUNyex+EHcx3NWP8qs7jFqya09WeTCaOxs1BMeg6zfQM8 aLGPwIgJD6vgO1USVAqAz1INa2DwaZ/fF74Ee3C8nfmmQ7Yy2Tb545Cli5FhK1O6c8C9 7HcbtqoQVfGJ/5qxQ/lSPL//d8h0uRzeHaepM3WNfEwZ1gtTvAJDx1ZNaWe0WuVnrhFk BNqyW1lQsncctayVNTmJYkXb6n3NnGyTOHWsMxtOsIs6bQfoVCrV4r1EjKlM27kKP/06 rTWVyAAnUmACkXNrLAHkQRI0GBQmv84VTsRILwC/LsyLpfbMkNWt3bR15J+dFTSnV3qU wG7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c1ddH9FrDCfBrbcDe40qYS/oJ+v2+JO9NyIPEdd9YbM=; b=bs5RQ726S2IskGx1/bL/Z7RdBaac6gEJP/WtVDIHM0R918OKOPBHDWPR3wb6ZkpP57 rdB4At2ZWG76o+jytngf8QXtO4nnrxIJL8j6W22Titu/bRIfVLm4wHCnvMGiT5WCYVQs XDIKJQCUNxAztWjnsA/BhhxfnU4tJHIO8Qc4spBoF0JYnbqM7gPKXFVJeZBIDrYNQh5S OS6kC+uXwWeS6widV9W5UbxyXbkYusEvgAawak285cEXfOMQfBh9Q3lapaEN2K5/PAC1 VS2u9Brg5tIN4Zjltt3Sf5KJXuHE32SC6SklY7a17OYfokgJTdH0f39tQQ0KDjTFMR0F BJjQ== X-Gm-Message-State: AOUpUlH5WDwb6OQ5IoymM8B+FRXa4Q7O/twzY21XvaGU84nmp7Q84EtF J//pOpMWtAm9otqxCaSBxXQ= X-Received: by 2002:a19:d44a:: with SMTP id l71-v6mr1964292lfg.28.1532110453372; Fri, 20 Jul 2018 11:14:13 -0700 (PDT) Received: from z50.localnet ([31.0.82.186]) by smtp.gmail.com with ESMTPSA id l141-v6sm384165lfg.55.2018.07.20.11.14.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jul 2018 11:14:12 -0700 (PDT) From: Janusz Krzysztofik To: Boris Brezillon 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 Date: Fri, 20 Jul 2018 20:14:55 +0200 Message-ID: <9888773.rgnYII6m0f@z50> In-Reply-To: <20180719082538.222396bf@bbrezillon> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180718235710.18242-5-jmkrzyszt@gmail.com> <20180719082538.222396bf@bbrezillon> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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), not optimization if you agree. Thanks, Janusz