[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XFS with a few patches
On 27 Feb 2002 06:10:38 +1300,
mdew <mdew@orcon.net.nz> wrote:
>This is from the (0)1 Scheduler.. Its not patching at all (obviously)
>..used for pre8 ..no rc4 version
>
>--- linux/include/asm-i386/hw_irq.h.orig Tue Feb 5 13:51:40 2002
>+++ linux/include/asm-i386/hw_irq.h Tue Feb 5 13:52:12 2002
>@@ -41,7 +41,8 @@
> #define ERROR_APIC_VECTOR 0xfe
> #define INVALIDATE_TLB_VECTOR 0xfd
> #define RESCHEDULE_VECTOR 0xfc
>-#define CALL_FUNCTION_VECTOR 0xfb
>+#define TASK_MIGRATION_VECTOR 0xfb
>+#define CALL_FUNCTION_VECTOR 0xfa
>
>Off 2.4-XFS (CVS) linux/include/asm-i386/hw_irq.h
>
>/*
> * Special IRQ vectors used by the SMP architecture, 0xf0-0xff
> *
> * some of the following vectors are 'rare', they are merged
> * into a single vector (CALL_FUNCTION_VECTOR) to save vector space.
> * TLB, reschedule and local APIC vectors are performance-critical.
> *
> * Vectors 0xf0-0xfa are free (reserved for future Linux use).
> */
>#define SPURIOUS_APIC_VECTOR 0xff
>#define ERROR_APIC_VECTOR 0xfe
>#define INVALIDATE_TLB_VECTOR 0xfd
>#define RESCHEDULE_VECTOR 0xfc
>#define CALL_FUNCTION_VECTOR 0xfb
>#define KDB_VECTOR 0xfa
>
>Something must of happened between pre8->rc4..if I was gonna patch it by
>hand, what would I remove/add? Or just wait for Ingo's new patch?
Both O(1) and kdb are patching the list of vectors and are in conflict.
A composite list that looks like this should do the job.
#define INVALIDATE_TLB_VECTOR 0xfd
#define RESCHEDULE_VECTOR 0xfc
#define TASK_MIGRATION_VECTOR 0xfb
#define CALL_FUNCTION_VECTOR 0xfa
#define KDB_VECTOR 0xf9