Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3541420rwd; Mon, 29 May 2023 12:18:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6zqkiH2PYoJJ7pRLOeArZAgPc6dX2pA/HzHp0mFfqHn55aZO4MRGVjPBDIYLDuuUvd36RQ X-Received: by 2002:a17:902:a508:b0:1b0:31a8:2f74 with SMTP id s8-20020a170902a50800b001b031a82f74mr62553plq.68.1685387885966; Mon, 29 May 2023 12:18:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685387885; cv=pass; d=google.com; s=arc-20160816; b=kLrEqKiRmiHMULMWvs2AyEOYU0lkV//rBWOEw6N9PeG7yoZxoiFBC4/nTLoKh3pu3I x0iIvlgJ2O34E2wMpGmpyTGxnZqlWieWbN9AsEGyL62oVk+6Nk8Du36aEFpBb7dPykxv ob6wodBk7ALS2YR1hLRlzq+APKSxIFiiFFyNODgOZOjsTXmfqSNZ1qadwdu3CTFn+0gW q+Gzv1zbl1dIKIezQJXps7freNG4/S/NdgBiME1QPCRKnErUDAFobwFV98GyBqcmC1/j zNt7lTF3I8Tq1Uxn7O9wCx+QOjbVFXtITIfsHudt3gtL8GI3d7wGs35KHPaghm01Rlx3 vfdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature:dkim-signature; bh=OmtSoDVIHNiB9xDO9PusNmO9p22L1BMliatVINd8KS8=; b=TSsx8HPfjpoFWaNqWPbTw/+C/s0oNZ2YkgKIXy0L46JZwCor/tu5LtdGhMR7ef3vQR TBmY6U4X2q8tibusZvtLIIOesyggqI1BcbO/DGLGPty5UJ0m8KrFTTQC/DxxxtyDmTYi 4xA/GMsnNKhdFZ19SbmeNkB8c5WaBZhOSEy8wbqnsck4GSNdXF4evFEZof54WRXM65aI QjnYP2LGKRI+D4NGJkPOzWJP6RMtBxAsdAaGcn3ZWZ4XuhUT8qZa1Uo4t64V+VfWWfcZ MRJt5jzZFkoex6JepC+FVLIuskCQu67ogLO1Bs9mKDUZb/X5NoJpiO3/fLR1AejH3+om qHKQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=veworpSg; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=rurPp46Y; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e17-20020a17090301d100b0019a9f8bdba0si8469827plh.62.2023.05.29.12.17.52; Mon, 29 May 2023 12:18:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=veworpSg; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=rurPp46Y; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229673AbjE2TD6 (ORCPT + 99 others); Mon, 29 May 2023 15:03:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbjE2TD4 (ORCPT ); Mon, 29 May 2023 15:03:56 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B74C1C4 for ; Mon, 29 May 2023 12:03:55 -0700 (PDT) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34TDO0ik010161; Mon, 29 May 2023 19:03:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=OmtSoDVIHNiB9xDO9PusNmO9p22L1BMliatVINd8KS8=; b=veworpSgjuZEfpxu8ys1aLfl4MH6QtLFfGO+GgnRqPRg4JT62+Ks3Ft39LyNjaIq5+0m uLwt4+v6l1Pr8vNr4dk1h2I9K+RJEfqffDNjmEiHTUfHQynUMaY9w/YyNPEgCfsFLaYO 4TuImtl2fzYvrB18Bn/+PZTnm60EjLGHmV5Sx103WIYwcxZkAXTuKwNBNNa8p79AST8M HeouyHWAeyqLKroyO/R9vRrIauEijeLrHUuw73+W4Ml8NzoIN9ahhDVh7GTdjBB7QEdj fh7XIh7aGLtHbisuFZCBe1Fc70MAvg13PWLRLD1krmqIa+BnrjPukLiAlvD59XtVHWmn Cw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qvhd9sbbd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 May 2023 19:03:36 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34TG7xE1026123; Mon, 29 May 2023 19:03:36 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2174.outbound.protection.outlook.com [104.47.59.174]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3qu8a9c1wf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 May 2023 19:03:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lVfF29WdhY5X+oeP3+6ybezrTd7sLxaf12HZykK5MXMZceACD0Mikib0nkukJjsferPIwnqKpu6lAWmn5/raE3Sj1+72s+F1DeDiF4WH599xNAX5YVkVLMRCz1PLpDzzhBfJ9vyNSIJeMeREBHm85/PeF2DHbtnTJx6PklKj8ZB4D+R3LW8jiIPDoQS7A9Womfbnds+xqLnrP63s9P5KoC9ojNbpEIOsESJ5aztonEDS16Zt6sL8wpurTvkwQgI1+U0aD4XIpmxBAPRlCIkCkvx5oHRrH64wVfba0Fxkm+0wJVE0ByL/z9B+h4GPB9pzfRif+tAqP4L1gg8xkPKZEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OmtSoDVIHNiB9xDO9PusNmO9p22L1BMliatVINd8KS8=; b=mHySYyLLbYk7fIkoXFufYlX1KKosyHlT5UPrzynoqvEa0IL9vsLpkbg2ZRDA2R4V32xzJl0fJAfclPwxVxn4lh3r+aB3ha3S3yNqHiFl0Aw4yCH2NnC+jRBpDgFFzL1wGOkrnkvLLrbv1hT0EkyTCOVIVoFump89ks1tg1b80BjXZ/bWPolB2l0QpaJ5C4+Kf+VxScR3t7L2vmkv38yleSLxq/zviw+Bko0wXKqmqfWhdRqUgZP2cnFu+Th5o+0rYVijkLxHc11gEv8xjPOtd2tsDcLL8puvkzu8pc9l4I2CSjr6Z76i4KzZ9YIRZg8Qd6RoJVaDswVxzV/AUPd/hg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OmtSoDVIHNiB9xDO9PusNmO9p22L1BMliatVINd8KS8=; b=rurPp46Ym8FL8SIFb86Zko3AlhPLmD58wlChAlIwbJyK/BS9sxjbhYNA7L7zYw4GWCFlFeaqFe1tq8YMldLmxFN8ihv49LqiVpk7rmxxquBTyDiYsfymlT6pB3MP29QDu2eGF03FmQJUlC3vWwx3oLojv4g29LnLAAqZ9ckworo= Received: from CY8PR10MB7243.namprd10.prod.outlook.com (2603:10b6:930:7c::10) by DS0PR10MB7407.namprd10.prod.outlook.com (2603:10b6:8:15c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.21; Mon, 29 May 2023 19:03:07 +0000 Received: from CY8PR10MB7243.namprd10.prod.outlook.com ([fe80::13d6:c3f3:2447:6559]) by CY8PR10MB7243.namprd10.prod.outlook.com ([fe80::13d6:c3f3:2447:6559%5]) with mapi id 15.20.6433.022; Mon, 29 May 2023 19:03:07 +0000 Message-ID: Date: Mon, 29 May 2023 14:03:05 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH 3/3] fork, vhost: Use CLONE_THREAD to fix freezer/ps regression To: Oleg Nesterov Cc: "Eric W. Biederman" , Linus Torvalds , linux@leemhuis.info, nicolas.dichtel@6wind.com, axboe@kernel.dk, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, mst@redhat.com, sgarzare@redhat.com, jasowang@redhat.com, stefanha@redhat.com, brauner@kernel.org References: <87ttw1zt4i.fsf@email.froward.int.ebiederm.org> <20230525115512.GA9229@redhat.com> <87y1lcxwcj.fsf@email.froward.int.ebiederm.org> <87cz2mrtnk.fsf@email.froward.int.ebiederm.org> <87mt1pmezu.fsf@email.froward.int.ebiederm.org> <20230529111859.GA15193@redhat.com> <022f4de6-9eae-0a94-0f55-b84be4982fc3@oracle.com> <20230529174646.GB15193@redhat.com> <20230529175440.GC15193@redhat.com> Content-Language: en-US From: Mike Christie In-Reply-To: <20230529175440.GC15193@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DM5PR07CA0058.namprd07.prod.outlook.com (2603:10b6:4:ad::23) To CY8PR10MB7243.namprd10.prod.outlook.com (2603:10b6:930:7c::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY8PR10MB7243:EE_|DS0PR10MB7407:EE_ X-MS-Office365-Filtering-Correlation-Id: 58993f58-090d-45b2-ca9f-08db60775688 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6JEdh3HBXptiXulfhkqK7Bv/ZFhL4Z+vgGCQgkl2l+/RECZAa5QOo1wwOJVa1g/d/OLGRdM1rOiKkK1c/brawp5AV2N72XjrxInZHglT5MPnhAeMvLO/XgKQBIALe7GRuTCdIRNeMBqjUJvd+e5OiTYr6lhK5us/OOSL7+F2+AoL+fcT5liRdSe0uV4BZhGVpO28FaoIJZMbrk+MehOC0eJCTGxuVV70NBPyOi3+NzvBt+Vgf1s+tNyxhJKbrTA/+KMkOu8IJMLjk3dyyDzpVliB7kUynAPsgaaImXJIXIIxipH7MtexKdWOftjdJI2YeUIXbpsOsC/hDMWDuPSVkqJ3Nytkr1XzU2z7Jc+++DzNgiJ+62rP3xxCNdI6DFJtv8/qevntJWKeY1bQxfHWdZ4V6jY71ifnjEJ/O9xIHtooSGdRkJZ/HoI3tKO5ySwOuczLsHrU1mpSFzAcXQZDLVtkDcf09x6BFva1n41J5K6c+phESKGLZMJkqhsc5akd54xOQXtausX1ZXX0cKD8jzn7D/oQcJXLTNYz6F4yRY6/xz1r2QxdjoiIciRT7ZTywp3CmzTL28sTRQn2CuipH1Vge5hclsbrpw29ry5f8XEqzYoHTzLl+Zpr7Bc46tO4rkgElaqcoj6oJATZ3aoZ3w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY8PR10MB7243.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(376002)(396003)(39860400002)(366004)(136003)(346002)(451199021)(2616005)(2906002)(186003)(36756003)(38100700002)(8936002)(478600001)(8676002)(7416002)(31686004)(5660300002)(86362001)(66556008)(66476007)(66946007)(6486002)(316002)(41300700001)(4326008)(6916009)(26005)(6506007)(6512007)(54906003)(53546011)(31696002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eWdkSllVNDN6S0k1emp5aG5zV1RhclVBS1crd213ZGZjdEQ3L3ZwVENqYXJa?= =?utf-8?B?VGNFcTV6THEwQmlvL25COGVlWjBVRHIvVG9MWUs3enpLa21VVk1wRDRPOWg2?= =?utf-8?B?bHkrQWZpYWRaZC96NFNOeTJBWVRic1FWd2RMb09DdnhkWWkvSy9tKzk3ZzM0?= =?utf-8?B?b2pndUlIL3doUGp1cSsyYmorYXViQTBUZnhkTUtyR0RFNGlwc1hVTDVza2tX?= =?utf-8?B?c2dHVFZia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QXg4T2VRN2EzZXZpaGtyS1NMUWRzNVpyZGo3cTV0aWZyeThldmJu?= =?utf-8?B?RTRsTGdxM1prbkZpSnEvZkQ1K0dPU3BGQitUSnZRNVRDMVdadVducDZ5WmpJ?= =?utf-8?B?eVBpVG9UN3ZqeHR1TXhBenFjMHUyaFJOcERuRDZkbWVQelp6NjRsb3NFUVdZ?= =?utf-8?B?RGtVWncrTXBRc1cyNkt2QVh3TllPQmRyZVVTai9pUkRVM3BDZkxmTEl3ekVG?= =?utf-8?B?aktwZFNGSlZraDlwRGQwMUFTZnVtd0M1S3ZvbVp0aGdTVHNRWCtvZXVYbkkw?= =?utf-8?B?bFFpbUtqaFBSUDFLMXlYeDgvV1RnWEJzbXVuNWJKUDFmc0lJb1JaMmZWV3dS?= =?utf-8?B?dG0vSUdBTk1wV2RBM0o5MWdUUi9MR1dJRzF3NW9OVWdKelN2U0ppTEErT0Ry?= =?utf-8?B?bndYV0Q1ZnNIUklBZXczVkRadjZJRHZCL0QwcWt3aHBOYjRSZzdwL1NNcmJY?= =?utf-8?B?T1NzWXBCSkJUMGltclBRQnhXRENDZU9MeHBsMEx2UkptVDhhYkdyQVRrVkdY?= =?utf-8?B?TDNuR1kyRTkvUlVlMCszdmVsN1hyLzVRY2wrS3JPS1FKdE9sbUthcVZIN2pT?= =?utf-8?B?N1BzTVAxSkRnNWg3b3lTeThJaGdZVUhuSDBYMStIMlg4Q24vc1FrL1JmUS9j?= =?utf-8?B?eXZ0NjBjaUhaVGt5UUVqZWlySEdQMENhRVZZeGZDcGptZXpLMmU4WS9DQ2Zq?= =?utf-8?B?WHdYS2F6b1pkcitmc21jc3UrbDVJRXFnMzFqMWNxY1RJUHIyaGQrUkRhUUhZ?= =?utf-8?Q?MXx3wr+2?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58993f58-090d-45b2-ca9f-08db60775688 X-MS-Exchange-CrossTenant-AuthSource: CY8PR10MB7243.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2023 19:03:07.3598 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xuzyyEC5jAHcO32+1SJVLNtm//sYlF7w/OfGKpqVLdAr/39AYMAC5kGoO8+o0dZ332qquDnzdxpzqEQc8DlVuO4yYL4mJiE2CNKf4VoF8iQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB7407 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-29_10,2023-05-29_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 spamscore=0 adultscore=0 mlxlogscore=729 bulkscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305290160 X-Proofpoint-GUID: 23DBwgqSHUnNA6nCLoXNx_mWZ2dvJVEi X-Proofpoint-ORIG-GUID: 23DBwgqSHUnNA6nCLoXNx_mWZ2dvJVEi X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/29/23 12:54 PM, Oleg Nesterov wrote: > On 05/29, Oleg Nesterov wrote: >> >> Mike, sorry, I don't understand your email. >> >> Just in case, let me remind I know nothing about drivers/vhost/ > > And... this is slightly off-topic but you didn't answer my previous > question and I am just curious. Do you agree that, even if we forget > about CLONE_THREAD/signals, vhost_worker() needs fixes anyway because > it can race with vhost_work_queue() ? You saw the reply where I wrote I was waiting for the vhost devs to reply because it's their code, right? Just wanted to make sure you know I'm not ignoring your mails. The info is very valuable to me since I don't know the signal code. - I think you are right about using a continue after schedule. - The work fn is stable. It's setup once and never changes. - I have no idea why we do the __set_current_state(TASK_RUNNING). As far as I can tell the work functions do not change the task state and that might have been a left over from something else. However, the vhost devs might know of some case. - For the barrier use, I think you are right, but I couldn't trigger an issue even if I hack up different timings. So I was hoping the vhost devs know of something else in there.