* Re: exit_mmap()
[not found] <Pine.OSF.4.21.0101150424360.24789-100000@paulaner.disy.cse.unsw.EDU.AU>
@ 2001-01-14 19:15 ` Russell King - ARM Linux
0 siblings, 0 replies; only message in thread
From: Russell King - ARM Linux @ 2001-01-14 19:15 UTC (permalink / raw)
To: Adam 'WeirdArms' Wiggins; +Cc: linux-mm
(About 2.4 kernels)
Adam 'WeirdArms' Wiggins writes:
> The function exit_mmap() in linux/mm/mmap.c does something that I can't
> figure. The function as far as I can tell loops on each vm_area_struct of
> the mm_struct to tear them down. What I don't understand is that while
> doing this if calls flush_cache_range() on the range covered by the
> vm_area_struct. exit_mmap() is called by exec_mmap() in linux/fs/exec.c
> (which calls flush_cache_mm() before exit_mmap() already) and by
> mmput() in linux/kernel/fork.c
>
> Why does exit_mmap() not just call flush_cache_mm() before the while
> loop?
I've CC:'d this to the linux-mm list, and taken the linux-arm-kernel off
the CC: list.
People on linux-mm: please note that neither Adam nor myself are subscribed
to linux-mm.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King linux@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/ / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
--
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] only message in thread
only message in thread, other threads:[~2001-01-14 19:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <Pine.OSF.4.21.0101150424360.24789-100000@paulaner.disy.cse.unsw.EDU.AU>
2001-01-14 19:15 ` exit_mmap() Russell King - ARM Linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox