https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218597
--- Comment #6 from Konstantin Belousov <[email protected]> --- (In reply to Alexandre martins from comment #4) If you want to use on-stack memory from another thread or from an interrupt context, be aware that the thread's kstacks are generally swappable. Of course, the stack is swapped in when the thread is marked runnable, but otherwise you may get into a situation when other thread accessing unmapped kstack. You may work around this with PHOLD(), but that would keep whole stack in memory when system desperately needs it. In other words, using malloc(9) is less troublesome. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
