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 06a172a8a57d5beee98018b728057d1de1e86bf9 Author: Bowen Wang <[email protected]> AuthorDate: Sun May 17 21:15:31 2026 +0800 rpmsg/rpmsgblk: set endpoint priority to RT The rpmsgblk client endpoint callback only performs memcpy and rpmsg_post operations, which are all safe to execute in interrupt context. Set the endpoint priority to RPMSG_PRIO_RT so the callback runs directly in the interrupt handler, eliminating context switch overhead for cross-core block device operations. Signed-off-by: Bowen Wang <[email protected]> --- drivers/misc/rpmsgblk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/rpmsgblk.c b/drivers/misc/rpmsgblk.c index c64b8917727..afdf611fdd9 100644 --- a/drivers/misc/rpmsgblk.c +++ b/drivers/misc/rpmsgblk.c @@ -1152,6 +1152,7 @@ static void rpmsgblk_device_created(FAR struct rpmsg_device *rdev, priv->ept.ns_bound_cb = rpmsgblk_ns_bound; snprintf(buf, sizeof(buf), "%s%s", RPMSGBLK_NAME_PREFIX, priv->remotepath); + rpmsg_set_priority(&priv->ept, RPMSG_PRIO_RT); rpmsg_create_ept(&priv->ept, rdev, buf, RPMSG_ADDR_ANY, RPMSG_ADDR_ANY, rpmsgblk_ept_cb, NULL);
