RTEMS | cpukit: Create DHRL Library for DRAM Latency Mitigation (!1193)
Wayne Thornton (@wmthornton-dev)
gitlab at rtems.org
Fri May 22 18:27:50 UTC 2026
Wayne Thornton commented on a discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150866
> + RTEMS_DEFAULT_ATTRIBUTES,
> + &ctx->worker_a_id
> + );
> + if ( sc != RTEMS_SUCCESSFUL ) {
> + return sc;
> + }
> +
> + CPU_ZERO( &cpuset );
> + CPU_SET( core_a, &cpuset );
> + sc = rtems_task_set_affinity(
> + ctx->worker_a_id,
> + sizeof( cpu_set_t ),
> + &cpuset
> + );
> + if ( sc != RTEMS_SUCCESSFUL ) {
> + return sc;
Understood. I've removed the `goto` labels entirely and unrolled the cleanup calls directly into each failure condition block so that resources are still properly freed. Will push in next commit.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150866
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260522/db6b2791/attachment-0001.htm>
More information about the bugs
mailing list