mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* The interface of flush_cache_page
@ 2001-08-04  6:10 NIIBE Yutaka
  2001-08-04  9:48 ` David S. Miller
  2001-08-04 10:44 ` NIIBE Yutaka
  0 siblings, 2 replies; 3+ messages in thread
From: NIIBE Yutaka @ 2001-08-04  6:10 UTC (permalink / raw)
  To: linux-kernel

Currently, the interface is like this:

void flush_cache_page(struct vm_area_struct *vma, unsigned long address)

This doesn't work well for (virtuall indexed) physically tagged
architecture.

When it is called from vmscan.c:try_to_swap_out, as the PTE is cleared
to be zero, we have no way to know what phisical address to match.

How about adding argument: struct page *page?  With that, we have
information of physical memory.
-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-04 10:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-04  6:10 The interface of flush_cache_page NIIBE Yutaka
2001-08-04  9:48 ` David S. Miller
2001-08-04 10:44 ` NIIBE Yutaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®