• David Hildenbrand's avatar
    mm/memory_hotplug: prepare passing flags to add_memory() and friends · b6117199
    David Hildenbrand authored
    We soon want to pass flags, e.g., to mark added System RAM resources.
    mergeable.  Prepare for that.
    
    This patch is based on a similar patch by Oscar Salvador:
    
    https://lkml.kernel.org/r/20190625075227.15193-3-osalvador@suse.deSigned-off-by: default avatarDavid Hildenbrand <david@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Reviewed-by: Juergen Gross <jgross@suse.com> # Xen related part
    Reviewed-by: default avatarPankaj Gupta <pankaj.gupta.linux@gmail.com>
    Acked-by: default avatarWei Liu <wei.liu@kernel.org>
    Cc: Michal Hocko <mhocko@suse.com>
    Cc: Dan Williams <dan.j.williams@intel.com>
    Cc: Jason Gunthorpe <jgg@ziepe.ca>
    Cc: Baoquan He <bhe@redhat.com>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
    Cc: Len Brown <lenb@kernel.org>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Vishal Verma <vishal.l.verma@intel.com>
    Cc: Dave Jiang <dave.jiang@intel.com>
    Cc: "K. Y. Srinivasan" <kys@microsoft.com>
    Cc: Haiyang Zhang <haiyangz@microsoft.com>
    Cc: Stephen Hemminger <sthemmin@microsoft.com>
    Cc: Wei Liu <wei.liu@kernel.org>
    Cc: Heiko Carstens <hca@linux.ibm.com>
    Cc: Vasily Gorbik <gor@linux.ibm.com>
    Cc: Christian Borntraeger <borntraeger@de.ibm.com>
    Cc: David Hildenbrand <david@redhat.com>
    Cc: "Michael S. Tsirkin" <mst@redhat.com>
    Cc: Jason Wang <jasowang@redhat.com>
    Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
    Cc: Stefano Stabellini <sstabellini@kernel.org>
    Cc: "Oliver O'Halloran" <oohall@gmail.com>
    Cc: Pingfan Liu <kernelfans@gmail.com>
    Cc: Nathan Lynch <nathanl@linux.ibm.com>
    Cc: Libor Pechacek <lpechacek@suse.cz>
    Cc: Anton Blanchard <anton@ozlabs.org>
    Cc: Leonardo Bras <leobras.c@gmail.com>
    Cc: Ard Biesheuvel <ardb@kernel.org>
    Cc: Eric Biederman <ebiederm@xmission.com>
    Cc: Julien Grall <julien@xen.org>
    Cc: Kees Cook <keescook@chromium.org>
    Cc: Roger Pau Monné <roger.pau@citrix.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Wei Yang <richardw.yang@linux.intel.com>
    Link: https://lkml.kernel.org/r/20200911103459.10306-5-david@redhat.comSigned-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b6117199
balloon.c 17.9 KB