Re: does the SAVE_ALL nesting in kernel?

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

 



On Wed, Sep 12, 2007 at 10:21:53AM +0800, zhuzhenhua wrote:

>             i have a mips board,  and the SDRAM speed(bus clock) is not too
> fast.
>              so i want change  the SAVE_ALL and RESTORE_ALL to use
> internal-ram(high speed).
>             i just wonder whether the SAVE_ALL netsting in kernel  for mips
> arch?
>             if not, i think  maybe 1k byte for SAVE_ALL is enough( 32regs
> X4, and some cp0_regs).
>             but if  the SAVE_ALL nesting, maybe i need to keep a stack in
> internal-ram.
>             thanks for any hints.

Nesting works but due to the use of k0/k1 you need to ensure SAVE_ALL is
only invoked with interrupts disabled.

  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