Changeset ab936440 in mainline for kernel/generic/src/proc
- Timestamp:
- 2019-02-12T20:42:42Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f31ca47
- Parents:
- 7f7817a9 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:26:18)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:42:42)
- Location:
- kernel/generic/src/proc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/current.c
r7f7817a9 rab936440 70 70 * 71 71 */ 72 NO_TRACE void current_copy(current_t *src, current_t *dst)72 _NO_TRACE void current_copy(current_t *src, current_t *dst) 73 73 { 74 74 assert(src->magic == MAGIC); -
kernel/generic/src/proc/task.c
r7f7817a9 rab936440 269 269 { 270 270 /* 271 * Remove the task from the task B+tree.271 * Remove the task from the task odict. 272 272 */ 273 273 irq_spinlock_lock(&tasks_lock, true); -
kernel/generic/src/proc/thread.c
r7f7817a9 rab936440 180 180 * covered by the kernel identity mapping, which guarantees not to 181 181 * nest TLB-misses infinitely (either via some hardware mechanism or 182 * by the construc iton of the assembly-language part of the TLB-miss182 * by the construction of the assembly-language part of the TLB-miss 183 183 * handler). 184 184 * 185 185 * This restriction can be lifted once each architecture provides 186 * a similar guarantee, for example by locking the kernel stack186 * a similar guarantee, for example, by locking the kernel stack 187 187 * in the TLB whenever it is allocated from the high-memory and the 188 188 * thread is being scheduled to run.
Note:
See TracChangeset
for help on using the changeset viewer.
