linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* flush_icache_range
@ 2000-07-23  1:07 Kanoj Sarcar
  2000-07-23 18:36 ` flush_icache_range Ralf Baechle
  0 siblings, 1 reply; 5+ messages in thread
From: Kanoj Sarcar @ 2000-07-23  1:07 UTC (permalink / raw)
  To: linux-kernel, linux-mm; +Cc: alan, torvalds, Kanoj Sarcar

Can anyone point out the logic of continued existance of flush_icache_range
after the introduction of flush_icache_page()? I admit that 
flush_icache_range is still needed in the module loading code, but do we
need it anymore in the a.out loading code? That code should be incurring
page faults, which will do the flush_icache_page anyway. Seems like
double work to me to do flush_icache_range again after the loading has
been done.

This argument to delete the flush_icache_range calls from the a.out
loading code assumes that the f_op->read() code behaves sanely, ie does
not do unexpected things like touch the user address (thus allocating
the page, and doing the icache flush via the page fault handler much
earlier) before it starts reading the a.out sections in ...

Kanoj

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

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

end of thread, other threads:[~2000-07-25  1:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-23  1:07 flush_icache_range Kanoj Sarcar
2000-07-23 18:36 ` flush_icache_range Ralf Baechle
2000-07-24 16:10   ` flush_icache_range Kanoj Sarcar
2000-07-25  0:06     ` flush_icache_range Ralf Baechle
2000-07-25  1:11       ` flush_icache_range Kanoj Sarcar

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