Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1156524lqo; Thu, 9 May 2024 06:26:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMs7dgSpL66e61lMRBsrU1AqGUMiTq2bC52sQSI3LgzTn9+57OrIHnafjs1AOfuqbvcuW/TN6Lv+Yi2+j9KPztzCuQU9H00NtoyS+2zQ== X-Google-Smtp-Source: AGHT+IEmPr47ttXs7fbNHXA+F5YTGBPFqECUNkDaiJ25RCwaITDzvsoLXoT64gjnYAcP2+XdsAAj X-Received: by 2002:a05:6a00:640c:b0:6ea:d794:ccee with SMTP id d2e1a72fcca58-6f49c22a5cdmr4987976b3a.17.1715261174385; Thu, 09 May 2024 06:26:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715261174; cv=pass; d=google.com; s=arc-20160816; b=RI1cwsfa8qydEOfsSSiodUYA4hmPL0/XwSfeH5aRXi5sLtm40zUAt0MV0xF5L+r4By 23d/v3MUM0z3bCvK01M2DgwyzDv3oksYATwULoG8SHDg3XXkj+ZCsUSYrkrcFxmEiFmb JbZUXxSIqauxbDV5IQiIrwGtmpaqXVpYFU7S12DrutmxYUuHv0cNE+ozFf52xr3n+rdw Gc+QuWQRU40g4K2PW5pWLvPiCuF5U5zTYLoCJZ9igkrTCaxtnRkHZu23/1XBWxz04uLQ vdcVdxHAdDM6abzkkGPgNLHycAvLvjR/COlqW5fw09HH+Eso/8J7Ms6ixGSZr8wJgvdc +3lg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cYFPPJZKOGFD0i1KKljU7Qa1N+D0FkSOCXLk5sIs25c=; fh=s2FooOSHAyO8F+b47Tt/Rnt5EFEeQhfG2w5VSC2U4Co=; b=TSfyW3YpT+4sBTNzXgEJ4v9BonIpvFSvT/KrZG077th49TB1EcSKEx4sOOfY7dOHKW UwpF5yjsja4krFk2RxkloHHXohmWKhLpIqiKfS6qx3OkIaDtqRzx17SqMk/8gwBE+Iq9 T42OksAGR5XIqCrKvcAnR+7Ur1ZOAwo3tv2J5ydO2wQ1cw8efdh1MdzBnCt7leoT1G9D JsU3DmTnX8OA9jlOF8GKtVX2QKUbiCpL5kXcFt9yMvToSSBEGGgl2Sk6mL+sWP6G+06Y 976QlLLycwJgUdpOQZCO70nzfxzU7TY+JrK//dbBhwBABtv4oApG93uFKJ3tG2QeCEoH K8Og==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Q2BxL17A; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-174536-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174536-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a737aesi1483609b3a.41.2024.05.09.06.26.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 06:26:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174536-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Q2BxL17A; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-174536-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174536-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0D7DFB22B34 for ; Thu, 9 May 2024 13:26:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA61415279B; Thu, 9 May 2024 13:26:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Q2BxL17A" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70BAA1272A8 for ; Thu, 9 May 2024 13:26:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715261162; cv=none; b=luUqnJ0NPfaqZF/bydARbnwUFGzXtmLjX5UyYv5Jwk1Sn4TeJq5YPopmOcy8ilQUG56ACGy7Ywr0tmx1G96eBTyJpobwcrA7KmCjew2vzx4Q0vu1U2ZuzFcHTO5eIJ687O8RxtMl17CRSb+u06c8s/J0uN1RtgKtpU93hMHeFFM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715261162; c=relaxed/simple; bh=IwlJXIVeldRELa0/z+zt6CIvG1bWfjAC1EoduHYSA2I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tdqTkM9HwyJ4Oj+3/mxWGSAouz9c/AUwT/iUt9wH3sSEmU0cxXawJx6TOdFiQeysLuwk0/0Ycpmo8McfYlKPYA86mgRpruJy2jWxzRWXLc0WzYDxKOW1xU5TAZEkm5Fwg3hVXr8wqtqXE16sk18IdchtRaDmYhXb1/BMNkjHC10= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Q2BxL17A; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715261159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cYFPPJZKOGFD0i1KKljU7Qa1N+D0FkSOCXLk5sIs25c=; b=Q2BxL17A1AhN8F7xHkjZ/tN4q8/9IkiM56YJxIF2V1wMwDzfRlZvjrAwT0VxzlF5FwLSgs U/qOR386WiXBqvFkC6F5x8qX6UgWiaHcrdyGd08Dsc34xATKZEvgi98dTYXYRZpNu1iDDf Z52ruNxSlSGFuVto203SetJwW62D4QQ= Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-687-69ZMY2bdMyKltkRNZvWMTA-1; Thu, 09 May 2024 09:25:58 -0400 X-MC-Unique: 69ZMY2bdMyKltkRNZvWMTA-1 Received: by mail-oo1-f69.google.com with SMTP id 006d021491bc7-5b22d772714so215450eaf.1 for ; Thu, 09 May 2024 06:25:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715261157; x=1715865957; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cYFPPJZKOGFD0i1KKljU7Qa1N+D0FkSOCXLk5sIs25c=; b=gcAk/FWXBCRxSm/8ROtGrnfdZbbtt8acZDjtIXjc2EiXYwu697fE4AbKgtHwUl9bN6 Iem8W+D0mNh0V0L/zJGWzC3rSTxE3vR6BcgoiUQ0ckRQWzYoyZnXreEmQxStPDdwdoeV uIdJG0VPkKmHanEg2C5aihZp7izo8mIvXlmYZ4retd9S7mq3A/ZirTinS7iZbTnFvwwz 2F7oM4eO+VzjAAj+uZW59NWzrdH5ZUEAx3ceBZRjrgMvaGZXHye+mFghGlyWy2awU/MP AW0A0tqRI53h5C4cNzoXpy1XLQsdqreZiyjm8b12x2fNQLuQ9ImFNBqRlC9UD5VfuNak zgGw== X-Forwarded-Encrypted: i=1; AJvYcCUPp38IQZWyoM2ymxlcv2b7vSVtvJy+BBHctEmWYyTWOKHJHr+OE5DWglTInKm3ODYotSx9KKngrowjgnL8Y0SIJwGFV+HTU7Jc7Xy5 X-Gm-Message-State: AOJu0YxymlFXgUIlHVM+A5C9IbYys/UMOCyBssxrd+i42IMI6ircR72t C3b5QiY24ETgb5U42Bgx4SoR4WYOLFJ6LHm+FAUjR6IHE6Ra5r2rnHWLkkw0l10DnbfFXI+8v4b ieDD/IlHMe1EE/vkt4k2N9X3dsH5jZHgJHpmfaNYp7UQIjecfKGxW4rNAjXsvBA== X-Received: by 2002:a05:6359:4c21:b0:192:7817:5c4b with SMTP id e5c5f4694b2df-192d1b33924mr573402355d.0.1715261157104; Thu, 09 May 2024 06:25:57 -0700 (PDT) X-Received: by 2002:a05:6359:4c21:b0:192:7817:5c4b with SMTP id e5c5f4694b2df-192d1b33924mr573398755d.0.1715261156412; Thu, 09 May 2024 06:25:56 -0700 (PDT) Received: from x1n (pool-99-254-121-117.cpe.net.cable.rogers.com. [99.254.121.117]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6a15f1872f8sm6962456d6.55.2024.05.09.06.25.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 06:25:56 -0700 (PDT) Date: Thu, 9 May 2024 09:25:55 -0400 From: Peter Xu To: Oscar Salvador Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Muchun Song , Axel Rasmussen , Liu Shixin Subject: Re: [PATCH 0/2] Minor fixups for hugetlb fault path Message-ID: References: <20240509100148.22384-1-osalvador@suse.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240509100148.22384-1-osalvador@suse.de> On Thu, May 09, 2024 at 12:01:46PM +0200, Oscar Salvador wrote: > Hi, > > this series contains a couple of fixups for hugetlb_fault and hugetlb_wp > respectively, where a VM_FAULT_SET_HINDEX call was missing. > > I did not bother with a Fixes tag because the missing piece here is that > we will not report to userspace the right extension of the faulty area > by adjusting struct kernel_siginfo.si_addr_lsb, but I do not consider that > to be a big issue because I assume that userspace already knows the size > of the mapping anyway. Acked-by: Peter Xu -- Peter Xu