The NetBSD Project

CVS log for src/sys/arch/xen/xen/balloon.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / xen / xen

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Sep 24 20:54:53 2024 UTC (6 months, 4 weeks ago) by andvar
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
smal->small in comment.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed May 6 19:52:19 2020 UTC (4 years, 11 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +19 -14 lines
Attempts to make MP-safe:
xpmap_ptom_unmap() doens't need to be called at splvm; we own the pa.
Use atomic ops to change pmap_pa_end
Make sure the ptom/mtop are up to date before giving the pages back to the
pool.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed May 6 17:27:39 2020 UTC (4 years, 11 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -14 lines
No need to run hypercalls at IPL_VM.
XXX still not MP-safe

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Apr 25 15:26:18 2020 UTC (4 years, 11 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.19.12.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:01 2020 UTC (5 years ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +4 -4 lines
Sync with HEAD

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:12 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +4 -4 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Apr 9 19:26:38 2020 UTC (5 years ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -4 lines
update to __XEN_INTERFACE_VERSION__ 0x0003020a aka Xen 3.2.10

this brings grant memory v2 support:
- status separated from flags - revoking access needs just memory barrier,
  no need for expensive cmpxchg16 any more
- sub-page hypervisor copy-only grants, to be used by xennet(4)
- 64-bit frame, i.e. support for DomU RAM >16TB

the grant table is now always allocated on boot to maximum size, it's now
never grown in runtime; switch back to regular kmem_alloc()/kmem_free()

code now requires v2 support, no compatibility for grant version 1 retained -
Xen v2 support predates all currently supported Xen versions

also interface for baloon changed slightly, code updated

Revision 1.18.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:48 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +10 -10 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jun 24 20:28:58 2018 UTC (6 years, 10 months ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi, bouyer-xenpvh
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +10 -10 lines
mark with XXXSMP all remaining spl*() and tsleep() calls

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:51 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +35 -6 lines
update from HEAD

Revision 1.16.16.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:24 2017 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.16.16.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.16.1: +34 -5 lines
Sync with HEAD

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:29 2017 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +34 -5 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Dec 23 17:01:10 2016 UTC (8 years, 4 months ago) by cherry
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +34 -5 lines
balloon(4) can now use uvm_hotplug(9)

Do this.

Revision 1.16.16.1: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:00 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:40 2016 UTC (8 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
KNF. Remove extra spaces. No functional change.

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:36 2012 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.1: +7 -14 lines
sync with head

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jun 30 23:36:20 2012 UTC (12 years, 9 months ago) by jym
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4 lines
Use setter to set xenguest_handles.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Jun 30 22:50:37 2012 UTC (12 years, 9 months ago) by jym
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -11 lines
Extend the xpmap API, as described in [1]. This change is mechanical and
avoids exposing the MD phys_to_machine/machine_to_phys tables directly.
Added:

- xpmap_ptom handles PFN (pseudo physical) to MFN (machine frame number)
translations, and is under control of the domain.
- xpmap_mtop is its counterpart (MFN to PFN), and is under control of
hypervisor.

xpmap_ptom_map()      map a pseudo-phys address to a machine address
xpmap_ptom_unmap()    unmap a pseudo-phys address (invalidation)
xpmap_ptom_isvalid()  check for pseudo-phys address validity

The parameters are physical/machine addresses, like bus_dma/bus_space(9).
As x86 MFNs are tracked by u_long (Xen's choice) while machine addresses
can be 64 bits entities (PAE), use ptoa() to avoid truncation when bit
shifting by PAGE_SHIFT.

I kept the same namespace (xpmap_) to avoid code churn.

[1] http://mail-index.netbsd.org/port-xen/2009/05/09/msg004951.html

XXX will document ptoa/atop/trunc_page separately.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jun 27 00:37:10 2012 UTC (12 years, 9 months ago) by jym
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -5 lines
Retire XEN_COMPAT_030001 as detailed on port-xen@:

http://mail-index.netbsd.org/port-xen/2012/06/25/msg007431.html

The xen_p2m API comes next.

ok bouyer@.
Tested on i386 PAE and amd64 (Xen 3.3 on private test bed, and
Xen 3.4 for Amazon EC2).

FWIW, Amazon always reported:

hypervisor0 at mainbus0: Xen version 3.4.3-kaos_t1micro

multiple times for Europe and US West-1, so I guess they are now at
3.4 (32 and 64 bits).

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:11 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +31 -25 lines
sync with head

Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:45 2012 UTC (13 years, 2 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +31 -25 lines
merge to -current.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jan 5 18:11:50 2012 UTC (13 years, 3 months ago) by jym
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Comment fix.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Dec 26 20:26:38 2011 UTC (13 years, 3 months ago) by jym
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +30 -24 lines
Properly protect the min/target variables from balloon_sc, not just target.

Use their reference directly instead of going through their opaque
sysctl_data storage. It makes the locking a bit more obvious.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Sep 20 00:12:24 2011 UTC (13 years, 7 months ago) by jym
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -2 lines
Merge jym-xensuspend branch in -current. ok bouyer@.

Goal: save/restore support in NetBSD domUs, for i386, i386 PAE and amd64.

Executive summary:
- split all Xen drivers (xenbus(4), grant tables, xbd(4), xennet(4))
in two parts: suspend and resume, and hook them to pmf(9).
- modify pmap so that Xen hypervisor does not cry out loud in case
it finds "unexpected" recursive memory mappings
- provide a sysctl(7), machdep.xen.suspend, to command suspend from
userland via powerd(8). Note: a suspend can only be handled correctly
when dom0 requested it, so provide a mechanism that will prevent
kernel to blindly validate user's commands

The code is still in experimental state, use at your own risk: restore
can corrupt backend communications rings; this can completely thrash
dom0 as it will loop at a high interrupt level trying to honor
all domU requests.

XXX PAE suspend does not work in amd64 currently, due to (yet again!)
page validation issues with hypervisor. Will fix.

XXX secondary CPUs are not suspended, I will write the handlers
in sync with cherry's Xen MP work.

Tested under i386 and amd64, bear in mind ring corruption though.

No build break expected, GENERICs and XEN* kernels should be fine.
./build.sh distribution still running. In any case: sorry if it does
break for you, contact me directly for reports.

Revision 1.5.6.6: download - view: text, markup, annotated - select for diffs
Sat Aug 27 15:37:32 2011 UTC (13 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.5.6.5: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.6.5: +4 -4 lines
Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Jul 29 22:16:05 2011 UTC (13 years, 8 months ago) by jym
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
Move xen.balloon to machdep in the sysctl(7) tree. It does not really
belong to either kern or hw.

Rename machdep.xen_timepush_ticks to xen.timepush_ticks, so it can live
under the same tree as the balloon node, machdep.xen.

ok bouyer@.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:11 2011 UTC (13 years, 10 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +526 -597 lines
Sync with HEAD.

Revision 1.6.6.4: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:24 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.6.6.3: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.6.3: +15 -7 lines
sync with head

Revision 1.5.6.5: download - view: text, markup, annotated - select for diffs
Sat May 7 17:38:35 2011 UTC (13 years, 11 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.5.6.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.4: +5 -2 lines
Implement pmf(9) suspend/resume routines for balloon(4). Trivial, heh.

Revision 1.5.6.4: download - view: text, markup, annotated - select for diffs
Mon May 2 22:49:59 2011 UTC (13 years, 11 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.5.6.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.3: +526 -597 lines
Sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Apr 29 22:52:02 2011 UTC (13 years, 11 months ago) by jym
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +17 -9 lines
Silence xenbus_read_target() in ENOENT case (== entry is missing from
Xenstore). The error case does not bring much here; assume that the value
is 0.

Print the error code when writing the ``target'' value fails.

Revision 1.6.6.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:34 2011 UTC (14 years ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.6.6.2: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.6.2: +513 -592 lines
sync with head

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Apr 18 03:04:31 2011 UTC (14 years ago) by rmind
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -7 lines
balloon_xenbus_attach: use KM_SLEEP for allocation.

Note: please do not use KM_NOSLEEP.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Apr 18 01:36:25 2011 UTC (14 years ago) by jym
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +519 -594 lines
Large rewrite of the balloon driver. This one:

- turns balloon into a driver that attaches to xenbus(4). This allows to
disable the functionality either at compile time or boot time via
userconf(4). Driver can implement detach or pmf(9) hooks if deemed
necessary.

- keeps Cherry's locking model, but simplify it a bit. There is now
only one target value serialized inside balloon, we do not feedback
alternative value to Xenstore (clients are not expected to see its value
evolve behind their back, and can't do much about that either)

- implements min threshold; this is an admin-settable value that tells
driver to "not balloon below this threshold." This can be used by domain
to keep memory reservations, useful if activity is expected in the near
future.

- in addition to min threshold, the driver implements internally a
safeguard value (uvmexp.freemin + 1MiB), so that admin cannot
inadvertently set min to a very low value forcing domain into heavy
memory pressure and swapping.

- create the sysctl(8) kern.xen.balloon tree. 4 nodes are actually present
(values are in KiB):
   - min: (rw) an admin-settable value that prevents ballooning below this
          mark
   - max: (ro) the maximum size for reservation, as set by xm(1) mem-max.
   - current: (ro) the current reservation for domain.
   - target:  (rw) the targetted reservation for domain.

- fix a few limitations here and there, most notably the max_reservation
hypercall, and KiB vs pages representations at interfaces.

The driver is still turned off by default. Enabling it would need more
approval, especially from bouyer@, cherry@ and cegger@.

FWIW: tested it two days long, from amd64 dom0 (with dom0 ballooning
enabled for xend), and bunch of domUs. Did not notice anything suspicious.

XXX it still has one big limitation: it cannot hotplug memory pages in
uvm(9) if they were not present beforehand. Example: ballooning above
physmem will give more pages to domain but it won't use it to serve
allocations, unless we teach uvm(9) how to handle the extra pages.

Revision 1.6.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:34 2011 UTC (14 years, 1 month ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.6.6.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.6.1: +899 -0 lines
sync with head

Revision 1.5.6.3: download - view: text, markup, annotated - select for diffs
Mon Jan 10 00:37:39 2011 UTC (14 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.5.6.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.2: +3 -3 lines
Sync with HEAD

Revision 1.6.6.1
Fri Nov 12 13:18:59 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
FILE REMOVED
Changes since revision 1.6: +0 -899 lines
file balloon.c was added on branch rmind-uvmplock on 2011-03-05 20:52:34 +0000

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Nov 12 13:18:59 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base7, uebayasi-xip-base6, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
Pull in uvm/uvm.h where UVM's page level interface is used.

Revision 1.5.6.2: download - view: text, markup, annotated - select for diffs
Sun Oct 24 22:48:22 2010 UTC (14 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.5.6.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.1: +899 -0 lines
Sync with HEAD

Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:31:59 2010 UTC (14 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.2: +3 -3 lines
sync with head

Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:36 2010 UTC (14 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.1: +899 -0 lines
Sync with HEAD.

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:00 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +899 -0 lines
sync with head.

Revision 1.5.6.1
Wed Aug 11 11:32:58 2010 UTC (14 years, 8 months ago) by jym
Branches: jym-xensuspend
FILE REMOVED
Changes since revision 1.5: +0 -899 lines
file balloon.c was added on branch jym-xensuspend on 2010-10-24 22:48:22 +0000

Revision 1.5.4.1
Wed Aug 11 11:32:58 2010 UTC (14 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
FILE REMOVED
Changes since revision 1.5: +0 -899 lines
file balloon.c was added on branch uebayasi-xip on 2010-08-17 06:45:36 +0000

Revision 1.5.2.1
Wed Aug 11 11:32:58 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.5: +0 -899 lines
file balloon.c was added on branch yamt-nfs-mp on 2010-08-11 22:53:00 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 11:32:58 2010 UTC (14 years, 8 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Branch point for: yamt-nfs-mp, uebayasi-xip, jym-xensuspend
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Keep condvar wmesg within 8-char limit

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jul 10 11:20:48 2010 UTC (14 years, 9 months ago) by cherry
Branches: MAIN
CVS tags: yamt-nfs-mp-base10
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +28 -20 lines
Provide and accept memory reservation information from the hypervisor
in KiloBytes. This is valid both for the xenbus interface, as well as
the dom0 only sysctl interface.

Thanks cegger@ for testing.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jul 8 14:51:14 2010 UTC (14 years, 9 months ago) by cherry
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -2 lines
Provide the sysctl(7) interface to the balloon driver only to dom0

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Jul 8 14:19:53 2010 UTC (14 years, 9 months ago) by cherry
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +14 -3 lines
make read-only, and return sane values in balloon related sysctl(7)
nodes when  'options XEN_BALLOON' is disabled.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jul 6 15:00:09 2010 UTC (14 years, 9 months ago) by cherry
Branches: MAIN
The Xen balloon driver enables growing and shrinking
PV domains on the fly, by collaborating with UVM and the hypervisor

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>