Message ID | 20220919175810.689086-11-cascardo@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=KJhmEpMQ; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MWXVb3CFsz1yp7 for <incoming@patchwork.ozlabs.org>; Tue, 20 Sep 2022 03:59:03 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1oaL2k-00079Y-I6; Mon, 19 Sep 2022 17:58:54 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <cascardo@canonical.com>) id 1oaL2a-0006sb-Uu for kernel-team@lists.ubuntu.com; Mon, 19 Sep 2022 17:58:44 +0000 Received: from quatroqueijos.. (unknown [179.93.171.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 568583FDEB for <kernel-team@lists.ubuntu.com>; Mon, 19 Sep 2022 17:58:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1663610324; bh=lmeNdAeSxvptZ4v/vkpoOs7KeoSrYzoM77YjLFLq8RA=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KJhmEpMQt1PBbHcCbVrxT6iop3h6YsE0b0MDVtNlLBu6DtfiEDGJnltKFd0m7zmnn dMhQWmlcIlbs1Beq6n0uLrl9PTLK5AfAh1h6CDDnBqxy7jeLhVqXNSTZSDKqVfYUZ6 bKTGxHFDpdRakoyC3iMUsoYcQyCsJ/3nuq1PZ9xdejmXiksjP/hEJOdYnLgb2tQJJx 3TQO9W7erKxDt599kY8SLkhZeNePuwpyJVVsUDQCcNgUHebTdjn/2PlfhJzFrV6+NU IUCGL4dJ08POHMSqh7qViL5KR/k1WYs9/h17ByEytRCRs0vbJWY0rak11HoIel7FKo uod5CXdXR/46g== From: Thadeu Lima de Souza Cascardo <cascardo@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU Jammy 09/12] io_uring: bump poll refs to full 31-bits Date: Mon, 19 Sep 2022 14:58:07 -0300 Message-Id: <20220919175810.689086-11-cascardo@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220919175810.689086-1-cascardo@canonical.com> References: <20220919175810.689086-1-cascardo@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
[SRU,Jammy,01/12] io_uring: refactor poll update
|
expand
|
diff --git a/fs/io_uring.c b/fs/io_uring.c index dd750d6f00fd..2dbef0835d51 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -5314,7 +5314,7 @@ struct io_poll_table { }; #define IO_POLL_CANCEL_FLAG BIT(31) -#define IO_POLL_REF_MASK ((1u << 20)-1) +#define IO_POLL_REF_MASK GENMASK(30, 0) /* * If refs part of ->poll_refs (see IO_POLL_REF_MASK) is 0, it's free. We can