aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/balloon.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-08xen: replace XENFEAT_auto_translated_physmap with xen_pv_domain()Juergen Gross1-2/+2
2025-05-23xen/x86: fix initial memory balloon targetRoger Pau Monne1-5/+8
2025-04-07x86/xen: fix balloon target initialization for PVH dom0Roger Pau Monne1-10/+24
2025-03-21xen: balloon: update the NR_BALLOON_PAGES stateNico Pache1-0/+4
2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados1-1/+1
2024-07-03mm/memory_hotplug: initialize memmap of !ZONE_DEVICE with PageOffline() inste...David Hildenbrand1-2/+7
2024-03-13x86/xen: attempt to inflate the memory balloon on PVHRoger Pau Monne1-2/+0
2023-10-11xen: Remove now superfluous sentinel element from ctl_table arrayJoel Granados1-1/+0
2023-04-13xen: simplify sysctl registration for balloonLuis Chamberlain1-19/+1
2022-04-07xen/balloon: don't use PV mode extra memory for zone device allocationsJuergen Gross1-31/+23
2022-03-10xen: use time_is_before_eq_jiffies() instead of open coding itWang Qing1-1/+2
2022-01-06xen/balloon: Bring alloc(free)_xenballooned_pages helpers backOleksandr Tyshchenko1-11/+9
2021-11-08xen/balloon: fix unused-variable warningArnd Bergmann1-2/+3
2021-11-04xen/balloon: rename alloc/free_xenballooned_pagesJuergen Gross1-11/+13
2021-11-04xen/balloon: add late_initcall_sync() for initial ballooning doneJuergen Gross1-23/+63
2021-10-06xen/balloon: fix cancelled balloon actionJuergen Gross1-6/+15
2021-09-21xen/balloon: fix balloon kthread freezingJuergen Gross1-2/+2
2021-09-14xen/balloon: use a kernel thread instead a workqueueJuergen Gross1-17/+45
2021-02-26mm/memory_hotplug: MEMHP_MERGE_RESOURCE -> MHP_MERGE_RESOURCEDavid Hildenbrand1-1/+1
2020-10-16xen/balloon: try to merge system ram resourcesDavid Hildenbrand1-1/+1
2020-10-16mm/memory_hotplug: prepare passing flags to add_memory() and friendsDavid Hildenbrand1-1/+1
2020-09-06Merge tag 'for-linus-5.9-rc4-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2020-09-04xen: add helpers to allocate unpopulated memoryRoger Pau Monne1-2/+2
2020-08-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+0
2020-08-07mm: remove unneeded includes of <asm/pgalloc.h>Mike Rapoport1-1/+0
2020-08-03Revert "xen/balloon: Fix crash when ballooning on x86 32 bit PAE"Roger Pau Monne1-14/+0
2020-08-03xen/balloon: make the balloon wait interruptibleRoger Pau Monne1-2/+4
2020-08-03xen/balloon: fix accounting in alloc_xenballooned_pages error pathRoger Pau Monne1-0/+6
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2019-12-15Merge tag 'for-linus-5.5b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+2
2019-12-13xen/balloon: fix ballooned page accounting without hotplug enabledJuergen Gross1-1/+2
2019-12-01mm/memory_hotplug.c: remove __online_page_set_limits()Souptick Joarder1-1/+0
2019-10-01xen/balloon: Clear PG_offline in balloon_retrieve()David Hildenbrand1-2/+1
2019-10-01xen/balloon: Mark pages PG_offline in balloon_append()David Hildenbrand1-9/+4
2019-10-01xen/balloon: Drop __balloon_append()David Hildenbrand1-8/+3
2019-10-01xen/balloon: Set pages PageOffline() in balloon_add_region()David Hildenbrand1-0/+1
2019-07-19Merge tag 'for-linus-5.3a-rc1-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-3/+13
2019-07-18proc/sysctl: add shared variables for range checkMatteo Croce1-5/+2
2019-07-18xen: let alloc_xenballooned_pages() fail if not enough memory freeJuergen Gross1-3/+13
2019-03-15xen/balloon: Fix mapping PG_offline pages to user spaceDavid Hildenbrand1-1/+4
2019-03-05xen/balloon: mark inflated pages PG_offlineDavid Hildenbrand1-0/+3
2019-03-05mm/page_alloc.c: memory hotplug: free pages as higher orderArun KS1-5/+10
2018-12-28mm/memory_hotplug: drop "online" parameter from add_memory_resource()David Hildenbrand1-1/+1
2018-12-02Merge tag 'for-linus-4.20a-rc5-tag' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-56/+9
2018-11-29Revert "xen/balloon: Mark unallocated host memory as UNUSABLE"Igor Druzhinin1-56/+9
2018-10-31mm/memory_hotplug: make add_memory() take the device_hotplug_lockDavid Hildenbrand1-0/+3
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-07-26xen/balloon: Share common memory reservation routinesOleksandr Andrushchenko1-69/+6
2017-12-20xen/balloon: Mark unallocated host memory as UNUSABLEBoris Ostrovsky1-9/+56
2017-08-31xen: Don't try to call xen_alloc_p2m_entry() on autotranslating guestsBoris Ostrovsky1-3/+5
2017-07-23xen/balloon: don't online new memory initiallyJuergen Gross1-0/+3
2017-05-02xen/balloon: decorate PV-only parts with #ifdef CONFIG_XEN_PVVitaly Kuznetsov1-10/+20
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2016-12-12xen/balloon: Only mark a page as managed when it is releasedRoss Lagerwall1-4/+2
2016-06-23xen/balloon: Fix declared-but-not-defined warningRoss Lagerwall1-15/+13
2016-04-06xen/balloon: Fix crash when ballooning on x86 32 bit PAERoss Lagerwall1-0/+16
2016-03-22Merge tag 'for-linus-4.6-rc0-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-4/+0
2016-03-21drivers/xen: make [xen-]ballon explicitly non-modularPaul Gortmaker1-4/+0
2016-03-15xen_balloon: support memory auto onlining policyVitaly Kuznetsov1-1/+10
2016-03-15memory-hotplug: add automatic onlining policy for the newly added memoryVitaly Kuznetsov1-1/+1
2016-01-30xen, mm: Set IORESOURCE_SYSTEM_RAM to System RAMToshi Kani1-1/+1
2015-10-23xen/balloon: Use the correct sizeof when declaring frame_listJulien Grall1-1/+1
2015-10-23xen/balloon: Don't rely on the page granularity is the same for Xen and LinuxJulien Grall1-15/+55
2015-10-23xen/balloon: pre-allocate p2m entries for ballooned pagesDavid Vrabel1-0/+5
2015-10-23xen/balloon: use hotplugged pages for foreign mappings etc.David Vrabel1-10/+80
2015-10-23xen/balloon: make alloc_xenballoon_pages() always allocate low pagesDavid Vrabel1-13/+8
2015-10-23xen/balloon: only hotplug additional memory if requiredDavid Vrabel1-4/+19
2015-10-23xen/balloon: rationalize memory hotplug statsDavid Vrabel1-63/+12
2015-10-23xen/balloon: find non-conflicting regions to place hotplugged memoryDavid Vrabel1-20/+53
2015-09-08xen: Use correctly the Xen memory terminologiesJulien Grall1-1/+1
2015-09-08xen: switch extra memory accounting to use pfnsJuergen Gross1-3/+3
2015-07-20xen: release lock occasionally during ballooningJuergen Gross1-8/+7
2015-03-23xen/balloon: before adding hotplugged memory, set frames to invalidJuergen Gross1-0/+23
2015-01-28xen: remove scratch frames for ballooned pages and m2p overrideDavid Vrabel1-84/+2
2014-10-23xen/balloon: Don't continue ballooning when BP_ECANCELED is encounteredBoris Ostrovsky1-0/+3
2014-09-02xen/balloon: cancel ballooning if adding new memory failedDavid Vrabel1-2/+2
2014-07-04xen/balloon: set ballooned out pages as invalid in p2mDavid Vrabel1-7/+5
2014-04-07Merge tag 'cpu-hotplug-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-12/+24
2014-03-25xen/balloon: flush persistent kmaps in correct positionWei Liu1-6/+18
2014-03-20xen, balloon: Fix CPU hotplug callback registrationSrivatsa S. Bhat1-12/+24
2014-01-06xen: simplify balloon_first_page() with list_first_entry_or_null()Jie Liu1-8/+1
2013-12-13xen/balloon: Seperate the auto-translate logic properly (v2)Stefano Stabellini1-29/+34
2013-11-08xen: delete new instances of added __cpuinitPaul Gortmaker1-2/+2
2013-11-08xen/balloon: Set balloon's initial state to number of existing RAM pagesBoris Ostrovsky1-1/+1
2013-09-24xen/balloon: don't alloc page while non-preemptibleDavid Vrabel1-12/+11
2013-09-11xen/balloon: remove BUG_ON in increase_reservationWei Liu1-2/+0
2013-09-11xen/balloon: ensure preemption is disabled when using a scratch pageDavid Vrabel1-4/+7
2013-08-30xen/balloon: don't set P2M entry for auto translated guestWei Liu1-2/+7
2013-08-09xen/balloon: set a mapping for ballooned out pagesStefano Stabellini1-3/+66
2013-07-03Merge branch 'akpm' (updates from Andrew Morton)Linus Torvalds1-18/+5
2013-07-03mm: correctly update zone->managed_pagesJiang Liu1-18/+5
2013-06-28xen: Convert printks to pr_<level>Joe Perches1-2/+4
2013-05-20xen: Fixed assignment error in if statementLisa Nguyen1-1/+2
2012-11-29xen: balloon: allow PVMMU interfaces to be compiled outIan Campbell1-1/+4
2012-10-19xen: balloon: use correct type for frame_listIan Campbell1-1/+1
2012-10-19xen: balloon: don't include e820.hIan Campbell1-1/+0
2011-11-16xen/balloon: Avoid OOM when requesting highmemDaniel De Graaf1-2/+2
2011-11-06Merge branch 'stable/cleanups-3.2' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-7/+6
2011-10-31xen: Add module.h to modular drivers/xen users.Paul Gortmaker1-0/+1
2011-10-25Merge branches 'stable/bug.fixes-3.2' and 'stable/mmu.fixes' of git://git.ker...Linus Torvalds1-4/+8
2011-09-29xen: allow balloon driver to use more than one memory regionDavid Vrabel1-17/+27
2011-09-29xen/balloon: simplify test for the end of usable RAMDavid Vrabel1-9/+9
2011-09-29xen/balloon: account for pages released during memory setupDavid Vrabel1-1/+3
2011-09-29xen: add an "highmem" parameter to alloc_xenballooned_pagesStefano Stabellini1-4/+8
2011-07-26Xen: fix whitespaces,tabs coding style issue in drivers/xen/balloon.cRuslan Pisarev1-8/+7
2011-07-25xen/balloon: memory hotplug support for Xen balloon driverDaniel Kiper1-2/+137
2011-03-30xen/balloon: Move dec_totalhigh_pages() from __balloon_append() to balloon_ap...Daniel Kiper1-2/+3
2011-03-30xen/balloon: Clarify credit calculationDaniel Kiper1-4/+4
2011-03-30xen/balloon: Simplify HVM integrationDaniel Kiper1-8/+4
2011-03-30xen/balloon: Use PageHighMem() for high memory page detectionDaniel Kiper1-1/+1
2011-03-17Merge branches 'stable/hvc-console', 'stable/gntalloc.v6' and 'stable/balloon...Linus Torvalds1-234/+125
2011-03-16xen-balloon: Add interface to retrieve ballooned pagesKonrad Rzeszutek Wilk1-6/+67
2011-03-16xen-balloon: Move core balloon functionality out of moduleDaniel De Graaf1-223/+6
2011-03-16xen/balloon: Remove pr_info's and don't alter retry_countKonrad Rzeszutek Wilk1-10/+2
2011-03-15Merge branch 'for-linus' of git://xenbits.xen.org/people/sstabellini/linux-pvhvmLinus Torvalds1-5/+9
2011-03-14xen/balloon: Protect against CPU exhaust by event/x processDaniel Kiper1-17/+90
2011-03-14xen/balloon: Migration from mod_timer() to schedule_delayed_work()Daniel Kiper1-13/+3
2011-03-14xen/balloon: Removal of driver_pagesDaniel Kiper1-8/+0
2011-03-03xen: Mark all initial reserved pages for the balloon as INVALID_P2M_ENTRY.Konrad Rzeszutek Wilk1-1/+1
2011-02-25xen: make the ballon driver work for hvm domainsStefano Stabellini1-5/+9
2010-12-02xen: prevent crashes with non-HIGHMEM 32-bit kernels with largeish memoryJeremy Fitzhardinge1-2/+10
2010-11-19xen/balloon: make sure we only include remaining extra ramJeremy Fitzhardinge1-2/+5
2010-11-19xen/balloon: the balloon_lock is uselessJeremy Fitzhardinge1-10/+2
2010-11-19xen: add extra pages to balloonJeremy Fitzhardinge1-4/+11
2010-06-07xen: Rename the balloon lockAlex Nixon1-11/+4
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2009-12-11Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jb...Linus Torvalds1-0/+2
2009-12-04xen: try harder to balloon up under memory pressure.Ian Campbell1-26/+5
2009-12-04Xen balloon: fix totalram_pages counting.Gianluca Guida1-3/+4
2009-11-04xen: move Xen-testing predicates to common headerJeremy Fitzhardinge1-0/+2
2009-09-22Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2009-09-22mm: replace various uses of num_physpages by totalram_pagesJan Beulich1-4/+0
2009-09-21trivial: remove unnecessary semicolonsJoe Perches1-1/+1
2009-05-05[IA64] xen_domu_defconfig: fix build issues/warningsJan Beulich1-1/+2
2009-01-29xen: make sysfs files behave as their names suggestJeremy Fitzhardinge1-1/+32
2009-01-23xen: handle highmem pages correctly when shrinking a domainIan Campbell1-4/+7
2009-01-22xen: actually release memory when shrinking domainDan Magenheimer1-0/+5
2008-12-16xen: clean up asm/xen/hypervisor.hJeremy Fitzhardinge1-1/+3
2008-11-17xen: fix scrub_page()Jeremy Fitzhardinge1-8/+1
2008-11-04drivers: remove duplicated #includeJianjun Kong1-1/+0
2008-10-03xen: remove unused balloon.hJeremy Fitzhardinge1-1/+0
2008-08-20xen: clean up domain mode predicatesJeremy Fitzhardinge1-1/+1
2008-07-28xen-balloon: clean up unused functionsJeremy Fitzhardinge1-144/+3
2008-07-28xen-balloon: fix up sysfs issuesJeremy Fitzhardinge1-15/+12
2008-07-21sysdev: Pass the attribute to the low level sysdev show/store functionAndi Kleen1-0/+1
2008-05-27xen: drivers/xen/balloon.c: make a function staticAdrian Bunk1-1/+1
2008-05-27xen: compilation fix to balloon driver for ia64 supportIsaku Yamahata1-4/+4
2008-04-24xen: add balloon driverJeremy Fitzhardinge1-0/+712