Page MenuHomeFreeBSD

Skip call CPU_ISSET for NOCPU.
ClosedPublic

Authored by dchagin on Dec 8 2014, 9:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 8:11 AM
Unknown Object (File)
Wed, Apr 17, 8:08 AM
Unknown Object (File)
Mar 20 2024, 6:24 PM
Unknown Object (File)
Feb 10 2024, 9:33 PM
Unknown Object (File)
Feb 2 2024, 10:45 PM
Unknown Object (File)
Jan 31 2024, 4:48 AM
Unknown Object (File)
Sep 19 2023, 10:19 AM
Unknown Object (File)
Aug 12 2023, 11:42 PM
Subscribers
None

Details

Summary

I have core where td_state is TDS_RUNNING and td_oncpu is NOCPU. It seems for short time we can have this,
so skip call CPU_ISSET for NOCPU to prevent kgdb from crashing.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dchagin retitled this revision from to Skip call CPU_ISSET for NOCPU..
dchagin updated this object.
dchagin added a reviewer: jhb.
gnu/usr.bin/gdb/kgdb/kthr.c
100 ↗(On Diff #2685)

Probably you can just drop the td_state test entirely then and only test td_oncpu.

dchagin updated this revision to Diff 2690.

Closed by commit rS275644 (authored by @dchagin).