Re: [PATCH] kernel/process.c: R3000 setup for kernel_thread()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 18, 2007 at 06:49:08PM +0100, Maciej W. Rozycki wrote:

>  Match the R4000 semantics for the initial state of interrupt/kernel
> status register flags for the R3000 in kernel_thread().
> 
> Signed-off-by: Maciej W. Rozycki <macro@xxxxxxxxxxxxxx>
> ---
>  The R4000 variation preserves the interrupt/kernel status flags; the 
> R3000 assumes a certain state.  It may not matter, at least at the current 
> state of the code, but for consistency I think the R3000 variation should 
> do the same as the R4000 one, first for purity and second because there is 
> less maintenance force available for the R3000 and any discrepancy between 
> the two variations means a greater chance for subtle bugs.  The 
> performance hit is negligible.

Since it doesn't seem to bite I queued this for 2.6.24.  Thanks,

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux