Cross the Wall

Why are system calls expensive in latency-sensitive code? (Select all that apply)

A

They drain the CPU pipeline and can flush TLB entries

B

They can't be inlined by the compiler

C

They require a switch from user mode to kernel mode

D

They may cause the thread to be descheduled

E

They always allocate heap memory