[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] memory usage and ioports
From: |
Samuel Thibault |
Subject: |
[Qemu-devel] [PATCH] memory usage and ioports |
Date: |
Wed, 6 Feb 2008 14:24:26 +0000 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Samuel Thibault, le Mon 19 Nov 2007 15:20:16 +0000, a écrit :
> Qemu currently uses 6 65k tables of pointers for handling ioports, which
> makes 3MB on 64bit machines. There's a comment that says "XXX: use a two
> level table to limit memory usage". But wouldn't it be more simple and
> effective to just allocate them through mmap() and when a NULL pointer
> is read, call the default handlers?
Here is a patch that does this and indeed saves 3MB on 64bit machines.
Samuel
patch-qemu-ioport
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] memory usage and ioports,
Samuel Thibault <=