svn commit: r353876 - head/sys/kern

Hans Petter Selasky hps at selasky.org
Tue Oct 22 15:33:58 UTC 2019


On 2019-10-22 17:29, Gleb Smirnoff wrote:
> L>
> L> panic: Assertion (vm_offset_t)et >= td->td_kstack && (vm_offset_t)et +
> L> sizeof(struct epoch_tracker) < td->td_kstack + td->td_kstack_pages *
> L> PAGE_SIZE failed at /workspace/src/sys/kern/subr_epoch.c:373

Probably doesn't matter that much, but the last comparison should be 
less than or equal, instead of only less than, off-by-one, if the 
element is on top of stack ???

sizeof(struct epoch_tracker) XXX <= XXX td->td_kstack + td->td_kstack_pages

--HPS


More information about the svn-src-head mailing list