this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Kill using _mm_mfence(), reduce sigexc debug output

+4 -1
+4 -1
src/kernel/emulation/linux/signal/sigexc.c
··· 44 44 static void float_state_to_mcontext(const x86_float_state32_t* s, linux_fpregset_t fx); 45 45 #endif 46 46 47 + #ifdef DEBUG_SIGEXC 47 48 #define kern_printf(...) { char buf[128]; __simple_sprintf(buf, __VA_ARGS__); lkm_call(0x1028, buf); } 49 + #else 50 + #define kern_printf(...) 51 + #endif 48 52 49 53 void sigexc_setup1(void) 50 54 { ··· 422 426 exception_raise(port, thread, mach_task_self(), mach_exception, small_codes, sizeof(small_codes) / sizeof(small_codes[0])); 423 427 } 424 428 425 - _mm_mfence(); 426 429 bsd_signum = _pthread_getspecific_direct(SIGEXC_TSD_KEY); 427 430 } 428 431