lkml.org 
[lkml]   [2006]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.16-rt10
On Tue, 28 Mar 2006, Ingo Molnar wrote:

> > Is anyone working on a port of this patch to the IA64 architecture ?
>
> not that i know of. If someone wants to do that, take a look at the
> x86_64 changes (or ppc/mips/i386 changes) to get an idea. These are the
> rough steps needed:
>
> - do the raw_spinlock_t/rwlock_t -> __raw_spinlock_t/rwlock_t rename
>
> - change the APIs in asm-ia64/semaphore.h (and arch files) to
> compat_up()/down()/etc.
>
> - in the arch Kconfig, turn off RWSEM_XCHGADD_ALGORITHM if PREEMPT_RT.
>
> - add the TID_NEED_RESCHED_DELAYED logic to thread_info.h and the entry
> assembly code.
>
> - change most/all spinlocks in arch/ia64 to raw_spinlock / RAW_SPINLOCK
>
> - change most/all seqlocks to raw_seqlock / RAW_SEQLOCK
>
> - add smp_send_reschedule_allbutself().
>
> - take a good look at the arch/x86_64/kernel/process.c changes and port
> the need_resched_delayed() and __schedule() changes.
>
> that should be at least 95% of what's needed. (the x86_64 port does a
> couple of other things too, like latency tracing support, etc., but you
> dont need those for the initial ia64 port.)

Thanks a lot for your reply, Ingo, and for these hints on how to begin.

Simon.

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

\
 
 \ /
  Last update: 2006-03-29 09:58    [W:0.080 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site