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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30547C3ABBE for ; Thu, 8 May 2025 08:25:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1825C6B000A; Thu, 8 May 2025 04:24:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 136786B0082; Thu, 8 May 2025 04:24:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F3ADE6B0085; Thu, 8 May 2025 04:24:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id D517F6B000A for ; Thu, 8 May 2025 04:24:58 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 222FA16106A for ; Thu, 8 May 2025 08:25:00 +0000 (UTC) X-FDA: 83419055160.20.8B233D0 Received: from mailout1.w2.samsung.com (mailout1.w2.samsung.com [211.189.100.11]) by imf17.hostedemail.com (Postfix) with ESMTP id 1F36C40009 for ; Thu, 8 May 2025 08:24:56 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=samsung.com header.s=mail20170921 header.b=Y3ligE1m; dmarc=pass (policy=none) header.from=partner.samsung.com; spf=pass (imf17.hostedemail.com: domain of p.antoniou@partner.samsung.com designates 211.189.100.11 as permitted sender) smtp.mailfrom=p.antoniou@partner.samsung.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1746692697; a=rsa-sha256; cv=none; b=6PubwDBfthjNbzNujp/E5vNzWBlXoL52cglOr8G0BZVDA85xTUFHuAJzqSiexF/Fn0iv1P k8TB4AY4GKnwo0tbw6jkI6O0qozLf2Vukt2BJDhEfNipBSpXwI0x8VqL/pD6chNUi0v50Z wiZ0KUCQRe1foqLztSlfID7GCI78NcU= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=samsung.com header.s=mail20170921 header.b=Y3ligE1m; dmarc=pass (policy=none) header.from=partner.samsung.com; spf=pass (imf17.hostedemail.com: domain of p.antoniou@partner.samsung.com designates 211.189.100.11 as permitted sender) smtp.mailfrom=p.antoniou@partner.samsung.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1746692697; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=xFWdlrWsOanX/NVVNVan2uCPYqrJFZdos0xlcyL5mUY=; b=Kuz4sFtVq2i09fHjjocAb4dkqBneqWk8yHMFs5DzB3qJEyFggNR5/r/spTpZBC8WvTeKKy X6OVcSveGViz/0SbQ0JRHcBe0ihvZWGDx/zf3mkjz6+wCLuG2ptBqw4bnKwrIr/tWkqT0N jiUQopP1fJHAto7z47Bu4zM2+9kXhpY= Received: from uscas1p2.samsung.com (unknown [182.198.245.207]) by mailout1.w2.samsung.com (KnoxPortal) with ESMTP id 20250508082455usoutp0112b6fa97ed05e55b44f1e5b3cc683d13~9f8CDpCqE0052200522usoutp01h; Thu, 8 May 2025 08:24:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w2.samsung.com 20250508082455usoutp0112b6fa97ed05e55b44f1e5b3cc683d13~9f8CDpCqE0052200522usoutp01h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1746692695; bh=xFWdlrWsOanX/NVVNVan2uCPYqrJFZdos0xlcyL5mUY=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=Y3ligE1mVdi0oLVYyHkkKGO4q0YE6QtQf9y4FkwyTxjUNj3LbzHuupM4T9Jk+RO4N hkCrb15Q5bx/JvRn/aFXpSFlrZYv1jWC+EHqZyaSVcZ7KWBoWCK5FE+63KS0/V4sKs R35qrHSNYGiBzwbsnNkyDuwNd0+zIJfhUMp83UFQ= Received: from ussmtxp1.samsung.com (u136.gpu85.samsung.co.kr [203.254.195.136]) by uscas1p2.samsung.com (KnoxPortal) with ESMTP id 20250508082454uscas1p29b50ff4d2f31a53e732cebf11535a549~9f8BAo3ls1112411124uscas1p2B; Thu, 8 May 2025 08:24:54 +0000 (GMT) Received: from ATXPVPPTAGT04.sarc.samsung.com (unknown [105.148.161.8]) by ussmtxp1.samsung.com (KnoxPortal) with ESMTP id 20250508082453ussmtxp18e1b1380fd7c17414cdb8bad396b2f53~9f8A1OPYH1568415684ussmtxp1X; Thu, 8 May 2025 08:24:53 +0000 (GMT) Received: from pps.filterd (ATXPVPPTAGT04.sarc.samsung.com [127.0.0.1]) by ATXPVPPTAGT04.sarc.samsung.com (8.18.1.2/8.18.1.2) with ESMTP id 54876rUv037957; Thu, 8 May 2025 03:24:53 -0500 Received: from webmail.sarc.samsung.com ([172.30.39.9]) by ATXPVPPTAGT04.sarc.samsung.com (PPS) with ESMTP id 46df5w3mty-1; Thu, 08 May 2025 03:24:53 -0500 Received: from sarc.samsung.com (105.148.145.5) by au1ppexchange01.sarc.samsung.com (105.148.32.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 8 May 2025 03:24:51 -0500 Date: Thu, 8 May 2025 11:24:43 +0300 From: Pantelis Antoniou To: Andrew Morton CC: , , Artem Krupotkin , Charles Briere , "Wade Farnsworth" Subject: Re: [PATCH 0/1] Fix zero copy I/O on __get_user_pages allocated pages Message-ID: <20250508112443.49ff0414@sarc.samsung.com> In-Reply-To: <20250507145018.385c0a090a0d61c06e985ad9@linux-foundation.org> Organization: SARC X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-ClientProxiedBy: au1ppexchange04.sarc.samsung.com (105.148.32.84) To au1ppexchange01.sarc.samsung.com (105.148.32.81) X-CFilter-Loop: Reflected Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: 4PeEZ1aymWH1pEADgeqC-xh1MxcKHdE7 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTA4MDA3MyBTYWx0ZWRfXwC7v/t1idwe7 xe0rUmgQIin4dSxD3sdt8qMjeej6uOx7+D84agRnXQeM4q13fSM2DeCbzgjnY7hsvn1w7uKvgyP mWNyrwpMH8GJiKdbveBHTQyePuQ5a8kVc2adKAPmafRneMhtz3kZx66UcayTujKVFaeMiGdizFg 1YcMNpXJgwz38+OVbA1DDtI180Cr/Tf1LmfzkNVZ+CvRrJ/FGpin8fO+PwQC7ClBCdwSKHYIOFT O7Mn39zhBbauGyFdKLhRWQwbjcdf9srM2ReYgtg7+87kATYEMDBJK8OZz9T/vpjVY7Ioufzoesj VTd8XfUS/UdJLA/A8iOWgyPoGbqJqbdotgoZLwAa4oVu0dEpndd6AuI/uZTrIG7U2FpGFeoXH9w qtcMf2/5 X-Proofpoint-ORIG-GUID: 4PeEZ1aymWH1pEADgeqC-xh1MxcKHdE7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-08_02,2025-05-07_02,2025-02-21_01 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 spamscore=0 adultscore=0 mlxscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 impostorscore=0 suspectscore=0 mlxlogscore=809 lowpriorityscore=0 phishscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2504070000 definitions=main-2505080073 X-CMS-MailID: 20250508082454uscas1p29b50ff4d2f31a53e732cebf11535a549 X-CMS-RootMailID: 20250507154119uscas1p2a4055d14ab111fdb94a6378789c38d9d References: <20250507154105.763088-1-p.antoniou@partner.samsung.com> <20250507145018.385c0a090a0d61c06e985ad9@linux-foundation.org> X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 1F36C40009 X-Stat-Signature: ekkh1das6g7pfdwudp1bwe5q4wyzis9h X-Rspam-User: X-HE-Tag: 1746692696-608422 X-HE-Meta: U2FsdGVkX18KnbgA/f4+npSr255kH1cAYTGrYPLkR/ZqY2VrZfpq8U6LovSjR5AHLaXuYVG7RM/mc9lVpIX1uqULMMjOrJ2RRfNMGwrx+qLoq8ntlcOzJNTwA1YqebM2xzswjVEu85rmeKP5x1nOQ9KzwrfWDY9zSyQNyo9Nj7oFf60zdjNfkahW2AckqxvUMsGuNCGrbSJMClWaskRPfs5rS77PssayE13DE4zzDQQs74auYybkLf7TFslmcsFVwIJPXdx3YN5KfZRs0pWalVtvD4BzhxGyw/86aL/Wi0envvQmRQUjwtesNvcX3EvPBw3RRCV8O5ucR6Rmqjb9VuhaJrS2M3U/k99tTZMEr3yfXtLBKtLcXIncVXePd9NOggJeQsrEAgobegqbedZZLtsaKg66WXtCcxgWVw05AGQW5ErHMBhKiaghxytjsy9pNzqz1Q2ETGwbKt4XdrkjXCNJuAaVl5EqC41Q86uCD4usftn5cqTExLXKl957enN+oZu3k+Idoa3cbRpdvKGdubozQM2CXldBmYQmjgM7LXX3wLVZCoIRLEtVtmgHIYvvkOEGzM+9xSIb0l7ksaxx5CDLIq9tmvuNAfgmRksA4OhYii3cn+YNVLf2ALOTSFeaeNvZudWrD6Au4O6fNMZYcfIVvHFPCxtr0ef5hD4q8Cc4j6edORljUcpxbSgTITPHLuYsafE32ZrZ2dcsUhH1duxjTdgi5tYs8j7529zgwzkum1ZKxGG//9ZAJakDyOToRYQwsk27jtolEfNh/7T/vcy+i7pMqIupd/SVDNk9sJ5arBe62zNstw8g0Qep3bRy8TOVuxtgs7UlYUxMUoaYJvZufUzwgL3nQ1Qmz4BUa6BKPhf2Uukc0szSjMLQUDFGL8yobEAUZWqxGu1hMCxdBDJ7Sr7w60Lox1x/zv9AwPA9aP6gs9e9jWbiOS1TMtfWuLaOMStEW4XCOyJrett nXIiwYtI mneaDmynt+hy5TPd7sIRhWBupHnpDE1DwvWDEKaFRxMebbrbXn9I1sp8oK82idiL4/cgm8jy3CxvAi0s= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Wed, 7 May 2025 14:50:18 -0700 Andrew Morton wrote: > On Wed, 7 May 2025 10:=E2=80=8A41:=E2=80=8A04 -0500 Pantelis Antoniou partner.=E2=80=8Asamsung.=E2=80=8Acom> wrote: > Updates to network filesy= stems > enabled zero copy I/O by using the > netfslib common accessors. > Updates by whom? Are all the people who=20 > On Wed, 7 May 2025 10:41:04 -0500 Pantelis Antoniou > wrote: >=20 > > Updates to network filesystems enabled zero copy I/O by using the > > netfslib common accessors. >=20 > Updates by whom? Are all the people who need to know about this being > cc'ed here? >=20 I think the first cover letter contains that information. > > One example of that is the 9p filesystem which is commonly used in > > qemu based setups for sharing files with the host. > >=20 > > In our emulation environment we have noticed failing writes when > > performing I/O from a userspace mapped DRM GEM buffer object. > > The platform does not use VRAM, all graphics memory is regular DRAM > > memory, allocated via __get_free_pages >=20 > We should identify which kernel version(s) should be patched, please.=20 > 6.16-rc1? 6.15? -stable? >=20 The first occurance of the bug was on internal kernel tree that was based on 6.8. This patch is against 6.15-rc5. > I often make these decisions but in this case I have far too little > information to be able to do that. >=20 No worries. I see that this is picked up for mm unstable as is? Do you want me to generate a single patch merging the info of the cover letter and the single patch? The reason for the split is that I was not sure if you needed to have all the sordid details included in the applied patch. FWIW, we also have a buildroot patch that exhibits the problem in a much simplified way that what the original bug report came about. I don't think its appropriate content for the list, but I can share if anyone is curious about it. > Thanks. Regards -- Pantelis