RTEMS | cpukit: Create DHRL Library for DRAM Latency Mitigation (!1193)
Gedare Bloom (@gedare)
gitlab at rtems.org
Fri May 22 14:22:55 UTC 2026
Gedare Bloom commented on a discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150817
> + 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;
We generally avoid using `goto` including for error/cleanup paths.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150817
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/4ebc9598/attachment.htm>
More information about the bugs
mailing list