From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f74.google.com (mail-ed1-f74.google.com [209.85.208.74]) (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 19B1D368264 for ; Tue, 23 Jun 2026 10:53:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782212029; cv=none; b=DPydfW9cmXQS/9HZ2vOdAImwPyoFaUlTB7PqF6RF6wFh297tKG5VNioKje43GVtQjNLtGEu8nOqBo2VdW+fplRK3XU82cW/CWByOF+VP9SNgjEcqVz5IZ51yCOFkalwEQNxTr/IN2WBmx7GQ8s0sGRfhUgX4dQaI4JaEjB8nSpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782212029; c=relaxed/simple; bh=YKfD0psK2ie1X+9/jnDzGmtaWSd2ofBdm3WGeW7soQo=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=hMqRAu81XDANDPrm8/hZbEZNRM8XIIF+bH7vS4jIbU021aoo3aHbTZDPL7EPpCf8sCLxECzgWJVR0sa1P5EFPHkuSFqCrTRCnwaz/VXBeZMoopDR5G3ucVtav8dQsI8JTa4PbHNdmuljIf3z3ZxdQyE6nnCJo5VMztefog5xa70= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--tarunsahu.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=CUkuOu9E; arc=none smtp.client-ip=209.85.208.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--tarunsahu.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="CUkuOu9E" Received: by mail-ed1-f74.google.com with SMTP id 4fb4d7f45d1cf-69576b83dc2so4946574a12.1 for ; Tue, 23 Jun 2026 03:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1782212026; x=1782816826; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=Duz8Zx+8AiYnCdBwNjKZl5RmXQ31zXqUNM7RLp7vFfQ=; b=CUkuOu9EzAbDqZIUMEMe8sXdrByhAJIvEiMsKSDyBW8nRYSWMar27dfAIedQiMK+Mx 6mJEFgB61mjFdZepM8zK9a8+q4mSiD7f33d/kmHI8kN+RyD/FeWYYcCcVyaQLQ56iU6p l8eScn4pcN9iF5pz2VFecpYEkBv5ehI629cNBe84vCU+wXgUt8FRjUJstN1nVEvInWhs uJQ7A56XsMFlHFK3cGCdDm/bQAeBou3eyCRDdtfzJkcsxdkydhJpyNBl4FEKPQMKHiho 7fbGMVbBPJQXsxAuB/UmLTOZi3H7AtJ0BOLRe6Cl0Ju5TN/ZyhImPs4AIKvqnY9aKuRv LMLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782212026; x=1782816826; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Duz8Zx+8AiYnCdBwNjKZl5RmXQ31zXqUNM7RLp7vFfQ=; b=nO5CiWJVEdyqpe2MmeqxY33oUpa26syHixULBNiAQOPKomQL1AgKPKRZbdl6yha+mB uvjyUDWvTBvN+ALGm1pmyroXA8rkilMrUt8mGPSqYrNAKb8bYBbSxc8v3NtoPaBvFdMi ryZH5wco1lSkuJgPZxmRKhAc7qyfbYMxjpZ6WofmQzRXy321YVU/GL9zSLVLlryHEtk7 najlhA71eQrAXLJ2KFgP7+ytofP7bFUBrlk+ZdPZ+Dug01jgZt7p5zHIVvUwZzPtf+iJ XiXqaduwW9ivxGRSQwPFWrHGRTfkzEYiCs2hC9bvtx6dZbLFkIicB9EoVwNfZAsoBFZY 2t8g== X-Forwarded-Encrypted: i=1; AFNElJ81vNCPJdzPGmXoDO/sQV4oeXgLQm6LeM+0R6emr0kD8gioi20HEX2xQ5NdnAkQY1X4wYlNujocTi/MUvM=@vger.kernel.org X-Gm-Message-State: AOJu0YznUgAXY2w7Hp5SN4xs5BJ6a/V/MEA+185DJ+jmwg4rdTujJVcn 55/o2sg7VniagVRwlg8amor3DZkYaIBGofB58LmEFOeTjeApGkF9cVsA/10PFGicAgwjeq7GzYN xuAKZwNKX4vcGetzDeA== X-Received: from edah41.prod.google.com ([2002:a05:6402:ea9:b0:68b:8a53:a28e]) (user=tarunsahu job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6402:380a:b0:691:b5aa:5a57 with SMTP id 4fb4d7f45d1cf-697dbb55ea4mr960674a12.18.1782212026359; Tue, 23 Jun 2026 03:53:46 -0700 (PDT) Date: Tue, 23 Jun 2026 10:53:45 +0000 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260622225736.2961438-1-tarunsahu@google.com> <20260622225736.2961438-3-tarunsahu@google.com> <178220761164.162773.6384380547612711985.b4-review@b4> <9huzpl1h37hj.fsf@tarunix.c.googlers.com> Message-ID: <9huzse6dle86.fsf@tarunix.c.googlers.com> Subject: Re: [PATCH v4 2/2] luo: Update serialized data to use KHOSER_PTR From: tarunsahu@google.com To: Mike Rapoport Cc: Pasha Tatashin , Pratyush Yadav , Alexander Graf , Andrew Morton , linux-mm@kvack.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Mike Rapoport , Breno Leitao Content-Type: text/plain; charset="UTF-8" Mike Rapoport writes: > On Tue, Jun 23, 2026 at 09:56:40AM +0000, tarunsahu@google.com wrote: >> Mike Rapoport writes: >> >> > On Mon, 22 Jun 2026 22:57:36 +0000, Tarun Sahu wrote: >> >> Convert raw serialized_data to KHO serializeable pointer (KHOSER_PTR). >> >> This series also takes care of resolving the bug with memfd of using >> >> phys_to_virt before checking the args->serialized_data value. >> > >> > For easier backporting the memfd fix should be a standalone commit that >> > comes first in the series. >> > >> > Other than that >> >> It will break compilation for individual patch. For example, memfd_luo >> changes are hard coded dependent on the args->serialized_data >> conversion to KHOSER_PTR? >> >> Maybe I did not understand, Could you please explain what you mean? > > Sorry I wasn't clear. > If people think it's important to have the memfd_luo fix in 7.1, the fix > should be the first patch in the series and shouldn't use KHOSER pointers. I dont think, this is critical issue. But it will be a good practice. I sent v5 with these changes. Thanks for the review! ~Tarun > >> > >> > Acked-by: Mike Rapoport (Microsoft) >> > >> > -- >> > Sincerely yours, >> > Mike. > > -- > Sincerely yours, > Mike.