]> git.proxmox.com Git - qemu.git/commit - page_cache.c
Add cache handling functions
authorOrit Wasserman <owasserm@redhat.com>
Mon, 6 Aug 2012 18:42:50 +0000 (21:42 +0300)
committerJuan Quintela <quintela@redhat.com>
Wed, 8 Aug 2012 11:51:12 +0000 (13:51 +0200)
commit9fb26641ab497eda9138f9af75cbeb02ed59b5ae
treead4374600d582b27542fc8677048aa3f17f156ed
parent34c26412b76840e0cab9808047e29aebd429c139
Add cache handling functions

Add MRU page cache mechanism.
The page are accessed by their address.

Signed-off-by: Benoit Hudzia <benoit.hudzia@sap.com>
Signed-off-by: Petter Svard <petters@cs.umu.se>
Signed-off-by: Aidan Shribman <aidan.shribman@sap.com>
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Makefile.objs
cutils.c
include/qemu/page_cache.h [new file with mode: 0644]
page_cache.c [new file with mode: 0644]
qemu-common.h