]> git.ipfire.org Git - thirdparty/gcc.git/commit
syscall: remove calls to Entersyscall & Exitsyscall in Getdents
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Jul 2015 18:55:15 +0000 (18:55 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Jul 2015 18:55:15 +0000 (18:55 +0000)
commit378ef472dfc0937d69441973eeccc96a5dc3699c
tree5b9b2a3cd5fb4ea0ea16eec9cfc9a66a9f1cbbee
parent02769f1fd5a9fed44d3bf9e2b212bf645ab61776
syscall: remove calls to Entersyscall & Exitsyscall in Getdents

    The syscall for Getdents in syscall/libcall_linux.go
    called Entersyscall and Exitsyscall, causing the
    runtime_sched counts for goroutines to be incorrect.
    Inconsistent counts caused checkdead in runtime/proc.c
    to panic.

    Fixes golang/go#11406

    Reviewed-on: https://go-review.googlesource.com/11761

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225745 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/go/syscall/libcall_linux.go