summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pciconf
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2015-10-22 09:33:34 +0000
committered <ed@FreeBSD.org>2015-10-22 09:33:34 +0000
commit8be8acd7af2d635a3a2a8508546a3bbf6b6190ed (patch)
tree8d088ef4526d83dbcb1235ccc1a30a87606ea4b2 /usr.sbin/pciconf
parent7fb0afec66034c72011184b7e167248af15d3e68 (diff)
downloadFreeBSD-src-8be8acd7af2d635a3a2a8508546a3bbf6b6190ed.zip
FreeBSD-src-8be8acd7af2d635a3a2a8508546a3bbf6b6190ed.tar.gz
Add a way to distinguish between forking and thread creation in schedtail.
For CloudABI we need to initialize the registers of new threads differently based on whether the thread got created through a fork or through simple thread creation. Add a flag, TDP_FORKING, that is set by do_fork() and cleared by fork_exit(). This can be tested against in schedtail. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D3973
Diffstat (limited to 'usr.sbin/pciconf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud