- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for p_raceprocctx (0.17 sec)
-
src/runtime/race_s390x.s
BL runtime·load_g(SB) // Saved by racecall. CMPBNE R2, $0, rest // raceGetProcCmd? MOVD g_m(g), R2 // R2 = thread. MOVD m_p(R2), R2 // R2 = processor. MVC $8, p_raceprocctx(R2), (R3) // *R3 = ThreadState *. LMG 48(R15), R6, R15 // Restore non-volatile regs. BR R14 // Return to C. rest: MOVD g_m(g), R4 // R4 = current thread. MOVD m_g0(R4), g // Switch to g0.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 13.1K bytes - Viewed (0) -
src/runtime/race_amd64.s
// benefit from this fast path. CMPQ RARG0, $0 JNE rest get_tls(RARG0) MOVQ g(RARG0), RARG0 MOVQ g_m(RARG0), RARG0 MOVQ m_p(RARG0), RARG0 MOVQ p_raceprocctx(RARG0), RARG0 MOVQ RARG0, (RARG1) RET rest: // Transition from C ABI to Go ABI. PUSH_REGS_HOST_TO_ABI0() // Set g = g0. get_tls(R12) MOVQ g(R12), R14 MOVQ g_m(R14), R13
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 15.1K bytes - Viewed (0) -
src/runtime/race_arm64.s
#ifdef TLS_darwin MOVD R27, R12 // save R27 a.k.a. REGTMP (callee-save in C). load_g clobbers it #endif load_g #ifdef TLS_darwin MOVD R12, R27 #endif MOVD g_m(g), R0 MOVD m_p(R0), R0 MOVD p_raceprocctx(R0), R0 MOVD R0, (R1) MOVD R13, g JMP (LR) rest: // Save callee-saved registers (Go code won't respect that). // 8(RSP) and 16(RSP) are for args passed through racecallback SUB $176, RSP
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 15.5K bytes - Viewed (0) -
src/runtime/race_ppc64le.s
CMP R3, $0 BNE rest // Inline raceGetProdCmd without clobbering callee-save registers. MOVD runtime·tls_g(SB), R10 MOVD 0(R10), R11 MOVD g_m(R11), R3 MOVD m_p(R3), R3 MOVD p_raceprocctx(R3), R3 MOVD R3, (R4) RET rest: // Save registers according to the host PPC64 ABI // and reserve 16B for argument storage. STACK_AND_SAVE_HOST_TO_GO_ABI(16)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 17K bytes - Viewed (0) -
src/runtime/proc.go
// mcache0: the one with ID 0. pp.mcache = mcache0 } else { pp.mcache = allocmcache() } } if raceenabled && pp.raceprocctx == 0 { if id == 0 { pp.raceprocctx = raceprocctx0 raceprocctx0 = 0 // bootstrap } else { pp.raceprocctx = raceproccreate() } } lockInit(&pp.timers.mu, lockRankTimers) // This P may get timers when it starts running. Set the mask here
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
src/runtime/runtime2.go
sysmontick sysmontick // last tick observed by sysmon m muintptr // back-link to associated m (nil if idle) mcache *mcache pcache pageCache raceprocctx uintptr deferpool []*_defer // pool of available defer structs (see panic.go) deferpoolbuf [32]*_defer // Cache of goroutine ids, amortizes accesses to runtime·sched.goidgen. goidcache uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0)