lkml.org 
[lkml]   [2005]   [Dec]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 3 Dec 2005 14:44:58 +0300 (MSK)
From vitalhome@rbcmail ...
SubjectRe: [PATCH 2.6-git] SPI core refresh
> > >>- it's more adapted for use in real-time environments
> > >>
> > >I still do not see why you are stating this.  Why do you say this?
> > >
> > Due to possible priority inversion problems in David's core.
> 
> I am still not convinced of your statements here, sorry.  Specifics
> please.

So, again, David's write_then_read function which is the basic one for all the synchronous 
transfers uses single static pointer to kmalloc'ed buffer and protects its usage by 
semaphores. If there are multiple controllers onboard, this serialization is suboptimal 
and may cause priority inversion if, for instance, two threads with different priorities 
will use this function at the same time.

Vitaly
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-03 12:49    [from the cache]
©2003-2008