[lkml]   [2001]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] swapin flush cache bug

NIIBE Yutaka writes:
> (2) Page got swapped in asynchronously, possibly by read-ahead
> Swap in
> [ Page ] <---- [ Disk ]
> K
> The I/O from disk goes through kernel virtual address K.
> We have cache entries indexed by K.

The I/O completion must flush the cache, not the VM subsystem.

You must implement cache flushing at the DMA tranfer end point
to fix the problem you are describing.

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:55    [W:0.096 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site