Re: 2.3.42 alpha updates

From: Jakub Jelinek (jakub@redhat.com)
Date: Fri Feb 04 2000 - 09:21:51 EST


On Fri, Feb 04, 2000 at 03:15:12PM +0100, Andrea Arcangeli wrote:
> On Fri, 4 Feb 2000, Jakub Jelinek wrote:
>
> >So put them to include/asm-generic/semaphore.h (and put the .c code say into
> >a comment), but not to alpha which has them already done properly.
>
> If something it should be moved in include/linux/semaphore.h and
> lib/semaphore.c and then each arch can select the generic semaphore
> implementation with a simple CONFIG_GENERIC_RWSEMAPHORE=y. All includes
> should be changed from asm/semaphore.h to linux/semaphore.h.

Why? The goal is to have architecture optimized rw semaphores, isn't it?
include/asm-generic is a place where historically has been put such code so
that
a) people can more easily understand how it works and what is it supposed to
do
b) can be good starting point for new ports

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.41 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________

-
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 : Mon Feb 07 2000 - 21:00:11 EST