RTEMS | cpukit: Create DHRL Library for DRAM Latency Mitigation (!1193)
Wayne Thornton (@wmthornton-dev)
gitlab at rtems.org
Thu May 21 01:25:45 UTC 2026
Wayne Thornton commented on a discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150643
> + return RTEMS_INVALID_SIZE;
> + }
> +
> + if (
> + ctx->worker_a_id != RTEMS_ID_NONE || ctx->worker_b_id != RTEMS_ID_NONE
> + ) {
> + return RTEMS_RESOURCE_IN_USE;
> + }
> +
> + ctx->active_config = *config;
> + atomic_init( &ctx->active_epoch, 0 );
> + atomic_init( &ctx->completed_epoch, 0 );
> + atomic_init( &ctx->winning_data_ptr, (uintptr_t) NULL );
> + rtems_mutex_init( &ctx->mutex, "DHRM" );
> +
> + sc = rtems_task_create(
Done. Will be pushed in next commit.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150643
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/20260521/c87ebcca/attachment-0001.htm>
More information about the bugs
mailing list