Messages in this thread | | | Date | Mon, 13 Jul 1998 15:16:29 +0200 | From | ralf@uni-kobl ... | Subject | Re: Strange interrupt behaviour |
| |
On Sun, Jul 12, 1998 at 07:10:52PM +0200, Gerard Roudier wrote:
> This has been proven to be broken, at least with the current VM/MM stuff. > Trying hard to get 2 contiguous pages leads very often to throw away more > that half the available cached objects, regardless the actual memory size > being used.
One of the fundamental proporties of the buddy system is that it only allocations PAGE_SIZE << order aligned chunks. This is unnecessary for most allocations whith order > 0. If __get_free_pages could return unaligned memory as well, the fragmentation issues would be far less problematic. When doing some page colouring hacks for MIPS recently I was pretty surprised how many continguous chunks > PAGE_SIZE are still available when the fragmentation has already reached the point where the machine locks up.
Ralf
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |