检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:汪敏 Wang Min(Management Office of Song Qingling Cemetery,Honorary President of the People's Republic of China,Shanghai 200237,China)
机构地区:[1]中华人民共和国名誉主席宋庆龄陵园管理处,上海200237
出 处:《无线互联科技》2023年第4期1-4,22,共5页Wireless Internet Technology
摘 要:Linux操作系统广泛运用在服务器运维、嵌入式软件设计和移动端应用开发中,而对于Linux进程间通信机制的理解和研究又决定了软件之间数据通信的效率。Linux有多种方式实现进程之间的通信,包括管道、消息队列、信号量、socket、内存共享等,其中内存共享是效率最高的一种方式,实现了不同进程对同一块物理内存的访问,不需要陷入内核态中进行内核空间和用户空间的数据拷贝,大大提高了通信效率。文章介绍了在Linux操作系统中内存共享的4种不同实现方式,同时介绍了不同实现方式在原理和应用场景上的区别。Linux operating system is widely used in server operation and maintenance,embedded software design and mobile application development,and the understanding and research of Linux inter-process communication mechanism determines the efficiency of data communication between software.Linux has a variety of ways to achieve communication between processes,including pipes,message queues,semaphores,sockets,memory sharing,etc.Memory sharing is the most efficient way to realize the access of different processes to the same physical memory,and it does not need to be trapped in the kernel state to copy data in the kernel space and user space,which greatly improves the communication efficiency.This article introduces four different ways to realize memory sharing in the Linux operating system,and introduces the differences between different ways in principle and application scenarios.
关 键 词:LINUX操作系统 内存共享 进程间通信 dmabuf框架
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.91