From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB70B3B27F3 for ; Mon, 6 Jul 2026 18:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783361805; cv=none; b=QW+pGBF7dcUICyYI2k/MFPwC4fhCvfA4eOYkwk2xSIilecetG6LuxJadxShkLx/LFvEuQX3GCLpDd8f5DCuMFG/zjnGUxypiGksfkIwm6JIlEFQQ4ohCqBru6bUUMGGQWx7CduN02/A2KvbOQYmAiKW3YtkaxRYHCeDlXeWBzXU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783361805; c=relaxed/simple; bh=XBxMi0JruZRfOpKBpk8TTN47HygeQas2rW6X95AsLZ4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JzIFiMgTJMLTcQbi1OPWzcwHd6Xv2ZSbnFAJDcDPkn+JEUWZzXibfX2T1T9QAQ5gzsGT/baYlDB3SMCu9mTNuEmXrVu4VqYOLa+AnMYSGQEnJGBibU6cgfgPxkhDfgXzUpXG1v9/g5jlQCOXnyN1D4o9beavUl5zFEbv5yDKBqI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=FehRhRiV; arc=none smtp.client-ip=209.85.219.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="FehRhRiV" Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-8efec2c28f8so21144616d6.2 for ; Mon, 06 Jul 2026 11:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1783361803; x=1783966603; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=XBxMi0JruZRfOpKBpk8TTN47HygeQas2rW6X95AsLZ4=; b=FehRhRiViCRvs6KWCYlxLKVPllj/RBP1vFb7kDLqghWhOb/EXWfAnu0dE/lldlDRce Zl+VyEuaWEYXPqq97wk2nLqiifcGBWzhrmkmitr5tErtWIEi0REw7ZVuk1Vun4PgjQOV yXySEw97AeYeQkdU3B6TEOUgO7zYAbEIOLD+yOuMCkoc4blTkC5hwgZu7y+85EJo5QDn d2Uk0veJHIQYlJx+VL38M2KkXmAsdd8G7vvAAmII5uEimL8ou8Wnz5gI3W6QRbO4V1EW tHs/SEM7aWrpytcfgNBa3ab8RBbECpq0XwhES/0eFbJuPYCNcITIp27aMdE3zPQqzwiZ 6SiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783361803; x=1783966603; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=XBxMi0JruZRfOpKBpk8TTN47HygeQas2rW6X95AsLZ4=; b=XE15nHhS6txEttOEIMK96wQ0nXazggkUjSPtpx9poNB1i4toPTukkhXJAZKM069Ohz p+zwPUhbY0tgcNjT/MfIru8RwjuSXIxnS3DxQYoHB74qzWc2Yn1fYbWdVUSq2YomiUt7 dgeYdyFIks8anMVITBhxWW/Yr9lnsBK2qVOofXUc8OpgnO25q9zBatbd9Kezk919Io4V Yzba1bTWdeGpl1sUjLdtUqJ46vMi3t76nfaNGJCW8fg9nwU9/ZbzC/RoJnzXDWcPTqyo hYtN/jfZ75frLIoqK1dXvTWzffw+40CiZ31rg6LX0QyaOFSB+1jIQW66lhIdno2AUWjL H9eA== X-Forwarded-Encrypted: i=1; AHgh+RoKyKHOD6XlrVsB2pEqf711i9Z0DXpttuIiXEUhRp4VJBKT7ydB1tZfXckN64oNHMfF4Xt3M5bCjbqYXNbyh38=@vger.kernel.org X-Gm-Message-State: AOJu0YyKbM5/e4h9zHpVoCx5JkeOq6Ivd0bGbyp6lQs8lzHhDn2pEv3w IX/r4/YkR5Ixh51Xpi8MQEfaUpfLy8/ggVQonj5kJ5Zkdjr/g/tGBiu4IsG/fp5k1rE= X-Gm-Gg: AfdE7clCub+g2Y8SJD0HrQFoHS7tLT4BxxBsc3MKvHHiVHVorIAEoiy+XRWOPx2Lor/ PkLZ/HJT4p1dCBrc4H9HTO6hMdHV7x8xD5f1VijqFL9cHUiU2CP7lnkNnWY1uMo0qUOIw4SiMKU 5LgpNEziL7FjyQnEV/+Ex/x1U1+EQa5+7QNLPidy6rEfThtmvw6i0WZzDumXDlWATkKPgiw8NXm 3/gSU384nazkvMjTy9KRqfVd2mLxCl6EzXgvgIA3NMcCSkiqVS8JkKuemAuPqGF9o8zMEmSqDPx ohgOIJpJ4/G4FFTs7HdBgNAmVgRX7M83aUJkIDyCoHmHBe7mu+1EDEP1q0jEySu/HmpS0A6p7YI fKrnx52/vkkzd2eBoUVLnbtvm50f9D3k1+v01eHODpitcf1cx2m+350SwBoC4d8unmS3nXxw= X-Received: by 2002:a05:6214:226b:b0:8ee:b05c:596d with SMTP id 6a1803df08f44-8fcb336e9fbmr21380346d6.22.1783361802525; Mon, 06 Jul 2026 11:16:42 -0700 (PDT) Received: from ziepe.ca ([159.2.72.92]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8f4724b9ff8sm139929466d6.40.2026.07.06.11.16.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2026 11:16:42 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1wgns0-00000000dbb-1jFq; Mon, 06 Jul 2026 15:16:40 -0300 Date: Mon, 6 Jul 2026 15:16:40 -0300 From: Jason Gunthorpe To: Stanislav Kinsburskii Cc: Liam.Howlett@oracle.com, akpm@linux-foundation.org, david@kernel.org, corbet@lwn.net, leon@kernel.org, ljs@kernel.org, mhocko@suse.com, rppt@kernel.org, shuah@kernel.org, skhan@linuxfoundation.org, surenb@google.com, vbabka@kernel.org, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, longli@microsoft.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, linux-hyperv@vger.kernel.org Subject: Re: [PATCH v6 4/4] mshv: Use hmm_range_fault_unlocked() for region faults Message-ID: <20260706181640.GC118978@ziepe.ca> References: <178336023903.504354.7500950448226027718.stgit@skinsburskii> <178336052192.504354.1841795575701703197.stgit@skinsburskii> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <178336052192.504354.1841795575701703197.stgit@skinsburskii> On Mon, Jul 06, 2026 at 10:55:21AM -0700, Stanislav Kinsburskii wrote: > Convert mshv_region_hmm_fault_and_lock() to use > hmm_range_fault_unlocked() instead of taking mmap_read_lock() around > hmm_range_fault() directly. Please convert all the trivial users too, thanks Jason