From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (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 67B223176EE for ; Sun, 23 Aug 2026 16:43:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787503401; cv=none; b=cLd0JOo3zWQZuR4EWtm+2BQlLDJqunYggPnLQx8rFrjmgE7ZJy5Z8xH/+vq6TUzCghehqZb+VcA2WohGqWKS03heK3r0jJjPlkAWRE0jwu7592le2qhOLCyv/UsJzD2POIwKV8vqDWq+xadKO3BOQGPulnMnUgS5BhG8dabpQYI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787503401; c=relaxed/simple; bh=pWDzkQYpINPFTZeR8thS8nOa7PK6nZSbqUQipGA4xXM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qXjpRPBZf5UTb4MIb0bGkP7lLIOXQvx0H6977tfO7kuMEEZsatKgZS8yIxYxRYoxPXhP5WFsh8AOt0REwflp4UsdnGlleC0aGIgGszZ7Iaq7qKb/pxFJowhl6DuU1qc0ViSaqJNnRaNYBX7A3a6C0Lf9UWl4IrTlTXNCbJ1bNfk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=D3oYCTlz; arc=none smtp.client-ip=209.85.160.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="D3oYCTlz" Received: by mail-qt1-f172.google.com with SMTP id d75a77b69052e-52b3934af3fso30860001cf.1 for ; Sun, 23 Aug 2026 09:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1787503398; x=1788108198; 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=4EA5wtk151L22kFWX4iHeihngZ8TcErsEBYYtEmRpXE=; b=D3oYCTlz7ZV/CP8G0eG7QNXAoBrIdfkDLHRo+V+aL5ugG28nejEPsP1eNMKS/brxA1 WeW8zr3GnTTPNXbO+bYNvs09T0J/cnUU+zlsIF7Fqd8aa02uhuwWO1ZM8EvgyE4k0Z/p 6gfNs4RnxepRMu4lJr093Kr2yX/067r54D4+Eg7QVN4z+tD2qGKKihOEEmcmecOoQ6ed 3HwpG7ytChYL/0RILqtER+MvdyCH8C0rJWP3pePI6O1VwSkZHuaqhJWjSM05KHRInsED vkbylTcdZmmN2ysybcTKO5NM8OxpeUjplAheXrTpkM/8fUg8/znHDMt/UXkvdyAKTHyM fgaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787503398; x=1788108198; 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=4EA5wtk151L22kFWX4iHeihngZ8TcErsEBYYtEmRpXE=; b=a7hsWeGeW+zrxewvuTZEkq+p2peqnjZVRWLIyeTJHaoHUlwhbf5xoWgZ2T9nvGMP8C WJ9JgKUzpHtHWdojLW+E+qGVr4Vv3U8J/BGawU0Lff6Y+SWEKsWzpgtONFpTo0oa/P8E I/RHAyUABYOIaXDNa0zQPUvoSETNBHB9Ir1NhcV/ltXuJe/4JqgJzlqYdfoI8mIIO2ru q81H/33TT7Yvxbb2Plma3isnvddXNz07mSneJxpPRuonJN9wA4642pNgdrfvzgiTFqX0 wADtmylpGELMvLGw5UZrUrVw5lHlBI7UxWI2JyxWfOmRhqyHY73w/MmiKXjLEDvsEe/P 3+IA== X-Forwarded-Encrypted: i=1; AHgh+RqF+AeIrhKD2H5yD1LTD2Y4JAxPXlTMprWn/p582Gi/tyjmOfMjwxnT3Oi9IV9vtmyFUenalZ4tnljHQSU=@vger.kernel.org X-Gm-Message-State: AFuF++nV2KQfn+iFoyPi2xW4m9AtOOIHiyCdtGSUfDe/LvUIsHywASW2 OXOntiXgxhSarFOEO8TVh+l8nmp1hawQMWAHOWuIKFCdi6GlI2+M6GIrAfpbMB+h+squO6Kflpt NMvhWpdU= X-Gm-Gg: AR+sD12fDSz0ctVQcR84s1ffFzHWTbIGJhcp2ROf/EiJlVtjZ9mZON3Cp1izgYYwzuy xZRKiBtrYze9wsfsv/VmsN2bNiGJoRQR8TdUQsWZm0aDVriicFlW1vJgRfgOzXh9clLG4u5DzaK cHmaIcv3l2Z8uZesd01V1Mo221R3bFHX6M3TkwPhq+FpjlvoawycULeSWhBiMvXITUUJgz61YRM 4jwZlHqXEfPHeGyoP3S1o0auImjJ3w8bA07ZGYCHt8IYgTiXUFGViVEIqAgE4rlT4yxl/0PNTcO G/XWJBy2F3HPFy7Y7hYvBy8eQQVZ/U7fRspqH/1EebsJ0K1O3CtExcxELmBqOYrBxhQnBKpDLV8 r1S+UGjLTAH204emjg69pRxfr1vv/YkyFjro6npmT1i1C5+1RIN+gFCv1tuSH33nixAYIhgd/PN XEf3Xd9IoD4FB0im6nbIs6FyGQ7YJ1tkxnZ4IVLVZlNmfjFcvHRzzufDXuBiFouKgNp5x6ai8lS Op8Yizp5FFD2aZ1XRaIgiNu59tz2J10rFTRpiX8ho3QPW1A9x8AOIQ= X-Received: by 2002:a05:622a:90e:b0:51c:1fd1:e755 with SMTP id d75a77b69052e-52df59e7e7amr219365661cf.36.1787503398278; Sun, 23 Aug 2026 09:43:18 -0700 (PDT) Received: from gourry-fedora-PF4VCD3F (pool-173-79-60-52.washdc.fios.verizon.net. [173.79.60.52]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-90c9361720bsm41074616d6.21.2026.08.23.09.43.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Aug 2026 09:43:17 -0700 (PDT) Date: Sun, 23 Aug 2026 12:43:14 -0400 From: Gregory Price To: "Darrick J. Wong" Cc: John Groves , John Groves , Miklos Szeredi , Dan Williams , Bernd Schubert , Alison Schofield , John Groves , Jonathan Corbet , Jake Edge , Shuah Khan , Vishal Verma , Dave Jiang , Matthew Wilcox , Jan Kara , Alexander Viro , David Hildenbrand , Christian Brauner , Randy Dunlap , Jeff Layton , Amir Goldstein , Jonathan Cameron , Stefan Hajnoczi , Joanne Koong , Josef Bacik , Bagas Sanjaya , Chen Linxuan , James Morse , Fuad Tabba , Sean Christopherson , Shivank Garg , Ackerley Tng , Andrew Morton , Namjae Jeon , Lorenzo Stoakes , Greg Kroah-Hartman , Ira Weiny , Pasha Tatashin , Haren Myneni , Pratyush Yadav , Giovanni Cabiddu , Jiri Slaby , Ethan Nelson-Moore , Gabriel Whigham , Aravind Ramesh , Ajay Joshi , "venkataravis@micron.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "nvdimm@lists.linux.dev" , "linux-cxl@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "fuse-devel@lists.linux.dev" Subject: Re: [PATCH v13 10/12] famfs: Add runtime operation-permission (opts) framework Message-ID: References: <0100019fed5850ec-2bdfb17a-3086-44ea-8fdd-777d3ce12a33-000000@email.amazonses.com> <20260810202539.96378-1-john@jagalactic.com> <0100019fed5a5210-a09f1bdb-c705-44fc-8108-a7e7995a7af0-000000@email.amazonses.com> <20260822000728.GB6047@frogsfrogsfrogs> <20260822174029.GC6110@frogsfrogsfrogs> 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=us-ascii Content-Disposition: inline In-Reply-To: <20260822174029.GC6110@frogsfrogsfrogs> On Sat, Aug 22, 2026 at 10:40:29AM -0700, Darrick J. Wong wrote: > > A bigger question I just thought of is sharing cxlmem between files (aka > reflink). Is that allowed? I could see a theoretical usecase for > programs A and B wanting to share some cxlmem for communication or > heartbeats whilst having their own /a and /b files for their private > memory. Probably you'd just create a /common file to do that and not > map the same cxlmem page into /a and /b, right? > If the underlying memory hardware is hardware-coherent, then this would be supportable because the coherence domains of all the hosts connected to the large pool would extend to one another. In our current world, these huge-memory distributed memory systems are non-coherent and each host's coherence domain stops more or less at the head it uses to connect to the shared media (it's probably more accurate to say it's "device dependant" but that's besides the point). Anyway, there's "allowed" and "useful". You could technically do it (maybe not with FAMFS' current guard rails) - but it would be useless unless Process A and Process B were in the same coherence domain. ~Gregory