linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Proposal for Creating Shared Memory Areas via a Character Device
@ 2024-06-27 10:53 mannywang(王永峰)
  2024-06-27 12:44 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: mannywang(王永峰) @ 2024-06-27 10:53 UTC (permalink / raw)
  To: hughd; +Cc: linux-mm

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

Dear Mr. Dickins,


We have identified certain scenarios, such as interactions between running Docker containers and their hosts, where there is currently no suitable method to efficiently create shared memory areas. This limitation arises due to the isolated nature of these environments and the assumption that necessary path mappings may not have been configured during Docker startup.

My proposal involves introducing a character device driver (e.g., /dev/shared-mem) that allows processes within Docker containers and on the host system to share memory via mmap operations on this device. Unlike alternative solutions such as mmap-ing through file paths, this method eliminates the need to restart Docker containers by enabling Docker to access a specific character driver.

Thank you for considering this proposal, which aims to facilitate efficient data exchange between Docker containers and their hosts without disrupting ongoing operations.

Looking forward to hearing from you.

Best regards,

Manny Wang




发自我的企业微信

[-- Attachment #2: Type: text/html, Size: 2287 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-27 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-27 10:53 Proposal for Creating Shared Memory Areas via a Character Device mannywang(王永峰)
2024-06-27 12:44 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox