Re: Misc on RBTree Thread Queue Priority Discipline Changes

2014-07-10 Thread Sebastian Huber
Hello Joel, I think it is good approach to use a RB tree for the priority queues. Reducing the size of non-thread objects is always beneficial, since you usually have a lot of them. The new network stack uses for example more than 2000 semaphores, but only a hand full of tasks. It might be

Re: Misc on RBTree Thread Queue Priority Discipline Changes

2014-07-09 Thread Joel Sherrill
On 7/9/2014 10:34 AM, Gedare Bloom wrote: > On Tue, Jul 8, 2014 at 5:37 PM, Joel Sherrill > wrote: >> Hi >> >> If you take the patches in their entirety, most of the tests >> appear to be about 500 bytes smaller on the erc32. >> > What is the change in wkspace size? Basically you add 3 pointers

Re: Misc on RBTree Thread Queue Priority Discipline Changes

2014-07-09 Thread Gedare Bloom
On Tue, Jul 8, 2014 at 5:37 PM, Joel Sherrill wrote: > Hi > > If you take the patches in their entirety, most of the tests > appear to be about 500 bytes smaller on the erc32. > What is the change in wkspace size? Basically you add 3 pointers + enum to each TCB / thd proxy, but remove some space f