[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.5] unmodified_drivers: enable use of register_oldmem_pfn_is_ram() API



commit becb125a25859f42ec40a156ca1aa138f5d6fdd7
Author:     Mike Meyer Mon Apr 4 15:02:59 2016 +0200 <mike.meyer@xxxxxxxxxxxx>
AuthorDate: Mon Apr 4 15:02:59 2016 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon May 9 13:06:01 2016 +0200

    unmodified_drivers: enable use of register_oldmem_pfn_is_ram() API
    
    Git: a0f793d82d5ec2d0b67c57d7130bf01c91396c60
    
    During the investigation of very slow dump times of guest images in
    Amazon EC2 instance, it was discovered that the
    register_oldmem_pfn_is_ram() API implemented by the upstream kernel
    commit 997c136f518c5debd63847e78e2a8694f56dcf90:
    
            fs/proc/vmcore.c: add hook to read_from_oldmem() to check
                               for non-ram pages
    
    was not being called.  This was due to the PV driver with the call
    to register_oldmem_pfn_is_ram() API was not including the
    kernel header file that is used to communicate support of the API in the
    kernel.  Fix the issue by including the required header file.
    
    Signed-off-by: Mike Meyer <mike.meyer@xxxxxxxxxxxx>
    Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Olaf Hering <olaf@xxxxxxxxx>
---
 unmodified_drivers/linux-2.6/platform-pci/platform-pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c 
b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
index 163b168..c68346d 100644
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
@@ -24,6 +24,7 @@
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/errno.h>
+#include <linux/crash_dump.h>
 #include <linux/pci.h>
 #include <linux/init.h>
 #include <linux/version.h>
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.5

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.