This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit aa0e22292e6e6204d5255308e7a2ced640d8f136 Author: Bowen Wang <[email protected]> AuthorDate: Sun May 17 21:16:02 2026 +0800 fs/rpmsgfs: run the client callbacks in the rx interrupt The client endpoint only receives replies, and every reply handler just copies the result into the waiting request and posts its semaphore. Set RPMSG_PRIO_RT on the client endpoint so rpmsg_virtio calls them straight from the rx interrupt instead of a worker thread, which removes a thread wakeup from every remote file operation. The server endpoint keeps the default priority. Signed-off-by: Bowen Wang <[email protected]> --- fs/rpmsgfs/rpmsgfs_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/rpmsgfs/rpmsgfs_client.c b/fs/rpmsgfs/rpmsgfs_client.c index 508edebee6b..01b181df611 100644 --- a/fs/rpmsgfs/rpmsgfs_client.c +++ b/fs/rpmsgfs/rpmsgfs_client.c @@ -370,6 +370,7 @@ static void rpmsgfs_device_created(FAR struct rpmsg_device *rdev, priv->ept.ns_bound_cb = rpmsgfs_ns_bound; priv->ept.release_cb = rpmsgfs_ept_release; snprintf(buf, sizeof(buf), "%s%p", RPMSGFS_NAME_PREFIX, priv); + rpmsg_set_priority(&priv->ept, RPMSG_PRIO_RT); rpmsg_create_ept(&priv->ept, rdev, buf, RPMSG_ADDR_ANY, RPMSG_ADDR_ANY, rpmsgfs_ept_cb, NULL);
