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=-15.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable 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 6AAEDC433F1 for ; Fri, 10 Jul 2020 16:01:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 440F62078B for ; Fri, 10 Jul 2020 16:01:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="Yoy2AF0H" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728084AbgGJQBY (ORCPT ); Fri, 10 Jul 2020 12:01:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727074AbgGJQBX (ORCPT ); Fri, 10 Jul 2020 12:01:23 -0400 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33454C08C5CE for ; Fri, 10 Jul 2020 09:01:22 -0700 (PDT) Received: by mail-io1-xd41.google.com with SMTP id l1so6560206ioh.5 for ; Fri, 10 Jul 2020 09:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=CT8GfIgnhQopWm8iDNrvhIrzFdMDsa9H0pNwgHwkLh4=; b=Yoy2AF0Hlb25wfR80l47A00iDMoRp5YDNhyRFuXfbtPhZPrppiweVtxfl0EA63y95e NqLjp0CSKEfkKEDplqCeo/BSn0HO1ugY+1wyWMZRg1Kv3VyoQhP5YIBuifgY/xLpee/D WCzRcYAiDkwxZF7p4r4dopZtrouc5G85QR28xgEntuRFohB9lZZI/GOLpglmG0j4m/QA qTWOHJtYArbfV1mBwWusCP3+60N1r75M8zjM9pqM05XLbDjcFyqkklv2TBkXoH2KgqNs JODXbfw9qIP3aY1L/FQJ3FL/xqP8SaLRBMwwxIERQAt5vP5Sqp/dlmmvJUPTOi3Pfdtl CYCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=CT8GfIgnhQopWm8iDNrvhIrzFdMDsa9H0pNwgHwkLh4=; b=ijVZ8QsO26idQOL3kW5YKt6aWKs9WnjSkFW6im3mQyXaWmjzDRuLJo8nHw7hokasV+ q3oK/OQq1r9DMyZHbF+MC9B+7SpxO4+hyh65fZBKfF3YwTMaks5xtlwUficgGE6xsOkh p70UMNQtbpx5Qu9p5l49U4Uf3aQOdcWCCjxc5E5iVWTroAtZlAPlrBFbBr184pxUbhSg +cmXGlCWElfaLTdTcBOr3iJd4/AUDiVJUjhkQdNYJ2BRdFqgFldeCuRjZYnJEbWAZuI3 engByIT1Q+5/tuURNp0e3w1zlvek4ZYsjoyC8sVUP89gy+ZqZKw5s0vh03ZmpNR6d/xK PgiA== X-Gm-Message-State: AOAM533Hm33ubLAWuqK9v/k9rVG05PcFDGFf3/WGrh88U0aJzY33gYYA +ZDBJulEb/aCoAp17QOSdGVhmA== X-Google-Smtp-Source: ABdhPJxuXGAJ6xxmDfDRjdZr/xZDFyFSQ8yhw/xlqTPSYGv4M4BL2OyRyl45qSWxa6wvuKUegWVcKg== X-Received: by 2002:a6b:6b18:: with SMTP id g24mr45766867ioc.8.1594396881588; Fri, 10 Jul 2020 09:01:21 -0700 (PDT) Received: from [192.168.1.58] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id a10sm3590388iln.20.2020.07.10.09.01.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jul 2020 09:01:21 -0700 (PDT) To: Linus Torvalds Cc: io-uring , "linux-kernel@vger.kernel.org" From: Jens Axboe Subject: [GIT PULL] io_uring fixes for 5.8-rc5 Message-ID: <2a7f5f56-a1be-46fc-7b5f-4cc35ca4b33d@kernel.dk> Date: Fri, 10 Jul 2020 10:01:20 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Hi Linus, - Fix memleak for error path in registered files (Yang) - Export CQ overflow state in flags, necessary to fix a case where liburing doesn't know if it needs to enter the kernel (Xiaoguang) - Fix for a regression in when user memory is accounted freed, causing issues with back-to-back ring exit + init if the ulimit -l setting is very tight. Please pull! The following changes since commit b7db41c9e03b5189bc94993bd50e4506ac9e34c1: io_uring: fix regression with always ignoring signals in io_cqring_wait() (2020-07-04 13:44:45 -0600) are available in the Git repository at: git://git.kernel.dk/linux-block.git tags/io_uring-5.8-2020-07-10 for you to fetch changes up to 309fc03a3284af62eb6082fb60327045a1dabf57: io_uring: account user memory freed when exit has been queued (2020-07-10 09:18:35 -0600) ---------------------------------------------------------------- io_uring-5.8-2020-07-10 ---------------------------------------------------------------- Jens Axboe (1): io_uring: account user memory freed when exit has been queued Xiaoguang Wang (1): io_uring: export cq overflow status to userspace Yang Yingliang (2): io_uring: fix memleak in __io_sqe_files_update() io_uring: fix memleak in io_sqe_files_register() fs/io_uring.c | 29 +++++++++++++++++++++++------ include/uapi/linux/io_uring.h | 1 + 2 files changed, 24 insertions(+), 6 deletions(-) -- Jens Axboe