lkml.org 
[lkml]   [2005]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [openib-general] [PATCH][5/18] InfiniBand/mthca: add needed rmb() in event queue poll
    Michael> Since we are using the eqe here, it seems that
Michael> read_barrier_depends shall be sufficient (as well as in
Michael> the cq case)?

Michael> However, I see that read_barrier_depends is a nop on ppc,
Michael> and the comment indicates that problems were seen on ppc
Michael> 970. What gives? do I misunderstand what a dependency
Michael> is?

There is no dependency between the EQE ownership field and the rest of
the EQE, so read_barrier_depends() is not sufficient. I think you are
misunderstanding what a dependency is. The comments in
asm-i386/system.h or http://lse.sourceforge.net/locking/wmbdd.html may
help clear things up.

- R.
-
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-03-22 14:09    [W:0.054 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site