linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* mprotect and SMP
@ 2000-12-06 16:08 Gavin Hemphill
  2000-12-06 21:52 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 6+ messages in thread
From: Gavin Hemphill @ 2000-12-06 16:08 UTC (permalink / raw)
  To: linuxppc-dev


Hi all:
I'm running a multi-threaded application on an SMP Gemini board
(2.2.18-pre11) which uses the mprotect call to lock pages between the
threads.  If I run the test program on this machine in SMP mode, it
fails (threads tromp on their shared memory locations).  If I run in
uni-processor mode however it works fine.  It also works fine on a dual
processor pentium using a similar version of the kernel.  The question
is... Has anyone seen this sort of behavior and are there any suggested
places to start looking to fix it?  I took a look at the gemini specific
files to see if there were any obvious missing eieio or sync
instructions and so far haven't seen any, but I don't have the
experience to know where else I should be looking.
	Gavin


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2001-01-03  1:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-06 16:08 mprotect and SMP Gavin Hemphill
2000-12-06 21:52 ` Benjamin Herrenschmidt
2000-12-07 12:29   ` Gavin Hemphill
2000-12-07 13:15     ` Benjamin Herrenschmidt
2001-01-03  1:35       ` Gavin Hemphill
2000-12-07 17:16   ` Gavin Hemphill

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).