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

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

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
c

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.

Description

Arch: RISC-V enhancement Kernel
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

Dominant language
C
Stars
12.4k
Forks
5.5k
Avg merge
3d 7h
Merged PRs (30d)
79

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from RT-Thread/rt-thread

All issues in RT-Thread/rt-thread

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.