Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp263897rwd; Wed, 17 May 2023 18:19:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53N9cQxS5ILA21tURT9Gv25H/N1DO7/99ImjRGRYg0mDWZZ/V20NFw/hnUVepMHHuNSpYF X-Received: by 2002:a17:903:41d0:b0:1ac:750e:33d9 with SMTP id u16-20020a17090341d000b001ac750e33d9mr964178ple.16.1684372763552; Wed, 17 May 2023 18:19:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684372763; cv=pass; d=google.com; s=arc-20160816; b=zUtlI/I5dkKlYD1eH9pZfDq3nDb9/D6KX5BVly4dLipBZrIwCSKVgwzzz7y/zT9NBu FVB8JayWE0sEMQYrezSFRfoKcpY12Za/QyFfv6UzPR3jgcSqPxB0k1dL0OeVGCVfXPdg ylK1a6bDqcHyiR33iidzrftIMWn7QcAn8+ue0CM4JmoBqJGysNY6VmHRlQZTEjcKxsnW 5S54lb4pTJEMGMocyM6B/cRj1Hy+rEcYsyi7lEdDQJKbr+y66whPsK36PKj43oadYBry eqG0Z3Q2TeoBIeun5ZZZ1U/qnvgmiw/5w7TQ0u+I6osfcZPGhTYVajZ2+3eckTsy6Cp8 TruQ== 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=HBAWJ8shORXuyQLGZiBknHOhUsjawMieK2cKLGXgtVU=; b=YOOFtA5le9pv308ZRWakY9KSuOIGZ4eyBUfp053hSdy2XofpmFG3uMswxv2TyzVLjp fmLD32zXvD6IdFk5N1EUXQBmKlx2WbKaQeAUod//4gkh6w2ui+8YaxTGHsH7felYEqeD 9vzpbVoipBwEVxvGQqQrPW063GchBUWB528k4oH3xlb6WmurZj466wCr4AWhFxRcx4ES IMZ21aynVvl6eNpAOf79DqN+FqNuIAEU5R03F1j2ecPooRIDJhjyA0FGlFqGQ8TPF+tr rI6uJjEt90j9/+x13BEEWa5KJe1XYMrceUdm1q4ssPcvGz0+fdPvK/nOdKOXjAaD/JFx YV4w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=ex1mbMSI; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=MSUy6aAN; 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 21-20020a170902c11500b001a6783cf26dsi58156pli.255.2023.05.17.18.19.08; Wed, 17 May 2023 18:19:23 -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=ex1mbMSI; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=MSUy6aAN; 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 S229628AbjERBCO (ORCPT + 99 others); Wed, 17 May 2023 21:02:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbjERBCL (ORCPT ); Wed, 17 May 2023 21:02:11 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34E5735AB for ; Wed, 17 May 2023 18:02:07 -0700 (PDT) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34HIGm61024473; Thu, 18 May 2023 01:01:53 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=HBAWJ8shORXuyQLGZiBknHOhUsjawMieK2cKLGXgtVU=; b=ex1mbMSIGii/ziPiFsi3xoM3nprOvNCWe7B/UNOU4/60+3wncsWDh3uSGOc5is0c1ToO +efQyfxEjt17rKlaLiqOEV/AV8k+v7mRmiWM9/WEaOZlTLDdl+wpkkfaLcPv0P3RS/Ld UxT5Rveq0pdBGVPHJ7/2x/A52obOKI9P/wI2ou73M5YbvkVQvRE52wzbYEupBbWqNjXa ardKjQSroWpWCjV0PUcuy6MjWALMtsFejIDhl7MPStkOn8pBU1IoZShIE9BxyZa3wZsw VtOENaFpZbC5b4ApG12ln7jvmENWP2Yt2QoEqk2/5Bs/qxeUFG1GSQsywQa1XftgrbaC fQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qmxwphf4y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 May 2023 01:01:53 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34I0TLKq036376; Thu, 18 May 2023 01:01:52 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2108.outbound.protection.outlook.com [104.47.70.108]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3qmm0354fs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 May 2023 01:01:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JwTo4Hq2PADBBGp2X+qWVo8IREB7iRzPstS7gudoM2lkZ3IYpsQOPJ5FHBke/fuVSTcTqRFjX7/Bd1RZ4Bkufc8I018RTTX046EgPpMzKZtF4laDaY1mllD6DAQdZEB1+no+63DAtE4QkrMYLP5WHAZndFuWwnBieMHeRR9tUons+WfMmRq5reY+WibPXQecE0ErrkjfvlKu+tLz/dStWJLkmJfQkjP1fkFRl6nGa8/wdZEGdSE8g4oZskTJDNT+/e0wY7dVsUZI2EffhNHLJEujSupiNTiGvuPUGN8kAUgkMRcRi9TTPM0IFEB5zivYXt9m7VI15t9NUljQsaJ/rA== 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=HBAWJ8shORXuyQLGZiBknHOhUsjawMieK2cKLGXgtVU=; b=F+cU4esZ5yYSmLqmgbTBp/SZWH3svRRYDwGydysdrcmw0m4zX3P1hEA1yEw+7DhVbthAtaHsTcs0Fi9NeMrbjUpNAhkL6mDJk0LPRJvx7SQBM8uwmpXrPQpHR8CD1HG2sViELyMEQ+MFW8zojKjWGsQTE3yLKMsZFYzZmqa54gYsXfL7UDgWAZ0zhvJvnp8S5ikB6VgBmHuyzgX0Fh+ArbNm52LE1bdTrK4nkFK5EK2P9XwtyE1Qrv+2U9Fq2jmYT7JpWPvVil/EMju1+aaSRbed/3cvpa1VN0TLigiF1thrZOn0maZDnGzWwvzKo6baWyMPze3qFRg/l10LjvXr2w== 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=HBAWJ8shORXuyQLGZiBknHOhUsjawMieK2cKLGXgtVU=; b=MSUy6aANrec4vhuSGkHim+jBsXYGQvHvpG7UAhMPs8GcId2oBpnkM7h3GwIA82ltcSnD0eu3XQvbEinH8XgxVa9RFn9wjRPuddQeAoLdoHmBePbTgoJym0gfUv2SGzuBmC/UKlfbpChmAIJgdl+03w9TWKTHaIwDvJv2L/btUSI= Received: from CY8PR10MB7243.namprd10.prod.outlook.com (2603:10b6:930:7c::10) by LV3PR10MB7818.namprd10.prod.outlook.com (2603:10b6:408:1bb::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.33; Thu, 18 May 2023 01:01:49 +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.6411.017; Thu, 18 May 2023 01:01:49 +0000 Message-ID: <3c2adf29-c201-9534-cc07-d35c4dead948@oracle.com> Date: Wed, 17 May 2023 20:01:45 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [RFC PATCH 2/8] vhost/vhost_task: Hook vhost layer into signal handler To: Linus Torvalds Cc: oleg@redhat.com, linux@leemhuis.info, nicolas.dichtel@6wind.com, axboe@kernel.dk, ebiederm@xmission.com, 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: <20230518000920.191583-1-michael.christie@oracle.com> <20230518000920.191583-3-michael.christie@oracle.com> Content-Language: en-US From: Mike Christie In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DS7PR03CA0265.namprd03.prod.outlook.com (2603:10b6:5:3b3::30) To CY8PR10MB7243.namprd10.prod.outlook.com (2603:10b6:930:7c::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY8PR10MB7243:EE_|LV3PR10MB7818:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c2089bf-aa9f-404d-1aac-08db573b7597 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2Wf5DDKJ4P6DxkcxLY1IlSkfTKn99mDgKhen4cYpOuK0BfiILhlij9vnhRFsPNMMPuWRjtcv6J9DNcIX83yp4UHdEt5YGDGzzz7OfrluTSe+aVquJhAZzQylJeoA9W/C2lob5gHuBBTQgZmA1l2KIxcBiuzu2DTETeO9y+dir251OE4gPaUZcPPnE5OWvw77TfBF+jqa6x/oHSRwYwHtxDsFnV8+qT7GmLrWl3aPnx42JQ4bMQMPGSxNkVFIpwcVSpmLtvrjvZNzMO4WAfnqYk0FmyxuziFmLunLQCc2uGKRpkZsp9oDMKgh2yvPPc05jJTl5LuEIHjOceZ5e22iZxTjHSht/7sToo5IW4kPAuDq5UVsk9NBxHpnJQnUaeATdfoKf2+cdKAADEXLegHTyNCNVNWwD00OQLHl7N34H8fE1gMFrH7UG1M/YjG0tjU4GtMZM95vZlWht/otMit4O9j0GZd9+ZtYw6hFf9YY6e6VQXnK8++jNFdr36JotRyXgJVRibicEdEtZzN/6qOkIbfK2+1SwCdpV9ZqEJN7VzAT90Hcd9NHffYsWi/EV9zWuaxaNsLLcek3nMlRBJfwKb/JRJ0mM7fwH9HVomoZhvYTU4k5PDormZWJl+Hk0oDmzl2F00vYII/lv12bvfv55w== 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)(396003)(39860400002)(376002)(346002)(136003)(366004)(451199021)(31696002)(41300700001)(86362001)(31686004)(316002)(5660300002)(7416002)(38100700002)(4744005)(478600001)(2906002)(66946007)(8676002)(6916009)(66556008)(8936002)(66476007)(4326008)(6486002)(36756003)(6666004)(6506007)(26005)(6512007)(186003)(53546011)(2616005)(83380400001)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dlJnU0hTd2JYWkVJVnFlUHNJeS83MTFrd2RJTVVjbWViQXZaSUdKSkVWeDlT?= =?utf-8?B?RTNoQ0syOTBETmpZZUV1U2NjektVSnFNNGxQZGYwdGRON2R1RGZVT3d2bjdn?= =?utf-8?B?WWl2R3gvdkZmSCsvNWY5dzROL3R2eTVlLzNvV2lvSEZMeEtqQjdwNjRHN3Uv?= =?utf-8?B?c1l1a3pRK2Q0NWw4VnhkT3lzYTNBaU0vMnhLamF5eDh0VG9zQkc0SzJqSDFV?= =?utf-8?B?OHM4SFBXeEdvSGQyU3RMTWhjOHAwSTNsbmI2STFiTUhZWW56a3hocDNVc3FF?= =?utf-8?B?U1FOQlgvM0cwOUQvNEpqL3NsV3FZSVltbk02OEZhZGxUYSs0L0QvQi9UajY1?= =?utf-8?B?S3pFQkEvL1cyODN6STJEMEdKTDduYndaMkFKUF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FNMeXRrZGdkZDFha2V4MmJyR1dURTZKdGJDZEtBVHBGR09WbW1qaVF6?= =?utf-8?B?ckZpOWpkeU5pU0RuR1NyN3paZXBEQ2lEdU5rYXRFWi9lQjBYY1RMRGFzSzZS?= =?utf-8?B?NkpHa2tQM2RrSkZUTWNQTmN3TjVzTGJhVEdXMmx1VElZS3hxQTN0VndlUWl4?= =?utf-8?B?MnZoNDZvbEpYK1NPWWZDT01zTlBTNUsrMmNKODFEYmxWRGNyc0V1Y2lpWFNz?= =?utf-8?B?emVIQXNLTzlER3ZNdUhjTjlHbysrTnYrWkZmZ1QvcGVvdEhRcEU2MzdkVHAr?= =?utf-8?B?TzNOdmpKQ1JCd0dlUlgvVENNelVHVWhuTTc0Tmp0RFhmQXNyNlMvZEhKQ2RL?= =?utf-8?B?MUl4aDdOdy92NzFiT2VOaVBQZWRLTERQeG5NYk9iUkVMU0Y5ZUhXZThNaXlh?= =?utf-8?B?MTN3YmNqVjA1T2FqbzA3UCtKMXR4QVVhUHlDREdpcTNLUlgzYXM3TTdjb1g1?= =?utf-8?B?NENzc0xjTXd4VjRHYmJVY25XK21xblhDdWV0MUVFSWp1K28vZ0pJMllMRC9p?= =?utf-8?B?VlJNRUtIcFgxQUJkVXo5TVVVbEpIekJxZkxBSmlVYkF5YlNUL3RncTFqNTBY?= =?utf-8?B?ZFE1dGNYUW5VUnd2emwzRnZSR3B2ZzVGVnEvOEhvZkQ1M210azFENHRRUlNN?= =?utf-8?Q?XqtG72BD?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c2089bf-aa9f-404d-1aac-08db573b7597 X-MS-Exchange-CrossTenant-AuthSource: CY8PR10MB7243.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2023 01:01:49.4859 (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: RxYORe3PQP/6c1cwXodfTfEMO8v1vR/H5hKdJ/EYlpwGBJB/n96ej8SvMXER2bc56wF/Iy/hTmV88eZNtKgPKaNkGBNctpu6A5NZa2KoQuQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR10MB7818 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-17_05,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 malwarescore=0 bulkscore=0 spamscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305180003 X-Proofpoint-GUID: GXdAE0ttNmAzCeS7YAsPvyLQBPJ5Gxbb X-Proofpoint-ORIG-GUID: GXdAE0ttNmAzCeS7YAsPvyLQBPJ5Gxbb X-Spam-Status: No, score=-4.2 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_H2,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/17/23 7:16 PM, Linus Torvalds wrote: > On Wed, May 17, 2023 at 5:09 PM Mike Christie > wrote: >> >> + __set_current_state(TASK_RUNNING); >> + rc = get_signal(&ksig); >> + set_current_state(TASK_INTERRUPTIBLE); >> + return rc; > > The games with current_state seem nonsensical. > > What are they all about? get_signal() shouldn't care, and no other > caller does this thing. This just seems completely random. Sorry. It's a leftover. I was originally calling this from vhost_task_should_stop where before calling that function we do a: set_current_state(TASK_INTERRUPTIBLE); So, I was hitting get_signal->try_to_freeze->might_sleep->__might_sleep and was getting the "do not call blocking ops when !TASK_RUNNING" warnings.