From: Tom Horsley <horsley1953@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: How the devil can gettid() return 1?
Date: Mon, 8 Aug 2016 08:11:38 -0400 [thread overview]
Message-ID: <20160808081138.37764520@tomh> (raw)
Every once in a while google-chrome goes into a 100% cpu loop.
I got curious and examined the thread that was running at 100%
and strace says this over and over again till I interrupt it:
gettid() = 1
gettid() = 1
gettid() = 1
gettid() = 1
^Cstrace: Process 18863 detached
<detached ...>
Clearly Process 18863 isn't the init process, how can it
have a tid of 1?
This is on a fedora 24 box with a 4.6 kernel:
Linux tomh 4.6.4-301.fc24.x86_64 #1 SMP Tue Jul 12 11:50:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Just curious...
next reply other threads:[~2016-08-08 12:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-08 12:11 Tom Horsley [this message]
2016-08-08 12:49 ` Vegard Nossum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160808081138.37764520@tomh \
--to=horsley1953@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®