lkml.org 
[lkml]   [2000]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.42 alpha updates
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site