[Patch] Re: SHM stuff - Reason for Oopsen discovered

From: Christoph Rohland (cr@sap.com)
Date: Wed May 31 2000 - 14:25:16 EST


Hi Alan,

Russell King <rmk@arm.linux.org.uk> writes:
> I'm not sure if you saw the other bits of the discussion on l-k, but I
> think we need a pte_init() construct which will initialise a pte in an
> architecture specific way to be "empty".
>
> This could be done with your page-based approach, but we should kill the
> PTRS_PER_PTE since that is not required here. What we actually want is
> a PTRS_PER_PAGE.

The appended patch relative to 2.4.0-test1-ac7 does add a PTE_INIT
macro to the s390 part and uses this if defined in shm.c. Else it does
a simple memset.

It also updates documentation for shm and gives the errno ENOSYS for
anon shared maps if SYSV is not configured in the kernel. I think this
is the more resonable value.

Could you please apply this.

Greetings
                Christoph



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:28 EST