|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 5/8] lib/uksched: Add support for waiting threads
Hi Costin, On 2/21/19 12:46 PM, Costin Lupu wrote: Hi Florian, Please see my comments inline. On 1/23/19 3:48 PM, Florian Schmidt wrote:Actually, now that I look at the next patch... On 1/11/19 12:22 AM, Costin Lupu wrote: Great, thanks! I understand that this probably is a crazy corner case, and I'm not sure I can even ever occur without SMP support, but, on the other hand: is there any harm in switching the order? And actually, wouldn't it make sense to put the list insertion into uk_thread_exit()? It's an important part of thread handling, so it could just be done in there, right? Although I realize that you only do this in the next patch, so... maybe only do that in there? Seems regardless of the order, one thing from the earlier patch always better waits until the latter patch.uk_thread_exit() is a thread 'method', while the exited_threads list belongs to the scheduler. Since the thread doesn't have any kind of ownership of the exited_threads list, it's better to not move the insertion in uk_thread_list(). Alright, then let's just keep it as it is in this patch. Cheers, Florian -- Dr. Florian Schmidt フローリアン・シュミット Research Scientist, Systems and Machine Learning Group NEC Laboratories Europe Kurfürsten-Anlage 36, D-69115 Heidelberg Tel. +49 (0)6221 4342-265 Fax: +49 (0)6221 4342-155 e-mail: florian.schmidt@xxxxxxxxx ============================================================ Registered at Amtsgericht Mannheim, Germany, HRB728558 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |