AW: [PATCH RT RFC v4 1/8] add generalized priority-inheritance interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthias Behr
Date: Saturday, August 16, 2008 - 8:32 am

Hi Greg,

I got a few review comments/questions. Pls see below.

Best Regards,
Matthias

P.S. I'm a kernel newbie so don't hesitate to tell me if I'm wrong ;-)


Shouldn't ops be tested for 0 here? (ASSERT/BUG_ON/...) (get's dereferenced later quite often in the form "if (sink->ops->...)".


Shouldn't the atomic/locked part cover the ...->free(...) as well? A pi_get right after the atomic_dec_and_test but before the free() could lead to a free() with refs>0?



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RT RFC 0/7] Priority Inheritance enhancements, Gregory Haskins, (Fri Aug 1, 2:16 pm)
[PATCH RT RFC 5/7] rtmutex: use runtime init for rtmutexes, Gregory Haskins, (Fri Aug 1, 2:17 pm)
[PATCH RT RFC v2 0/8] Priority Inheritance enhancements, Gregory Haskins, (Fri Aug 15, 5:08 am)
[PATCH RT RFC v4 0/8] Priority Inheritance enhancements, Gregory Haskins, (Fri Aug 15, 1:28 pm)
AW: [PATCH RT RFC v4 1/8] add generalized priority-inherit ..., Matthias Behr, (Sat Aug 16, 8:32 am)