RT-Thread / RT-Thread/rt-thread

[Feature] riscv进行上下文切换的时候是否需要内存屏障fence指令呢?

Open
#11,693 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Arch: RISC-V enhancement Kernel
Dominant language
C
Stars
12.2k
Forks
5.4k
Avg merge
4d 12h
Merged PRs (30d)
40

Description

Affected area

Kernel

Hardware/BSP vendor

Not applicable / Other

Architecture

RISC-V

Describe problem solved by the proposed feature

riscv进行上下文切换的时候是否需要内存屏障fence指令呢?

Describe your preferred solution

No response

Describe possible alternatives

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files or tests. Start by locating the RISC-V kernel context-switch implementation and reviewing its memory-ordering assumptions; determine whether a fence is required and document or implement the agreed behavior, then validate it on the relevant RISC-V BSP.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.