Re: [PATCH] NOMMU: Separate out VMAs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bernd Schmidt
Date: Friday, August 17, 2007 - 4:49 am

David Howells wrote:

Here are some changes to make it more stable on my system.  In 
do_mmap_private, I've commented out the logic to free excess pages, as 
it fragments terribly and causes a simple
  while true; do cat /proc/buddyinfo; done
loop to go oom.  Also, I think you're freeing high-order pages unaligned 
to their order?
In shrink_vma, we must save the mm across calls to remove_vma_from_mm 
(oops when telnetting into the box).
In do_munmap, we can deal with freeing more than one vma.  I've not 
touched the rb-tree logic in the shared file case, as I have no idea 
what it's trying to do given that only exact matches are allowed.

It still does not survive my mmap stress-tester, so I'll keep looking.

Why do we need vm_regions for anonymous memory?  Wouldn't it be enough 
to just have a VMA?


Bernd
-- 
This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH, RFD]: Unbreak no-mmu mmap, Bernd Schmidt, (Fri Jun 8, 6:53 am)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, Matt Mackall, (Sat Jun 9, 12:10 pm)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, Robin Getz, (Mon Jun 11, 2:08 pm)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, Mike Frysinger, (Mon Jun 11, 3:09 pm)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, Bernd Schmidt, (Mon Jun 11, 4:04 pm)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, Mike Frysinger, (Mon Jun 11, 4:22 pm)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, Robin Getz, (Tue Jun 19, 4:26 pm)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, Bryan Wu, (Tue Jun 19, 7:38 pm)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, Paul Mundt, (Tue Jun 19, 8:00 pm)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, Bryan Wu, (Tue Jun 19, 8:18 pm)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, David Howells, (Fri Jun 22, 5:59 am)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, David Howells, (Fri Jun 22, 6:35 am)
[PATCH] NOMMU: Unbreak no-mmu mmap, David Howells, (Fri Jun 22, 7:29 am)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, Greg Ungerer, (Tue Jun 26, 10:50 pm)
Re: [PATCH, RFD]: Unbreak no-mmu mmap, David Howells, (Wed Aug 1, 5:29 am)
[PATCH] NOMMU: Separate out VMAs, David Howells, (Fri Aug 3, 7:03 am)
Re: [PATCH] NOMMU: Separate out VMAs, Bernd Schmidt, (Tue Aug 7, 6:12 am)
Re: [PATCH] NOMMU: Separate out VMAs, David Howells, (Tue Aug 7, 6:17 am)
Re: [PATCH] NOMMU: Separate out VMAs, David Howells, (Tue Aug 7, 6:21 am)
Re: [PATCH] NOMMU: Separate out VMAs, Bernd Schmidt, (Tue Aug 7, 6:37 am)
Re: [PATCH] NOMMU: Separate out VMAs, David Howells, (Tue Aug 7, 7:03 am)
Re: [PATCH] NOMMU: Separate out VMAs, Bernd Schmidt, (Fri Aug 17, 4:49 am)
Re: [PATCH] NOMMU: Separate out VMAs, David Howells, (Mon Aug 20, 8:12 am)
Re: [PATCH] NOMMU: Separate out VMAs, Bernd Schmidt, (Mon Aug 20, 9:02 am)