From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 470B2C433E0 for ; Thu, 4 Feb 2021 19:44:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 134F764F6D for ; Thu, 4 Feb 2021 19:44:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236970AbhBDToC (ORCPT ); Thu, 4 Feb 2021 14:44:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231686AbhBDTn6 (ORCPT ); Thu, 4 Feb 2021 14:43:58 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F3ACC061786 for ; Thu, 4 Feb 2021 11:43:18 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id a16so2310942plh.8 for ; Thu, 04 Feb 2021 11:43:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=sVKAr/j8S5Ltd/Il4EoLWzEKNd8BaZbQXC4m28X/HXk=; b=hx+ZExhKzSJtpAXqe5GcJ37a6OjGDL75tpXq6TzDUBxNzhaWe7g5+tVltwuCvsSc4+ A8OGVJxmCK0zoLhsR5aYOn5v4Ai3iD/yMGg8Bf4Jh9KkJVbA33SGNfHx3SB+MN+xgRPr SQKmb5AWP1WhuhpnYne24ha6ijmXeDdFpHJe5qFyuRidRrTL3s4efdvuZigSjn3m1PCm qD8NbymMtKH8PPhn47H0i5hpBSn1CV5ov/vbO3DTHY2Kg1YGqMkLOysjOctEGO+QFobY Zs/OdMFs5J5J9OdSpy5PU0YwUHFlT7PfTst+KZ39oIaQUEfUvrr9BBhAzwXiFmkVHBt3 XLJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=sVKAr/j8S5Ltd/Il4EoLWzEKNd8BaZbQXC4m28X/HXk=; b=HrSzfVv65qYx/wNjcd9YjgV0HRm2nLOwx+3GNcOHtaTpAFJxsv5MyQxZqM37KUSI3+ gl+JYwLHIEfA8MpIO4hySIn4irSPNu6IkDD9KwY95NY4WGrS3squbvPmqFpAszL3g2v8 o2vfepDQPtZV0vKOwPmfW/94exLPrMTX0YayglWe59bKMflwx+Izyz1bQwsU9+A+Ns+0 NwwSFMSYSnncaNLei9eote3y+krwkYvrP4sD205oXgiz3lwM5c1HYUifopBTJfNrHCNw a2eVxuxmV8eH41YfBJz3n1+PX2d+iqXsOfxLqojV5k10oaGXFkM9Wpc6S3myW21yAdzW HwIw== X-Gm-Message-State: AOAM530vxOXs5x9RBROgOLUDwqN96LeSdUjQc5k2q0TSbXZ+v0zLkr0v QizinsNkHP01Z3f0tKxRupMpYQ== X-Google-Smtp-Source: ABdhPJxAIthc348Xn/1lEWIvzFJQz37QRk9t4bRp1IRyXZxYHYk9QDJY7lAh85Wh6lvxGi4RidutjQ== X-Received: by 2002:a17:902:d202:b029:e1:8936:cf31 with SMTP id t2-20020a170902d202b02900e18936cf31mr787910ply.51.1612467797559; Thu, 04 Feb 2021 11:43:17 -0800 (PST) Received: from ?IPv6:2600:380:762f:84cb:60e5:b29f:59f2:990b? ([2600:380:762f:84cb:60e5:b29f:59f2:990b]) by smtp.gmail.com with ESMTPSA id 194sm4632924pfu.165.2021.02.04.11.43.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Feb 2021 11:43:17 -0800 (PST) Subject: Re: [PATCH] io_uring: drop mm/files between task_work_submit To: Pavel Begunkov , io-uring@vger.kernel.org Cc: stable@vger.kernel.org References: <741fe19ee895393f54d01b8f7d25242e7fa27120.1612466514.git.asml.silence@gmail.com> From: Jens Axboe Message-ID: <53e3b065-182c-2f05-bb1d-57198a2212ad@kernel.dk> Date: Thu, 4 Feb 2021 12:43:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <741fe19ee895393f54d01b8f7d25242e7fa27120.1612466514.git.asml.silence@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 2/4/21 12:22 PM, Pavel Begunkov wrote: > Since SQPOLL task can be shared and so task_work entries can be a mix of > them, we need to drop mm and files before trying to issue next request. Thanks, applied. -- Jens Axboe