qnx中的消息传递怎么做到不使用内核空间中转?

qnx手册上说:
messaging services copy a message directly from the address space of one
thread to another without intermediate buffering, the message-delivery performance
approaches the memory bandwidth of the underlying hardware.

是不是说内核直接吧进程1内存数据copy到进程2内?好像和domain socket不一样?domain socket是把消息缓存在内核中,等接受者有空了,再从内核中读取出来,不知道我理解时候有误?

对。传统的消息传递机制,UDS也好,mqueue也好,都有一个把用户数据缓存到内核中的过程。但是USD,mqueue都是异步消息传递,而QNX的,是同步的。

那为什么linux不提供这种服务,qnx的同步消息传递有用到啥机密技术么?

没有什么很特别的机密技术。只是进程间通讯本来就不是Linux这样的操作系统设计的重点。传统的消息传递机制也都是异步的。

而QNX这样的系统,进程间通讯是系统的生命线,所以更加关注而已。