Re: missing data cache flush in trap_init?

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

 



On Wed, Jan 03, 2001 at 07:26:23PM -0800, Jun Sun wrote:

> Aside of that, the name of flush_icache_range() seems to be misleading.  Also
> in general how does it know which part of dcache to flush() without a given
> process mm struct?

The function is only intended to flush kernel addresses for which no mm
exists.  Yes, it's being abused in creative ways but that's the purpose
it was designed for ...

>  If it does not know, the only choice is to flush the whole
> dcache, which seems to make this function very close to flush_all().  
> 
> Is this function introduced by other CPU platforms?  How would it make a
> difference there?  I am just curious ...

Others such as for example m68k need it as well.

  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