9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] coherence function in kernel (especially in raspberry pi port)
@ 2017-03-28 18:21 yoann padioleau
  2017-03-30 20:39 ` [9fans] coherence function in kernel (especially in raspberry pi Richard Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: yoann padioleau @ 2017-03-28 18:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hi,

What is exactly the logic of the calls to coherence?
When do we need to call coherence in the kernel?
For example I see this code in bcm/taslock.c

	coherence();
	l->key = 0;
	coherence();

bcm/taslock.c seems actually mostly a copy paste of port/taslock.c
with an extra call to coherence before the assignment above.

Also, in the code of coherence for ARM,
what is the meaning of the instructions ISB and DSB?
The I and D seems to corrrespond to instruction vs data cache,
but I fail to understand the meaning of S and B.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-31 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-28 18:21 [9fans] coherence function in kernel (especially in raspberry pi port) yoann padioleau
2017-03-30 20:39 ` [9fans] coherence function in kernel (especially in raspberry pi Richard Miller
2017-03-31  9:08 ` [9fans] coherence function in kernel (especially in raspberry pi port) Charles Forsyth
2017-03-31 12:35 ` Charles Forsyth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).