diff options
| author | Yuval Pavel Zholkover <paulzhol@gmail.com> | 2018-05-04 15:01:44 +0300 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-05-04 17:34:20 +0000 |
| commit | a9fc37525891e47b4277cde040a06db585e1780d (patch) | |
| tree | d322223d2b03f6a4d14a2e4e5e6c625196eb883f /src/database/sql | |
| parent | 88d677be96b95cec8cb78abd00a94a613df94b3c (diff) | |
| download | go-a9fc37525891e47b4277cde040a06db585e1780d.tar.xz | |
runtime: fast clock_gettime on FreeBSD, always call getHPETTimecounter on systemstack
CL 108095 goes to some length inorder to keep the stack usage of getHPETTimecounter code paths bellow a limit
being checked by the linker analysis. That limit is spurious, when running on the system or signal stack.
In a similar scenario, cgocallback_gofunc performs an indirect call through AX to hide the call from the linker analysis.
Here instead, mark getHPETTimecounter //go:systemstack and call it appropriately.
Change-Id: I80bec5e4974eee3c564d94f6e1142f322df88b2f
Reviewed-on: https://go-review.googlesource.com/111495
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
