Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754176AbeAKMHj (ORCPT + 1 other); Thu, 11 Jan 2018 07:07:39 -0500 Received: from mail-by2nam03on0083.outbound.protection.outlook.com ([104.47.42.83]:18944 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753154AbeAKMHh (ORCPT ); Thu, 11 Jan 2018 07:07:37 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@cavium.com; Date: Thu, 11 Jan 2018 15:07:19 +0300 From: Yury Norov To: Andy Shevchenko Cc: Andrew Morton , linux-kernel@vger.kernel.org, Rasmus Villemoes , Randy Dunlap Subject: Re: [PATCH v1 1/4] bitmap: Add bitmap_zero()/bitmap_clear() test cases Message-ID: <20180111120719.johxsu3jg6chbsjz@yury-thinkpad> References: <20180109172430.87452-1-andriy.shevchenko@linux.intel.com> <20180110093405.zhz3smxy264kmghv@yury-thinkpad> <1515589905.7000.847.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1515589905.7000.847.camel@linux.intel.com> User-Agent: NeoMutt/20170113 (1.7.2) X-Originating-IP: [42.107.81.91] X-ClientProxiedBy: VI1P189CA0034.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::47) To SN4PR0701MB3838.namprd07.prod.outlook.com (2603:10b6:803:4f::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f7b66e0a-244a-43bb-0fa3-08d558ebe6e0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020065)(4652020)(5600026)(4604075)(4534095)(4602075)(4627191)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020);SRVR:SN4PR0701MB3838; X-Microsoft-Exchange-Diagnostics: 1;SN4PR0701MB3838;3:2FKvH/q7OpjezgE/LF+d68THOjV2CKnuJF8l7dIlHA6wsqjIOSQK1AW95NhpMcJNvkAS8ItkPGABoOOLzLM4+Z34tc82QO8720hgrV+7cCkB4qOyrwlLtn4YkibsDmE0hzpiWG3S1zTLsRh+PHflSA1GfL2FWDTHliS2EJDtUgWoCJZbhKSr8K7achSy6/ZGilcZG7WCeCMxPrcDcP2iQvCZK8gQDfzfx1TU3vYraAV0bYpdQXWOo69AWnrIPWZD;25:OmXq+AsJlBCekAiqGimH2pntoTz6/qmJoIBVU1RaTab9fIg5KnHQ/3Sv4d0++9n8MMbZVRrfdcOYuGwIDnXra9IEZLPFDvqNCEx2Qz98SyCuRK5hViL/nbTRqePj3gquVin1t6d588ifUjKPI3gXNai0Ib9/4YULT7HYFG8qyifG3QlaJ5h8RwyWo5vG9WuJCjxsWQCX3VKRl73UbN+GKgemssmr/rirEy6gZvIX87J4sHgD2amanF3DA98Z3r0OuA/l2GzmVD0gwKS/i6XWzgX6FmDAZdqpajwEybG1P2BK4WQ4f5kkIPsXrZXxaQK9Q8cpSWBPH9eRqHhaqCme1w==;31:GadcwwoNgcV/FLagOsZbmC5gpA3yejnGi4n+le/cJodbeN1FOCYPD/IVi2pn2KK6ER70RxhTNeWzL0KwHNUmKUPWge8YoLESlPyQm+Tdth5pm9u7vpPyr2qzSNs56CRwaJCjwq1vdS9iDeNtYAZEKYNPXz/bgv9CWAaR106OORRMR7P4YQ6ocZlrwLT8CheqrKrGBXkTu8KwT4Fqwdk+sskYjAjGwMlCUSHgl1FPQho= X-MS-TrafficTypeDiagnostic: SN4PR0701MB3838: X-Microsoft-Exchange-Diagnostics: 1;SN4PR0701MB3838;20:kdYNLa7/q7ri/9Ec5QZ2r31d506znKHcrsHw004i4p55stmW4npOInryT9f6iqdSeMphhJTOd4uf4u8b/jL6AcLhCNla1zb1k7wLiCBkS666PpevcIbI86/WCY/LjuNaeoGyOmhn64+VlH2/SKqYEOcN6iStUQXGByTCyhQ4S2czKPREswQIt2rcTV/IuuSs+npktsh08RADxeE1rHYeWYaTCll9zaHlIh5fC4VXWjajxORc1pcAO67JOv5V141BtDQK8CnT/7Vk2m4v5kwxofktnDjEeM/MLDeKyMZsVkgYsNLfdxQYk/5jIigFfB3bu0V2qcF3zcUL2gOhO06bjHtk4Zzg51JUqmDAS6pb1msRl9i11xtZfZCUtz5lOwqBjzNz+QWedTQG/ZwoF418iAb+HYAmANij5cnBPESqY5/O+I+KhxcREA0La0vuvUhZpvBGTjyCWy1WiiX0qP0B52eottlbiRNIF7ClfEV9zIUDfMwRTc24z9HohIq9+qy2b7Ult/nwSOL62WnhvKNq9MYfPj/tQnZ+V5j39WoGkShMN5X2mDLpcO/u9ZrIIXc8e/ShPuh6YVvm2Owvqyr+zyfHfxJ/7Qowktg+RWDs/6Q=;4:llnS3sEC2iaxQQVuO1tcYPyACoiDn/4N9sN3pZl11xCgzw27SB7XPWcS5y7G52VXfACckPViM48PBICt5mH8wDUoingDPDslMoySxJrGWT/b/0uNRruBPnEUZvW0r1YyaKNfoSNKJfOSF/PswBu2CJUpCfkV7XVGZhQO2AU9MSqB57wOaZJuSCh68Lt1aH1pcFwtQ5jOvEFwNQU9tc28OjkTN+WV+xp3FCP0aHVBhwv3CRIhSOVCqBXq3uq+5AIS1a7HaTENyHaL75s6R48QFA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(8121501046)(5005006)(10201501046)(3231023)(944501134)(93006095)(3002001)(6041268)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011);SRVR:SN4PR0701MB3838;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:SN4PR0701MB3838; X-Forefront-PRVS: 0549E6FD50 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(7916004)(396003)(366004)(376002)(39380400002)(39860400002)(346002)(199004)(377424004)(189003)(24454002)(54906003)(8936002)(72206003)(2906002)(83506002)(59450400001)(53936002)(6246003)(16526018)(68736007)(106356001)(229853002)(105586002)(9686003)(81156014)(81166006)(33896004)(33716001)(478600001)(76176011)(7736002)(16586007)(76506005)(97736004)(305945005)(386003)(4326008)(1076002)(52116002)(8676002)(58126008)(47776003)(50466002)(5009440100003)(6116002)(5660300001)(316002)(6916009)(2950100002)(3846002)(6666003)(23726003)(6496006)(42882006)(6486002)(25786009)(66066001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN4PR0701MB3838;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN4PR0701MB3838;23:eujYN2XhaMVvm/iZBaW8HlfyaWlVZHTeb8HjBHJ?= =?us-ascii?Q?wYx9OmeQhYt8I/u/eeFhwuEL8oxY/MGUJTWXiTZTN9lW3NRm7j3BK4OfYk/x?= =?us-ascii?Q?UXM63C6uewf945vCZOyWV+j4dcull7TZ9v36zSqFBtB2X1qB95o1LHQJnGiU?= =?us-ascii?Q?opn62Buwvb+oTsMt8bnA6L32lN2o6Uqt+r1qTPItPsJ9BnVBcKUEaCPSllyF?= =?us-ascii?Q?YRY53aMCPm3NwJ3J2aRggegSqz0gvOlfzp2Y41q9fXOHjOOQrbJe6w+DMDmt?= =?us-ascii?Q?cJNkYeSHCnmb4qpmG/aTZcwLz3jzsEvdrsmpdqDzQgr7crl6zA3fKHPqd0lt?= =?us-ascii?Q?qgMQS9w9dEYUuSG1NbErSbFmyKcDH4mV12sCSmF2MTusqa0s8A1nQDrLulyX?= =?us-ascii?Q?7OmTU17FBPvuqzUkJkH1GD39uopXF4l6msiZdVjyVox68crBjnJFaQoWWS0d?= =?us-ascii?Q?xN4GlvjiLeEkJmGhJvwbe6MN0kjtooQLm71iYEG4i/QwYkukivzmJ2VfdwAd?= =?us-ascii?Q?ncnOYbLBjbVUWhUBPTKgbM8LkvqZ8Oz5EntPQnCXvbHnYVOVRbCZAOuj0Sqh?= =?us-ascii?Q?MFcoc/eOnXVjbUqDoignTJL7uP1uMdl73fbt1NssurKn0WQCy9TJO5Nq2oIv?= =?us-ascii?Q?iCojO8lcKvP8nakFwPY92KFYS176VTdc1zW+jKsnfUVQtBxakbfcbz83KQEf?= =?us-ascii?Q?wKuC6f3V+8pglhsd1XfmvyIDRlV0h5yNhhezS5LN3rFeW569CmaGsD7lBlat?= =?us-ascii?Q?ZTn9IpC1IgeaUjzK717SepmoRMWSAwB62OTiblJouqTJd567rXyyRRqqrzba?= =?us-ascii?Q?YYF18y/OiqY5q6I6/CmAYIQFqNQPQIXCj+KeJmyQT2C4cx90oopWeoFHQgUn?= =?us-ascii?Q?xr6LywWiNHq7y6CVJGgH/M6Zv5L5asd08nkr23hYZel6w6skpU2ANlSz1QBw?= =?us-ascii?Q?E6Clgw5MIKj3X/2gJoyLM1Aso9/MHOAeaMuvSZjFhENGtdk0e78pPoInXvFG?= =?us-ascii?Q?lHzJuWGLywUhs99sttKG0lXitjKDbwWQN3Jf0hCTIl8G9+QSFg24r/wKhEYj?= =?us-ascii?Q?V2etNeqKg8N+ij+h6PZ8hpxYTbFxOXeoWjQYgzu4As5298xZB/5uMR7aaFNS?= =?us-ascii?Q?+5bL0QnAeWpu/T5fRPbJjv4Ym51VQbV8RLD9kbBQUzu2IqccAkaJMn/LqhML?= =?us-ascii?Q?NtnHNabN63d2xx6Xd70WyTEzZk4q3JQo9KyFtb03L+CnsC0pUJlqR9gpTdin?= =?us-ascii?Q?liScSY0FnPPNLo/7gmda1Jej9XDduIaMiuTVCQSU+97smkFa1GKv5g/EK51/?= =?us-ascii?Q?Erhiim8neaCDGnSO8MC4CWGQoYEQXUIrROpOvkzhQiKxeieA6biL0518+j6e?= =?us-ascii?Q?WrqZrjg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;SN4PR0701MB3838;6:ARVMvmqdkz90NXj29+s95BzQFETXioQazLOgrrV0vyjbzKZOBOlv8qBqHk1ekxXzgl5apNTxwQGQ50adgvxzzinwys2VqJ72IhU2dUJYMMeo9x88EPSLVsY9OLnIcIRmA0hisinAq52srMbWRuR8akP5hLuE1pTpN3NutHBiuLMfkLdPHQi25ew0piEFQ8Bn3eAYA0a5yvh/LOpc2wwOaq2TAL/tOSEkYsuLdz4RjJkz/zcGXcgUl+siqQGxnMSnxlGeEDXrS0yRvIbd/yl6b5UJEFGKRAhb9vqk7GRpnW1vo/P7Rd10dvCpI0m2XTrta2jXzd2G5Yl/InYXTtZavLZVqNgisbA3cLfUmavOugE=;5:EkhxLiGezVpZGzBvLlXi4ocURSu3tGmPL492jw7+CaB7ilUYWhwNqyAcvRjQM9oEoxu76IRwe9diAtAOjLltHO7mJ1wZLGW5SgxPJuKoB316pX6Q1QuDDpi2tO643hvYVnCEYdaOM9JZ7gE8BfSjZsBc/mKyzJRNc7iKKp2GVmc=;24:5z6c1f0Dbtzg0qBlsJiCBRy1761g5OX3jaom7GziztlrLLfYgbOw+XaGvgrpwqJuJ+PN51dKMLB3XYQX9GUkdZorTzo5MOO7gImYdLoqo2o=;7:0n5NvMSJL7Qri23thid/TnXnvbwkQYf3jOgVeeHic9sKw/EheVqgfewzS61lk88AB5fNAmANXp5SyeyJgwd3QyYDrquiCqD4FpF9R2YUhPl+1+zj2+yCst7YzWklNbWfKOxwZXNng5V4fdWHmNvQCJHuVvTmVMx2rGIHHi3xfcBOHq2aq5uQj1td6AyL4r4yy/VP+vuVJXRqj0GDoQg/y/8iTkCOwbNtUwqf6mOLzdSmUMJqcbqws2vLTs98uciw SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2018 12:07:34.3826 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f7b66e0a-244a-43bb-0fa3-08d558ebe6e0 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR0701MB3838 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 10, 2018 at 03:11:45PM +0200, Andy Shevchenko wrote: > On Wed, 2018-01-10 at 12:34 +0300, Yury Norov wrote: > > Hi Andy, > > > > On Tue, Jan 09, 2018 at 07:24:27PM +0200, Andy Shevchenko wrote: > > > Explicitly test bitmap_zero() and bitmap_clear() functions. > > > > + /* Known way to set all bits */ > > > > Nit: if you start your comments with capital, proceed that way till > > the end. > > Right, I have to keep the original style. I'll check this. > > > I don't understand what patch #4 is doing in this series. At the first > > glance, it may be applied separately. > > It fixes test failures found by patch 2 in the series. > The idea is similar to TDD. So with current order, patch 2 introduces regression that is fixed in patch 4, is my understanding correct? This is not the best idea because it will break bisectability. I would recommend you to change the order and move patch #4 to the begin. Also it would be reasonable to leave a note in patch 2 comment that it causes regression if applied alone. Yury