Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934196AbcLUNYi (ORCPT ); Wed, 21 Dec 2016 08:24:38 -0500 Received: from mail-ve1eur03hn0233.outbound.protection.outlook.com ([104.47.9.233]:37277 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757412AbcLUNYe (ORCPT ); Wed, 21 Dec 2016 08:24:34 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rkagan@virtuozzo.com; Date: Wed, 21 Dec 2016 16:23:38 +0300 From: Roman Kagan To: Olaf Hering CC: Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , "K. Y. Srinivasan" , Vitaly Kuznetsov , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , , Haiyang Zhang , , , , "Denis V . Lunev" Subject: Re: [PATCH 03/15] hyperv: use standard bitops Message-ID: <20161221132337.GA16492@rkaganb.sw.ru> Mail-Followup-To: Roman Kagan , Olaf Hering , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , "K. Y. Srinivasan" , Vitaly Kuznetsov , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Haiyang Zhang , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, "Denis V . Lunev" References: <20161220155602.6298-1-rkagan@virtuozzo.com> <20161220155602.6298-4-rkagan@virtuozzo.com> <20161221120044.GA15501@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20161221120044.GA15501@aepfle.de> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [195.214.232.10] X-ClientProxiedBy: AM4PR0701CA0001.eurprd07.prod.outlook.com (10.165.102.11) To DB6PR0802MB2469.eurprd08.prod.outlook.com (10.172.251.17) X-MS-Office365-Filtering-Correlation-Id: e80c8f45-aecc-435f-1f5e-08d429a4962b X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB6PR0802MB2469; X-Microsoft-Exchange-Diagnostics: 1;DB6PR0802MB2469;3:26ezoVFblhbr66y7bMRLK/NvizBoT9YRdB8TokjZEyvYUV2+5d9mhQBWEygO2POSzfZOgEzCTre6JoqhXSspvYbzG/dN30wQdBiukxMpp5p/vgKSEyfrct31OLY6IuUCYWxaUBC4gQOuLUI3eA9qukbD23nWS1MULeF8nUyGqT4ZyUbnJf1/qEU1GBdTK2MzhkuwLuwCzyQZBInvyd1gL9e0p4JJHnA0UZw1NSvA16d/pMnyhoOK9B9MOYcT4PndRnBxmbtqM+iEc7HFQmF1/A== X-Microsoft-Exchange-Diagnostics: 1;DB6PR0802MB2469;25:m45UcqMmf+mixD7LoG51xr1d9qpE8CTtC2QoUVa0SlEKDNeexh90ih9rqAkJfIgKKIhWQyeZEQ/lx7G8DAD9zTg5qWocVYg6uDKGzOxb0a2ljxzHJDSL6renoJh1DqqAbttr3BaNxktE923VJgMswzqvtIBiF3pVJlgaCcfF0PLOIyEYkpM0e7c29HZzDnY15wbRt9UMAPnWUUp7/qWi40LnnYdceuPRMvDfNwzP1+S48dQEba14md8KLoVfe7zmjdDNn+AWFIqIdG2F7N3PVDuswbkNuVFrTBiKP7MM+tbBlJ4sdU2SJDnBgZ9udQtMf++4iZVC8NP1SUaUGVQiZdlYZ/1BYTL/vXrAXx3ZQDrcFz1POO8xN+C0x4YLbtNcCEfQ24cMaKvf1493yzO+gRECGlqvc9FRy2wW+kiPRpvCOLZqG7EL1u3Wp8CJogX+5hu1bBGf0/c+40XKNo+nKwmQmnRGNWAd5Eia6BhDt/7/3s+bpRNrg96495SPoCKifLAeS80ImzT82vBfBxHujXp1Z34DnjdjthYPAwWig094U4a3GktbJ/tHxOB+50c8lkjtr4VTraqI/q8JZQCjCvlCaVkyLEuvNilhmQhWZlhLOuqqWHX1lncFxHJ4GaSaw65vSFdS4p8ghxE/4TlJ22nfj3a4h5BJJ02JXl1r28f7YdVemOyEGSQBVzcToaoXfcyr2XYHN/1yW9Z1XsZAtYkRyfQa3YtwXagIOirZiJvomUSRcxWcP2zUFH9WxqpJ X-Microsoft-Exchange-Diagnostics: 1;DB6PR0802MB2469;31:1yxZN2Ejd9tMoufSFrLn08P6zcba/f0j2aDnSDil90k2ZQI8IDbUaMMfmyvQVloTh/Y/Lq8zQTiCwuL5kSQ7326YHwo2kx+VkMLMr7IwI6t1g9aIXTjPWqBoTMEBn/YWZQrDvwi81lk2HWqcq1wYOYqwrxtmZOfjDp9lclexsvVoZxS2nDulf8OxWtItkEWgdD7c/06qnJVyXLgP/ZGXi1WENbH2NI2weuY9vGU75kwKDA6tFGYsmVFCg/a+jdPf3Ke/Oz/kZSC4pm2hu1gsew==;20:RVXB2UfGhJxcXUVOXRibcifACkmKXrMvMnkWqzFiqUHGoVc57DSnohHCWlf4lSEZkurjUuOsCIC3vIRU3uoKM6n9k3HLs7am5ko/tUDjsql8o1uC+j7FZqNSEh2ITKk9d0gJcA2D8tWpqdFKPL2hA717ic9M7JSwGe3kdkr6Xu3TW4nfpuNh0c0ux4wMHPnhqo+suWDHRROFPQl3clppjfVkbelFekeXaL+cOtiNSGJ4IQIhn6zO150EP9C4x+m2 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123558021)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(6072148);SRVR:DB6PR0802MB2469;BCL:0;PCL:0;RULEID:;SRVR:DB6PR0802MB2469; X-Microsoft-Exchange-Diagnostics: 1;DB6PR0802MB2469;4:BQA//dEtvVyZttFCs9MLIerSXpOd6vRaKuiP1+V+ShMmZdhf9U3loPKo/njarsfFwuZEss+Dd02wzaYEhrTSmJKkfVvgDBdzF8AEFGiuTpHzyCMXMNxQBCKFQHGtH0rqkE+qAJuFyMevWGy8twj+kmo5aIOd8pddgLWKoJcAmkNsmIXtGFPA/svn93FQbF6Y4NocMAVUQalRDQU/10jxp3S6kG9OWtvrgcTxaCexDkwhZdObtwy5AQGI5QMoxWxrccBq3HLPnpyfwlW2ZiA6muLrGZrSh3Uj4kvNfvsMDdGWc59Tc8WPhkk97anWLuVo+yDA2fXfBkZiD207vAhhUF02la5avk8V5YzTTFTO7R16C45+V8VEfQbQs6G14TwFLi7Q+aZNCANnGrhwsI5OdSRsvnT27QFxDJft+//DoDtSXLIHWE3tedXoXoahkytHRgS0GK0j85BgzsbwngvI2Oyb+1h9wdoJbJ4RnQYOkWlvi0vsvgATTG/SC5ebzUYV+dc+HgDKuGrCqvzP0sFCgpeshdNR4KgA++EPe5jW2LIf3iiQdi+rM/sNj1hrczRUkXHat0P9P6TdB9nRaln7ioIfpzOr/xUeQvRLW4YDswY= X-Forefront-PRVS: 01630974C0 X-Forefront-Antispam-Report: SFV:SPM;SFS:(10019020)(4630300001)(6009001)(7916002)(39450400003)(189002)(24454002)(199003)(8676002)(97756001)(6916009)(2950100002)(4001430100002)(7416002)(101416001)(107886002)(5660300001)(305945005)(9686002)(68736007)(7736002)(50466002)(189998001)(54356999)(229853002)(2906002)(81166006)(81156014)(97736004)(76176999)(50986999)(53416004)(42186005)(3846002)(6116002)(33656002)(105586002)(46406003)(1076002)(106356001)(47776003)(66066001)(8666006)(4326007)(36756003)(110136003)(23726003)(86362001)(6666003)(38730400001)(69596002)(83506001)(25786008)(92566002)(6506006)(4001350100001)(30126002);DIR:OUT;SFP:1501;SCL:5;SRVR:DB6PR0802MB2469;H:rkaganb.sw.ru;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DB6PR0802MB2469;23:Ui3sjeABTEcRZVQ5pFixQDU8uBoo0DDIxPcMgbe?= =?us-ascii?Q?EvXh6k6xxrwIbuQwSyMocJqtX6CbjQxh1dp3BP87hAIeMKTflkcaoWZ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YVhs8MHYQ+sP0JxFq+nYRn8B62Ijwyil6xbkWYUID87o8A8dN0LpyrrfVs5hZTMXytwmA==;24:p36QsHxPeENRD6nZ5+fNklFL+VQuZsVLVzCZDvlEbPJ6ormVY8ZOzAWjuz/EPKP/5ogOmA4M7T4wK5el48ikZQ== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1;DB6PR0802MB2469;7:P7Xu675KedpyIK3JVA9wHzdQETg2wIw7YTmAu5S/UQk6GYCVSCJyoHQx9r9wSWQTA25DoK2X6fOlE1pOcykC2aJ/0SRLlcjr6cQXWQRM5zNabt2sqSHOCYmwXnjJFr0vGZGEjwtr709Y+aglYmC+LXMbHjj7HmtH2I0vwg5OOT80kW+nUcLNA9gpRkF31787QAfHrEQpp3AQeCNJtaYoU+UjHTOurCUILvZqmEx0x22YceSA+hHH+LapZhEGUTDhHBwjg8P+2FATMiLPvTpsnZHB6YRoO01w2tcvUK2e/AWENhvoYzzl9AJAyNyVJqyoIzPikfGn6PVXcd214G/XkWpJM1n1s7g12ewbEEJNQgkpxj6bcfykorZN1uxaXJVbRr0jKCRsBe10GW80ZDnOC/aAgmLv0qQDrArxtpzFVMFA0YMwBTkfMkAOYU2wvDHe2g5UtO9TWerhwxdx0dzefA==;20:rTV3ozzTa2Dj3p/ac7HLRh7gECQETj8I8aFw0ix6z6isTscNlFtxDJPbxzKVNZKWEc+rC1Qtyf65whDcZ3upNM2TG4kanCyL5t886CBXdg360oOncqjjn7s7D/idwzPsJWmCYOXZFZOIdUuv2iqNB4fytOpJ8YDofL9/0WPNfBQ= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2016 13:23:42.5947 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2469 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 483 Lines: 15 On Wed, Dec 21, 2016 at 01:00:44PM +0100, Olaf Hering wrote: > On Tue, Dec 20, Roman Kagan wrote: > > Reverting commit 22356585712d ("staging: hv: use sync_bitops when > interacting with the hypervisor") is save because ....... > > > - sync_set_bit(channel->monitor_bit, > > + set_bit(channel->monitor_bit, It isn't indeed. I didn't realize there was a UP case where it made a difference, and failed to locate the commit where it changed. I'll drop this part, thanks. Roman.