* PROT_SEM in 2.5.7pre1 on Sparc question
@ 2002-03-15 18:36 Holzrichter, Bruce
2002-03-15 19:50 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Holzrichter, Bruce @ 2002-03-15 18:36 UTC (permalink / raw)
To: 'rusty@rustcorp.com.au'
Cc: 'davem@redhat.com', 'linux-kernel@vger.kernel.org'
Hello,
I am playing around with 2.5.7pre1 on Sparc64 platform. There's a new flag
definition in mman.h for PROT_SEM set to 0x8. Right now, the proper def is
not in the sparc tree, Dave may already have seen this, I diff'd the file
below, if your interested, that will allow the kernel compile to complete.
I see that this is related to the fast user space mutexes. I have been
reading up the LKML notes I have found on this, but I am wondering if there
are any implications on this for the Sparc architecture? I don't have a
working kernel yet for testing. But was wondering if you had any thoughts
on this.
Thanks
Bruce Holzrichter
-------------------------------------------------------------
--- include/asm-sparc64/mman.h.old Fri Mar 15 12:03:57 2002
+++ include/asm-sparc64/mman.h Fri Mar 15 12:05:07 2002
@@ -7,6 +7,7 @@
#define PROT_READ 0x1 /* page can be read */
#define PROT_WRITE 0x2 /* page can be written */
#define PROT_EXEC 0x4 /* page can be executed */
+#define PROT_SEM 0x8 /* page may be used for
atomic ops */
#define PROT_NONE 0x0 /* page can not be accessed */
#define MAP_SHARED 0x01 /* Share changes */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PROT_SEM in 2.5.7pre1 on Sparc question
2002-03-15 18:36 PROT_SEM in 2.5.7pre1 on Sparc question Holzrichter, Bruce
@ 2002-03-15 19:50 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2002-03-15 19:50 UTC (permalink / raw)
To: bruce.holzrichter; +Cc: rusty, linux-kernel
It's defined in the bitkeeper 2.5.x tree already.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-15 19:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-15 18:36 PROT_SEM in 2.5.7pre1 on Sparc question Holzrichter, Bruce
2002-03-15 19:50 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®