lkml.org 
[lkml]   [2005]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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    [W:0.025 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site