Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp637827imm; Tue, 5 Jun 2018 01:49:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ9LgXBqgVGfT4jGISt7BFTPb26Z2QDn2OWDbyQZcA6xcZOy01Uu81PLt8GA1P5MoA4/e2U X-Received: by 2002:a63:67c4:: with SMTP id b187-v6mr19487035pgc.86.1528188585199; Tue, 05 Jun 2018 01:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528188585; cv=none; d=google.com; s=arc-20160816; b=PV9yp/uhyVHdxOsFBgjKFluWn3PmVNFrcml3TAiYTFXOJHdeGx6zlj2mhLE4sNXVpk ipz+dfBYSTPZn9ySvKd+UAAL4/GGEu3SAnJPjnVFVfJvzrs61brYqdgYe3z7ypAnWdlD 9JUI0M42HbWZtYOnphNYVnUuQdujSTf+/f9XZFG0KMJqjCDzVYXoX7YLQMADjEXC6VjR 80g5Y7ukhxKMWT/NOPkk/1RbAqBkuTFgJW4IQRGD4RuJ7xgiPjcmWqpgnBZnBgq/dXXJ RvkHrnlG3IYTpYyhinCbxfPMy/rM3RJ6F2zB7YCMSrDTIqvKqgVl2xkweM6xfMh8ZnQB 2PTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=0XDk8NPu4mOub1Xx995R+1QrCnAq5Vm6SvMo6Hnj4HM=; b=03kKKRXM7z9ZDv/8LrczSrWXb0UqhRbGlcv22YuL9N2ZX1CfPvy8dtVQ4nZ1ulz5Bx kTHcRxbUHhw2mRitBrf2v9+8D8ArbKdtvvqaeLurG8azqT01HBlT6ie7MAHB5phpqajW xgDtnFqLMorvjFZEZh6jifjEMtM6jdiNqzxma2tiL52A+z/pkQ0gDApWMAjhQbqpxMET 9meLSa5HXxkiNf5eJ6r8mkdR0LYVwqOPpd+uJGjChR8D7ZnqOVM8gRnQVoi+ktHJ0OFe 4uxTG8GiPEMs6dPJVkJsWKkVtE1jP+zUpg0OLLntqD38jqB42c86ylRiUSyt+sh1Yl/3 aO8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=OTKZiNwq; 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=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z12-v6si27980287pgc.134.2018.06.05.01.49.30; Tue, 05 Jun 2018 01:49:45 -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=@virtuozzo.com header.s=selector1 header.b=OTKZiNwq; 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=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751597AbeFEIs7 (ORCPT + 99 others); Tue, 5 Jun 2018 04:48:59 -0400 Received: from mail-ve1eur01on0104.outbound.protection.outlook.com ([104.47.1.104]:49901 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751343AbeFEIs5 (ORCPT ); Tue, 5 Jun 2018 04:48:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0XDk8NPu4mOub1Xx995R+1QrCnAq5Vm6SvMo6Hnj4HM=; b=OTKZiNwq0lLkg9PVFgWGwPBDG76GbYrQzElS36ALhfROCe4iUErXgYboHUkaoM4BjwA5QTNEuK0ohSwKeqE5XzohE0bQaZUCZWvH+5n/F6A8VFMflLzLaJx/tdauoa8dhmrF2I+1e4aIPVwh1FFgfMy2FlkxaVcxn/2A1CpWAyM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from [172.16.25.5] (195.214.232.6) by DB6PR0801MB1335.eurprd08.prod.outlook.com (2603:10a6:4:b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.11; Tue, 5 Jun 2018 08:48:52 +0000 Subject: Re: [PATCH 0/4] exit: Make unlikely case in mm_update_next_owner() more scalable To: "Eric W. Biederman" , Michal Hocko Cc: akpm@linux-foundation.org, peterz@infradead.org, oleg@redhat.com, viro@zeniv.linux.org.uk, mingo@kernel.org, paulmck@linux.vnet.ibm.com, keescook@chromium.org, riel@redhat.com, tglx@linutronix.de, kirill.shutemov@linux.intel.com, marcos.souza.org@gmail.com, hoeun.ryu@gmail.com, pasha.tatashin@oracle.com, gs051095@gmail.com, dhowells@redhat.com, rppt@linux.vnet.ibm.com, linux-kernel@vger.kernel.org References: <152473763015.29458.1131542311542381803.stgit@localhost.localdomain> <20180426130700.GP17484@dhcp22.suse.cz> <877enj9uwf.fsf@xmission.com> <20180601135725.GE15278@dhcp22.suse.cz> <87a7sey3ud.fsf@xmission.com> <20180601150219.GG15278@dhcp22.suse.cz> <87y3fyv88o.fsf@xmission.com> From: Kirill Tkhai Message-ID: Date: Tue, 5 Jun 2018 11:48:49 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <87y3fyv88o.fsf@xmission.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: HE1PR09CA0073.eurprd09.prod.outlook.com (2603:10a6:7:3d::17) To DB6PR0801MB1335.eurprd08.prod.outlook.com (2603:10a6:4:b::7) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:DB6PR0801MB1335; X-Microsoft-Exchange-Diagnostics: 1;DB6PR0801MB1335;3:ZJ2iUbNAWjjQjekbFbE4qeOzXO1npSt9j0GyNej5uXRL1cHVSDJCwQYaL/53BltZTmJ7wDyw63HoruBeKsztBgNMlcF8io6liN1abUAKUJz7HlW7QPphdKLHxsGa5xu+ZHstZq0XeHA9QwnXQ/4YYEjXt7RMzOCQhW+hR3bHQGbWFaqS/hv3fRMe3Zwq75BkI5y3uO6Yfax9pmEK0J0vtg1VafmLKttvexMzLygtSwvJjQjAf6Gd+R7lUTLVeg7r;25:fy56k29Nso8YggMdDh2Q4Fg+N7fBnKQbamhAUSKijP0HNTr27o8y7YKAPeEJZ2xNaVgKFRtw4zG/I2YUUajlr+ZErOUP/lFmp2jJISwjVgQ8qIft8IhR7HD/uAxXjRDdT8XbxY+Xb87Bkam2jG7NR0HoX56k2c/WNfWCeEefwA0p87/EjxakeCTEj+ahAP+Tc/HehTteXmwp9W5FBamTX0k68B1opI85m6tx9jLPOZ9kOCPo0dtfJWj2TQKGug0gIYlrIAKuhkxY0cAQJJ8ar2aelSRo4kYkWPBTRF5mnVUznf4QY+Ji1wtWjUwMp9Cv3hH2rOkhtD0jQ0k3KxwXAA==;31:BbCeqmnlJnlMvwqeEGnOLeH8LQdfIlOCxT0X3VbyxfqC8VA/EBxUguwGusi1vT2nWBW79j27FwDESUiKdYTMQFmfJiaYtKHRcjcxJ2qnkX7OjLgmaxtxGioZtVrMpJAUcU7Oq71zH+a869wLwCuUSwZBmrGd4mo+mbanvxKduFRrti5RL0GaktKKWnrEdyF/ouA8BqWGxVGpMo4XpalkYi7NVX4n1H8yw2zszMrGnvw= X-MS-TrafficTypeDiagnostic: DB6PR0801MB1335: X-Microsoft-Exchange-Diagnostics: 1;DB6PR0801MB1335;20:7GOhjzqwmVsFlVtJjj7FtJerAp2G6TfCoqxm7Piegd2Nkc2chzTi3iwuG1vkUXudxQpDTI5CvvxcMsOUKVM9jWL+QGjodrGCLS2GyZI0KcugiHzlFALnC+82dZayX8tUWJAtacODTUSQcYOOaksD2yJ1gJzWZQvCTMA5y6t1IlreHH5qwmyHTdozFgR/IDyfxFfXxkPbOaU2Ds2hcR0ChrDAh1GoY5sgCDreC20UqXCZORzM+UIf1l35Rxx9RZSIeDQyUgyVIlNFSKIIX4RsjvNvIiM1WurdtuRvQFvH1o/G5miqw6JS4WlKCN7RGo8hO1y+D3psGhGGKjT/fBlyg3IJCbovkyQgwmJ47sGiANBk6Urq9Ztyt9KMev2N+zNTv6x3aM64kexFmRxs07xzAk4kHgXH0eSZanSnzTKxMy54skttKk/RY575iM8++KOuOiPL3KAsL3aLOZY73vy1sLuAfszMOpYUwCFmk4b0QklugDsjBjqGw1awZB8IFrcC;4:QTCGA3rjnARHwcUuPNPcEK+8v/OLR64GRxHr3BhgyfhNgVfBghd8X94Yj7mT1ARRqhmpq9Gqs7GwYLrte+zLkM5GI8Axa5bn6Ky6KrmlOvG8t9I8QXu4GXnUMcmd8/0Yzj+uni5s4OHq6PEaYe+e58NzNrw72/wnmvv33wGtaIF0Z02re5gwF41kmohV869goLuSmNWYEcLvdgMsK4skW88N975cvFKRRM8hjsjLEJhgAPJoeT+j8msLJ1QsiESYpAHnqz48GDR6DHLwz++Q6mvX62Hu5dtUbtisYjwFd8T4voszWP6wfAU6vfJeQOy8 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(158342451672863); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(944501410)(52105095)(10201501046)(93006095)(93001095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:DB6PR0801MB1335;BCL:0;PCL:0;RULEID:;SRVR:DB6PR0801MB1335; X-Forefront-PRVS: 0694C54398 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(39380400002)(376002)(346002)(396003)(366004)(39850400004)(189003)(199004)(486006)(6116002)(77096007)(65956001)(65806001)(36756003)(7416002)(6486002)(4326008)(97736004)(229853002)(66066001)(305945005)(16576012)(58126008)(7736002)(50466002)(5660300001)(316002)(47776003)(39060400002)(53546011)(23676004)(2486003)(31686004)(230700001)(52146003)(52116002)(186003)(105586002)(106356001)(2616005)(110136005)(956004)(6666003)(64126003)(2906002)(478600001)(6246003)(81166006)(65826007)(86362001)(25786009)(446003)(8676002)(11346002)(16526019)(68736007)(3846002)(81156014)(55236004)(476003)(26005)(76176011)(53936002)(93886005)(8936002)(31696002)(386003);DIR:OUT;SFP:1102;SCL:1;SRVR:DB6PR0801MB1335;H:[172.16.25.5];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjZQUjA4MDFNQjEzMzU7MjM6bm9wMVgwMTl3WEFSeGJhWnB3WU43dWtW?= =?utf-8?B?dkc0Z2d4Q29XdmNaWHF3QUlrRi8rOGhoYWp3VHdkS01CakxZSTAwRXRFR1dx?= =?utf-8?B?YjV0RHhhR3E1SDIvamY4SUt3RjVpRDdIbi84cmJnU05OMXlOd1NldDh6SE9U?= =?utf-8?B?cjlGQm5pbVIvelNySTNtQTNvSjUvZnVJYW9kYmFzKzU0anNZaUMvRjdNV1Rm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UtjcEUwdWhYYWk0Qy9qMlRF?= =?utf-8?Q?2jBqOs=3D?= X-Microsoft-Antispam-Message-Info: 6gmBtL5F/SRlRJu0L8AK2U2ARtm0niqY+tauYu2KQN4vby2omWDY/ME0CvjTgmoZOUnA5e2OcLEsrz5/gIPqm7vHXOOnrKPOpey52TpisQ0vNIeNtVLH6ZBnH87stNnVpkSZuXQRJSWAsXBlrwlWdF2mMhYkyrSSkKf6H2mCN0a1wvYX6QlH/hp6WAd823hO X-Microsoft-Exchange-Diagnostics: 1;DB6PR0801MB1335;6:eIFrVvjwHKIT82I+vHinsf8F/FLzCl8sf1twYnAXJexgoYNEBBVNf3ztm9BZmQrjAJc75Lvw2YqGg1Wtcmgtk9qodvuq/iSZXp8nAWCtKlA1xYMdHFmG5bWThOnGC+UG+lyOjkV1UBp+vlrIMa0D6aft059kv0cQQdKLBkqHtKF4SMsSreHN1Cmoka216y9H48Lp3tWF2myB3frYYUg7g2g/EwV8dBB9RbhmtakWfCQ5mroKjiNdjl9rSgRovFel65iCTou64AmOMXz681C/W4hembj+v7EAifAxvoV/B33hAHvbBWMo/X+omTlarUQeK48lcaDKjkS5KwcPsCVvH58o05TImrboiNoCN/zFJ4kprGLJX4WQPi09Roj2S2KTmYbQOukNpg7QC08XdlfbFFIzqzJ7CMiAL5TNu1bXSlMwsBGcQ+ucpz+W95o3DZCs4l9+QNpZvmVp5CKoAyuC8g==;5:GoCfVxtCHsw2UJ1TEs/YvI21uZpHKIzmkymAfK46gBrMwgKhg+vf6qwhJeOBE7XIFioSabKuoj5Ttkn7dInl+5ayDAcmG5jHvWKJurXMnt59bcDFIorohuuoFLKnWBJd4BVKTEMxx3HbXgacJqa93SaABtzofH0QByi79FfsHmE=;24:o6ZqddUK7KzSBQFzOIhWj9N7lVuHB/7PHPQuZRhwu9w04qFPwG9qOCOZyglxmFbKDV2JisXZ7/SDSOyvAhxedVxFjmTB7U7T7SIw78eNGMg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DB6PR0801MB1335;7:ymWsAMQEZTNVpjKXY/dUJCQytUvJ1wd4uF3gI5Q6YyKhcN0A9NfxuGu1Op2bJaUWjkwr/XsJ13pzALnf1lUlOOu8/iN8Jj0FOkKA7RmLqEPHimSDmrRBClY0T3DFBH/wOftVmA2ZF0/4Wx6xMqDatGdznCzUqljarG4IfCce6P8XzVM1GHSxDaRcTzCgTZ0wWpkOndIcoSWrrrPVkhkO1AztozdUoJGFfjpII5OdhibH4ocCgK8aOpKOIYfJ70l7;20:QvhkhRK5kP0JmHL8UeFxuZmyCXy/rsRUZNn4rvz13VPLMtY6RXAG8WlWZ8yZPCPnzz6nfnrARCkutaFDg8oChovfl2/sUTeHp9hdHV0H23g8qyIxQHISCgITvz0JKyFSytRJAToTrJhIzNkeOdz4v+WCqh9l4EbKMN/Cyb662+Q= X-MS-Office365-Filtering-Correlation-Id: bf1d3ba1-c1b0-4076-b1ec-08d5cac12b2f X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2018 08:48:52.8514 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bf1d3ba1-c1b0-4076-b1ec-08d5cac12b2f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1335 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01.06.2018 18:25, Eric W. Biederman wrote: > Michal Hocko writes: > >> On Fri 01-06-18 09:32:42, Eric W. Biederman wrote: >>> Michal Hocko writes: >> [...] >>>> Group leader exiting early without tearing down the whole thread >>>> group should be quite rare as well. No question that somebody might do >>>> that on purpose though... >>> >>> The group leader exiting early is a completely legitimate and reasonable >>> thing to do, even if it is rare. >> >> I am not saying it isn't legitimate. But the most common case is the >> main thread waiting for its threads or calling exit which would tear the >> whole group down. Is there any easy way to achieve this other than tkill >> to group leader? Calling exit(3) from the leader performs group exit >> IIRC. > > pthread_exit from the group leader. > >> I am not arguing this is non-issue. And it certainly is a problem once >> somebody wants to be nasty... I was more interested how often this >> really happens for sane workloads. > > That is a fair question. All I know for certain is that whatever Kirill > Tkhai's workload was it was triggering this the slow path. It was triggered on a server, where many VPS of many people are hosted. Sorry, I have no an idea what they did. Kirill