Skip to content

Commit

Permalink
SPRs: fix link formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminGrayNp1 committed Jan 23, 2024
1 parent 11abc59 commit bc8b699
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions content/blog/2023-11-28-context-switching-sprs-on-powerpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@ per-task resource. But, depending on the particular SPR, writing to them can be
_slow_. The highly used data-like SPRs such as LR, CTR (Count Register), etc.,
are possible to [rename](https://en.wikipedia.org/wiki/Register_renaming),
making them comparable to GPRs in terms of read/write performance. But others
that affect the state of large parts of the CPU core, such as the [Data Stream
Control Register (DSCR)](https://docs.kernel.org/next/powerpc/dscr.html), can
take a while for the effects of changing them to be applied. Well, not so slow
that you will notice the occasional access, but there's one case in the kernel
that occurs extremely often and needs to change a lot of these SPRs to support
our per-task abstraction: context switches.
that affect the state of large parts of the CPU core, such as the
[Data Stream Control Register (DSCR)](https://docs.kernel.org/next/powerpc/dscr.html),
can take a while for the effects of changing them to be applied. Well, not so
slow that you will notice the occasional access, but there's one case in the
kernel that occurs extremely often and needs to change a lot of these SPRs to
support our per-task abstraction: context switches.
## Anatomy of a context switch
Expand Down

0 comments on commit bc8b699

Please sign in to comment.