Descriptionruntime: reduce frame size for runtime.cgocallback_gofunc
Tying preemption to stack splits means that we have to able to
complete the call to exitsyscall (inside cgocallbackg at least for now)
without any stack split checks, meaning that the whole sequence
has to work within 128 bytes of stack, unless we increase the size
of the red zone. This CL frees up 24 bytes along that critical path
on amd64. (The 32-bit systems have plenty of space because all
their words are smaller.)
Patch Set 1 #Patch Set 2 : diff -r 1b4c0f6479cb https://code.google.com/p/go/ #Patch Set 3 : diff -r 86a2e482982f https://code.google.com/p/go/ #Patch Set 4 : diff -r 86a2e482982f https://code.google.com/p/go/ #
Total comments: 1
Patch Set 5 : diff -r 86a2e482982f https://code.google.com/p/go/ #Patch Set 6 : diff -r 8cdf0887dcec https://code.google.com/p/go/ #Patch Set 7 : diff -r 8cdf0887dcec https://code.google.com/p/go #Patch Set 8 : diff -r 8a26fe6a36cf https://code.google.com/p/go/ #
MessagesTotal messages: 5
|