Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933205AbbFIRie (ORCPT ); Tue, 9 Jun 2015 13:38:34 -0400 Received: from mailuogwdur.emc.com ([128.221.224.79]:45649 "EHLO mailuogwdur.emc.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752355AbbFIRi0 (ORCPT ); Tue, 9 Jun 2015 13:38:26 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd53.lss.emc.com t59HWITZ005294 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd53.lss.emc.com t59HWITZ005294 From: "Hubbe, Allen" To: Bjorn Helgaas CC: "linux-ntb@googlegroups.com" , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , Jon Mason , Dave Jiang Subject: RE: [PATCH v3 02/18] NTB: Add NTB hardware abstraction layer Thread-Topic: [PATCH v3 02/18] NTB: Add NTB hardware abstraction layer Thread-Index: AQHQosJl2bUwWlTpgEaLtsb7GD1SYZ2kpyYA//+/bwA= Date: Tue, 9 Jun 2015 17:32:01 +0000 Message-ID: <40F65EF2B5E2254199711F58E3ACB84D830FFF99@MX104CL02.corp.emc.com> References: <21347a93355f40d945cf9f565f95e790d9b3bda5.1433838377.git.Allen.Hubbe@emc.com> <20150609165328.GH23119@google.com> In-Reply-To: <20150609165328.GH23119@google.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.225.17] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-Sentrion-Hostname: mailusrhubprd04.lss.emc.com X-RSA-Classifications: public Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id t59Hcbgh030424 Content-Length: 1607 Lines: 27 From: Bjorn Helgaas [mailto:bhelgaas@google.com] > > It was pointed out in v1 that this one patch is over 200KB. Please > > accept my appologies for not breaking this down further. The affected > > components in this patch had interdependencies, which makes it > difficult > > to contain the changes. This change separates the components, so > future > > changes can be better contained. > > ... > > I'm not really a reviewer (I'm only commenting on obvious English and > spelling issues), so maybe the real reviewers can handle this. But if I > were reviewing the code, this patch would be far too large for me to > make > sense of. > > And it makes bisection and reversion significantly less useful. > > Bjorn I'm not happy about it either. I did make a few attempts to split this, so I can say at least that it will not be easy. I really can't change ntb_transport and ntb_hw_intel separately. They call each other, so splitting one driver to use the abstraction layer requires the other driver to change at the same time, or the other driver breaks. Unfortunately, splitting these drivers is the large bulk of the patch. I also tried to just add ntb.h, ntb.c separately, before spliting ntb_hw_intel and ntb_transport. I forget exactly why I backed out of that change a couple weeks ago. I think it has something to do with the wonky make targets in drivers/ntb after the first patch. I'll try once again to split it this way. ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?