Date: Thu, 21 Sep 2023 15:02:51 +0000 From: "John F Carr" <jfc@mit.edu> To: Rick Macklem <rick.macklem@gmail.com> Cc: Freebsd fs <freebsd-fs@freebsd.org> Subject: Re: RFC: Should copy_file_range(2) work for shared memory objects? Message-ID: <A298B8F9-C213-467E-87C8-3F5F42C72E76@mit.edu> In-Reply-To: <CAM5tNy58oxf7ui6DpuLbsLAk4K7U9B28XsJQAtN=wk3o9vxeQQ@mail.gmail.com> References: <CAM5tNy4HxY8LK0f6baGhu=opoC3-4ODhqNyxoyPY8vdwxGs5Xg@mail.gmail.com> <CABAD93F-E6B1-44A2-BD14-F3CC547EC7DA@mit.edu> <CAM5tNy58oxf7ui6DpuLbsLAk4K7U9B28XsJQAtN=wk3o9vxeQQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
DQo+IE9uIFNlcCAyMCwgMjAyMywgYXQgMjA6MzksIFJpY2sgTWFja2xlbSA8cmljay5tYWNrbGVt QGdtYWlsLmNvbT4gd3JvdGU6DQo+IA0KPiBPbiBXZWQsIFNlcCAyMCwgMjAyMyBhdCA0OjU04oCv UE0gSm9obiBGIENhcnIgPGpmY0BtaXQuZWR1PiB3cm90ZToNCj4+IA0KPj4gT24gU2VwIDIwLCAy MDIzLCBhdCAxNjo0NywgUmljayBNYWNrbGVtIDxyaWNrLm1hY2tsZW1AZ21haWwuY29tPiB3cm90 ZToNCj4+PiANCj4+PiBSaWdodCBub3cgKGFzIG5vdGVkIGJ5IFBSIzI3Mzk2MikgY29weV9maWxl X3JhbmdlKDIpDQo+Pj4gZmFpbHMgZm9yIHNoYXJlZCBtZW1vcnkgb2JqZWN0cyBiZWNhdXNlIHRo ZXJlIGlzIG5vDQo+Pj4gdm5vZGUgKGZfdm5vZGUgPT0gTlVMTCkgZm9yIHRoZW0gYW5kIHRoZSBj b2RlIHVzZXMNCj4+PiB2bm9kZXMgKGluY2x1ZGluZyBhIGZpbGUgc3lzdGVtIHNwZWNpZmljIFZP UF9DT1BZX0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