pkarashchenko commented on issue #6310:
URL: 
https://github.com/apache/incubator-nuttx/issues/6310#issuecomment-1176536355

   > @pkarashchenko - Sorry for being unclear.
   > 
   > > kwork will rise above boosted priority and will go back after resource 
is released
   > 
   > Sounds correct.
   > 
   > > he kwork_inherit functionality is a bit blurred to me.
   > 
   > What is blurred for you? The external interface boosting and the priority 
inheritance bosting?
   
   When I was writing the original message the blurred part was do we need to 
support nested boosting. For example we have two subsystems that use LP work 
and each call `lpwork_boostpriority()` with a different priority value. The 
original code supports it, but after my rework I added ``/* REVISIT: Priority 
multi-boost is not supported */ comment and `DEBUGASSERT()` since currently 
there is only one user for `kwork` priority boost. Also I'm not sure why do we 
need to boost priority for `kwork` at all when priority inheritance is enabled 
since the priority will be boosted (inherited) automatically as soon as there 
will be a waiter for a resource hold by `kwork`. Maybe I'm missing some part of 
a bigger picture.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to