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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6C5DCC46CD2 for ; Wed, 24 Jan 2024 12:29:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QfOWpOql88l18QpCMe47rAJkeMIyNngx5h9D/o1J3Rs=; b=EakaXs61CK6XuD RrpJgFfCDS27SEZg7KEV2aCpdTikxUYPIS5tEyIXapIC5vOEg0OvdG7fjr9Waw8BI23eEqCdmRa3g R5h3cRFf+ZJuVl3/Yv6rveMVXga0y4wceHuz5esHUUb3tzppb5UoWYah2PeJULtcGUt8iHH5/Ck0Q sSUCWR4YCptKD2wqwziysaYspx1JMtu05Kh4rTLli+ED6INQv+EbW47bCnQPTYZehjDx51sEflVa4 spInMchdnTPZm5f8Jr6XL3TqH91bzPKMb7FwFotI4cxxP43wdYikSTkE0x1oFv35aDMBQa1HAegdh 25rkaSCnzaOdQZ1v5dfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rScNJ-003DT8-1U; Wed, 24 Jan 2024 12:29:01 +0000 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rScNH-003DRw-0a for linux-arm-kernel@lists.infradead.org; Wed, 24 Jan 2024 12:29:00 +0000 Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 40OCRBIQ000670; Wed, 24 Jan 2024 12:28:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : in-reply-to : references : date : message-id : content-type : mime-version; s=pp1; bh=HfmJ1zK+NYQUvuNDkZxtMVy1ZxXi+1QuLnhuH4k6Wc0=; b=qknX1smjnCFSnSDdz9K7QQhxOvffIBFWq5bszAqGZgREnfJC2WHpDwKoewmnE7zAOrEd cv96AT28ONy20azi8cyhRJZwChyWfyApRdsi/tRuDjSPvvXdcXivjdh902lLCEcpjUcX JnBXfXaFpzeJrxK1RYM6ZHn82IdkOtXMVglDkZu0qCd9g6z9Li/EkVemFovO4kVAx4T0 klFz4BfImXjGzbJDKtr8shHmjg7C36MYJ1eHQjq5Vbm8KjauYTzw9LfHBkwilwXBkgR8 xgaYKw+3jpdurCVANzd1ZHGfK1QuYAHNBdQR9UVqYnqMvfZ/7FNNz1QNx+q255txkfTm 4A== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vu2bx8bmm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 Jan 2024 12:28:36 +0000 Received: from m0353725.ppops.net (m0353725.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 40OCRFSK001378; Wed, 24 Jan 2024 12:28:33 GMT Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vu2bx8bdb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 Jan 2024 12:28:33 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 40OBj9eu025285; Wed, 24 Jan 2024 12:28:31 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3vrtqkdcas-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 Jan 2024 12:28:31 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 40OCST0T44630396 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 24 Jan 2024 12:28:29 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 354182005A; Wed, 24 Jan 2024 12:28:29 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B3AE52004E; Wed, 24 Jan 2024 12:28:28 +0000 (GMT) Received: from tuxmaker.linux.ibm.com (unknown [9.152.85.9]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTPS; Wed, 24 Jan 2024 12:28:28 +0000 (GMT) From: Sven Schnelle To: Ryan Roberts Cc: Jiri Olsa , David Hildenbrand , Andrew Morton , Matthew Wilcox , Yin Fengwei , Yu Zhao , Catalin Marinas , Anshuman Khandual , Yang Shi , "Huang, Ying" , Zi Yan , Luis Chamberlain , Itaru Kitayama , "Kirill A. Shutemov" , John Hubbard , David Rientjes , Vlastimil Babka , Hugh Dickins , Kefeng Wang , Barry Song <21cnbao@gmail.com>, Alistair Popple , linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Barry Song , linux-s390@vger.kernel.org Subject: Re: [PATCH v9 02/10] mm: Non-pmd-mappable, large folios for folio_add_new_anon_rmap() In-Reply-To: (Ryan Roberts's message of "Wed, 24 Jan 2024 12:17:23 +0000") References: <20231207161211.2374093-1-ryan.roberts@arm.com> <20231207161211.2374093-3-ryan.roberts@arm.com> <41dc7dff-1ea8-4894-a487-88d46ec2b2d8@redhat.com> <1188e67e-5c04-4bb5-b242-78d92c3fc85c@arm.com> <6caaced7-a9d7-4fe4-823a-11b96be83e46@arm.com> Date: Wed, 24 Jan 2024 13:28:28 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 71MAZEQhl-TgTZUFZ5x0IfXxNuyTFLM2 X-Proofpoint-GUID: XxYJdeAV-7Gfh8Dc8S5zxblSgDXROtE4 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-24_06,2024-01-24_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 phishscore=0 adultscore=0 suspectscore=0 spamscore=0 bulkscore=0 mlxscore=0 malwarescore=0 mlxlogscore=893 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401240090 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240124_042859_348649_02875BD4 X-CRM114-Status: GOOD ( 23.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Ryan, Ryan Roberts writes: >>>>>>>>> I'm hitting this bug (console output below) with adding uprobe >>>>>>>>> on simple program like: >>>>>>>>> >>>>>>>>> $ cat up.c >>>>>>>>> int main(void) >>>>>>>>> { >>>>>>>>> return 0; >>>>>>>>> } >>>>>>>>> >>>>>>>>> # bpftrace -e 'uprobe:/home/jolsa/up:_start {}' >>>>>>>>> >>>>>>>>> $ ./up >>>>>>>>> >>>>>>>>> it's on top of current linus tree master: >>>>>>>>> 052d534373b7 Merge tag 'exfat-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat >>>>>>>>> >>>>>>>>> before this patch it seems to work, I can send my .config if needed >>>>>> >>>>>> Thanks for the bug report! >>>>> >>>>> I just hit the same bug in our CI, but can't find the fix in -next. Is >>>>> this in the queue somewhere? >>>> >>>> we hit it as well, but I can see the fix in linux-next/master >>>> >>>> 4c137bc28064 uprobes: use pagesize-aligned virtual address when replacing pages >>> >>> Yes that's the one. Just to confirm: you are still hitting the VM_BUG_ON despite >>> having this change in your kernel? Could you please send over the full bug log? >> >> ah sorry.. I meant the change fixes the problem for us, it just did not >> yet propagate through the merge cycle into bpf trees.. but I can see it >> in linux-next tree, so it's probably just matter of time > > OK great! How about you, Sven? Do you have this change in your kernel? Hopefully > it should fix your problem. Same here - the fix makes uprobes work again, i just didn't see it in torvalds-master and neither in todays linux-next. But Jiri is right, it's in linux-next/master. I just missed to find it there. So everything should be ok. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel