Commit Graph
4354 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 00e8ef7605 bitkeeper revision 1.1236.1.181 (424d132aYORx7PllUl-nlTBMndGn4g)
Improved lazy state switching -- flush the state switch through on the
first flush IPI received. This avoids needing to receive any further
ones at little cost (needed to flush TLB anyway). The main extra cost
will be that, when switching back to a guest, we won't save the 
ctxt switch. But we may have saved an unbounded number of IPI flushes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 09:23:54 +00:00
kaf24@firebug.cl.cam.ac.uk 354e7e4b6a bitkeeper revision 1.1236.1.180 (424d0cc0fMbtHkfJJ78Iu20ay7GbmA)
Clean up blkback data path -- each scatter-gather request maps to
a contiguous extent of a single disk (we no longer directly create
VBDs out of multiple physical extents but leave that kind of thing to
LVM). Also the 2.6 datapath creates the smallest number of bio's that
it can, to avoid unnecessary remerging in the lower block layers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 08:56:32 +00:00
kaf24@firebug.cl.cam.ac.uk 78d691bfa9 bitkeeper revision 1.1236.1.179 (424cff8aq22M6hToflNlSiSDAf7UEA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-04-01 08:00:10 +00:00
kaf24@firebug.cl.cam.ac.uk 0dbd084899 bitkeeper revision 1.1159.258.86 (424cff6c82IPl2w_FuJj_0tdGUdFiw)
Correctly account for our reference to plugged_queue in blkback.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 07:59:40 +00:00
kaf24@firebug.cl.cam.ac.uk e709e8d408 bitkeeper revision 1.1236.1.178 (424c71ffL0fO0Lled7Iksns4CZgUlw)
manual merge.
2005-03-31 21:56:15 +00:00
kaf24@firebug.cl.cam.ac.uk f332800617 bitkeeper revision 1.1159.258.85 (424c70fbxU577zq5Tnh2knti4haWSA)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
2005-03-31 21:51:55 +00:00
kaf24@firebug.cl.cam.ac.uk 6120ae1e35 bitkeeper revision 1.1159.279.1 (424c70f4QCqyymdEdrsWpGJWoWos9A)
Fix queue unplugging in blkback driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 21:51:48 +00:00
iap10@freefall.cl.cam.ac.uk 83e85c9213 bitkeeper revision 1.1236.1.177 (424c6d618owgwMOuAqt8Gn8X7pnDCw)
Merge
2005-03-31 21:36:33 +00:00
iap10@freefall.cl.cam.ac.uk 4e3892396f bitkeeper revision 1.1159.258.84 (424c6a06y0iRheV72bjPbD5lRslQRQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
2005-03-31 21:22:14 +00:00
iap10@freefall.cl.cam.ac.uk b4d3bc3dbb bitkeeper revision 1.1159.278.1 (424c69fdsFkm7FZ7SYMwK1Y6v6p1Og)
Make default CPU placement of domains a bit smarter on systems with
hyperthreading: only dom0 gets to use hyperthreading by default, we
effectively ignore it on all other CPUs by allocating domains to
the same hyperthread. If you don't like this, use 'xm pincpu' to
change it. [note: we probably need to make pincpu more expressive,
providing a list of CPUs that the domain can be scheduled on.]

Signed-off-by: ian@xensource.com
2005-03-31 21:22:05 +00:00
kaf24@firebug.cl.cam.ac.uk 0931cb9078 bitkeeper revision 1.1236.1.176 (424c2d3fy4zylRn8ctgTwLuwa-5b1Q)
Fix SMP TLB flushing in XenLinux 2.6.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 17:02:55 +00:00
kaf24@firebug.cl.cam.ac.uk 16a5d77205 bitkeeper revision 1.1236.1.175 (424c1ad8A9ykDMzCII6Xz6XXEAqRCg)
noop merge
2005-03-31 15:44:24 +00:00
kaf24@firebug.cl.cam.ac.uk a2628ee068 bitkeeper revision 1.1159.258.83 (424c1abd7LgWMiaskLEEAAX7ffdkXQ)
Backport of batched request_queue unplugging in blkback driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 15:43:57 +00:00
kaf24@firebug.cl.cam.ac.uk d73b185634 bitkeeper revision 1.1236.1.174 (424bf73dRPXTiuGP-qQmSHwGKGOyRQ)
Improved TLB flushing of subsets of CPUs. Can now do remote invlpg
as well as complete flush.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 13:12:29 +00:00
kaf24@firebug.cl.cam.ac.uk 7b7eedda27 bitkeeper revision 1.1236.1.173 (424bd85e5lo6-hlVKAhgf-Zu85iruw)
Clean up ctrl msg handling in Linux. Remove VBD_GROW/SHRINK -- a VBD
now maps onto a single complete major/minor that is specified at
VBD_CREATE time. Also improve blkdev request_queue unplugging in the
2.6 backend driver to promote better batching.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 11:00:46 +00:00
kaf24@firebug.cl.cam.ac.uk dacaf11601 bitkeeper revision 1.1236.1.172 (424bc942fd6538s_Er3ugXStTdd5Nw)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-03-31 09:56:18 +00:00
kaf24@firebug.cl.cam.ac.uk ba77d5acc9 bitkeeper revision 1.1159.258.82 (424bc92fEcWwZjH-px6jvpApRHiBmQ)
fix the broken xen build
2005-03-31 09:55:59 +00:00
kaf24@firebug.cl.cam.ac.uk dd16531356 bitkeeper revision 1.1236.1.171 (424bbaa4hQe-DqWXkaydpYrAVLtpFA)
noop merge.
2005-03-31 08:53:56 +00:00
kaf24@firebug.cl.cam.ac.uk 8d4adc5120 bitkeeper revision 1.1159.258.81 (424bba4091aV1FuNksY_4w_z4Tvr3g)
Backport of Jens blkdev performance patch. I accidentally applied it
first to unstable.
2005-03-31 08:52:16 +00:00
kaf24@firebug.cl.cam.ac.uk 2ddbf56f89 bitkeeper revision 1.1236.1.170 (424bb695wKVs1smMSH8FpgWxT9Gkow)
Fix mbootpack deps.
2005-03-31 08:36:37 +00:00
kaf24@firebug.cl.cam.ac.uk d569c0383f bitkeeper revision 1.1236.1.169 (424bb04eB0_EeDkZ4a4b3PYM1jw59Q)
Patch from Jens Axboe to synchronously flush block requests from our
backend driver down to the disk(s). Big improvement in blkdev
performance.
2005-03-31 08:09:50 +00:00
kaf24@firebug.cl.cam.ac.uk b4c34f2e39 bitkeeper revision 1.1236.1.168 (424baf28WMoJ5y8ZfokGG38qKUacvg)
memset arg ordering.
2005-03-31 08:04:56 +00:00
kaf24@firebug.cl.cam.ac.uk f2ea273302 bitkeeper revision 1.1236.1.167 (424baeff58gP1oFB2UAaXGjoE5zTmw)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-03-31 08:04:15 +00:00
kaf24@firebug.cl.cam.ac.uk cb666ced1a bitkeeper revision 1.1159.258.80 (424baef1fEkcfSfQH4BQ1MHHtsEiYQ)
Fix memset arg ordering.
2005-03-31 08:04:01 +00:00
kaf24@firebug.cl.cam.ac.uk 74002104bc bitkeeper revision 1.1236.1.166 (424baca86MqfVh3MrQgsQ71bnNYsuw)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-03-31 07:54:16 +00:00
kaf24@firebug.cl.cam.ac.uk bc328b062e bitkeeper revision 1.1159.258.79 (424bac81b97CaB37wVXoKpui_TVPxw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
2005-03-31 07:53:37 +00:00
kaf24@firebug.cl.cam.ac.uk 34d67da366 bitkeeper revision 1.1159.277.1 (424bac7axeGTzSf5qEZA1c6OXWqlIg)
Remove unused extern decl. of page_scrub_lock.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 07:53:30 +00:00
kaf24@firebug.cl.cam.ac.uk 99a84adadf bitkeeper revision 1.1236.1.165 (424ba95eSoKkDgTWnpIIuTJTyWdHJg)
Small gcc4 fix in xc_ptrace.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
2005-03-31 07:40:14 +00:00
kaf24@firebug.cl.cam.ac.uk 99d21671d5 bitkeeper revision 1.1236.1.164 (424aed36IaX4v3-NGAT_MnCdUsD1yQ)
Split mmu_update() hypercall into mmu_update() and mmuext_op().
All MMUEXT_* ops are now done via the latter hypercall. This allows
more arguments to be passed in a nicer way to mmuext operations.
Linux 2.4, 2.6 and control tools all use the new interface. The BSDs
will need some work, but shouldn't be too hard (and they can be moved
to writable pagetables at the same time :-) ).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 18:17:26 +00:00
kaf24@firebug.cl.cam.ac.uk 16d8409f6f bitkeeper revision 1.1236.1.163 (424aec4eki8W81v1JGDTKTh7UZNqpQ)
Fix mbootpack deps.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 18:13:34 +00:00
jrb44@plym.cl.cam.ac.uk 1b5591a73e bitkeeper revision 1.1236.1.162 (424ab3a09TY4szIy8-8gmwYULpefmg)
Merge plym.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into plym.cl.cam.ac.uk:/auto/anfs/scratch/plym/jrb44/xen/bk
2005-03-30 14:11:44 +00:00
jrb44@plym.cl.cam.ac.uk 7a34c2552e bitkeeper revision 1.1236.50.1 (424ab3796H2qxrRztWb9Z6YD0aT6_w)
Updated mailing lists details in documentation.

Signed-off-by: James Bulpin <james@xensource.com>
2005-03-30 14:11:05 +00:00
jrb44@plym.cl.cam.ac.uk 2af6d121f0 bitkeeper revision 1.1159.258.78 (424ab2c5j7eJJls3kgj8UgYPektTwQ)
Updated mailing lists details in documentation.

Signed-off-by: James Bulpin <james@xensource.com>
2005-03-30 14:08:05 +00:00
kaf24@firebug.cl.cam.ac.uk b90e35d94a bitkeeper revision 1.1236.1.161 (424a87d38l7A3H0bMHl_fsQl_ZRvuA)
Remove vmassist dom0_op. Can now adjust vm assists via setdomaininfo.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 11:04:51 +00:00
kaf24@firebug.cl.cam.ac.uk c95e88a596 bitkeeper revision 1.1236.1.160 (424a861f1fQwwCOgZWaGK3g0CTOOkw)
Tidy up vm_assist handling.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 10:57:35 +00:00
kaf24@firebug.cl.cam.ac.uk 95486ed123 bitkeeper revision 1.1236.1.159 (424a78bcsGDNfA72BDiefgaGN4sTFQ)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-03-30 10:00:28 +00:00
kaf24@firebug.cl.cam.ac.uk da70133553 bitkeeper revision 1.1159.258.77 (424a789awnI9QtGxkwnLulWuRuSRxA)
Rationalise blkdev settings in frontend drivers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 09:59:54 +00:00
arun.sharma@intel.com[kaf24] 38c41e800d bitkeeper revision 1.1236.1.158 (424a5e40njyl8M4wEhCb_M060CCf-w)
[PATCH] libxc-x86-64-fixes.patch

Build fixes for x86-64.

Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-03-30 08:07:28 +00:00
arun.sharma@intel.com[kaf24] b63443e247 bitkeeper revision 1.1236.1.157 (424a5bd9vDVxqBGBnc7AKIyONvJCyQ)
[PATCH] ioemu-x86-64-fixes.patch

Make ioemu compile on x86-64.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-03-30 07:57:13 +00:00
arun.sharma@intel.com[kaf24] 349f9e2fb1 bitkeeper revision 1.1236.1.156 (424a5bd5fg_psBdMIPncUZSGGI9ryQ)
[PATCH] ioemu-x86-64-makefile.patch

Fix makefiles on x86-64.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-03-30 07:57:09 +00:00
mwilli2@equilibrium.research b5486579d0 bitkeeper revision 1.1236.1.155 (4249ef26A-jDjjXS9NBi965ZbQR7sA)
Various bug fixes (thanks to Harry Butterworth for spotting these), including
making disconnects behave correctly.  Hotplug seems to work well now.

Also: experimental support for handling suspend / migration gracefully (can't
test this until it works in the rest of the -unstable tree).
2005-03-30 00:13:26 +00:00
kaf24@firebug.cl.cam.ac.uk 4ce9d9d80e bitkeeper revision 1.1236.1.154 (4249c430s6iKHaP4AAIWnJQScN1CyA)
Fix lazy state switching when context-switching to/from the idle
domain. Track which domain's state is on each CPU and, for each
domain, which CPUs are running on its page tables.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-29 21:10:08 +00:00
kaf24@firebug.cl.cam.ac.uk 4db4a21930 bitkeeper revision 1.1236.1.153 (42496bbcmDKIhBdeW5tCa1moqo8b-Q)
Lazy pagetable and LDT switching was unsafe -- do them synchronously
for now, and maybe think about batching across switch_mm and switch_to
in the future (particularly for 2.6, which we care about more than 2.4).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-29 14:52:44 +00:00
kaf24@firebug.cl.cam.ac.uk 8adede30c2 bitkeeper revision 1.1236.1.152 (4249688f7s2zw2iN2bAb-4Wa9Jp0pw)
Update Bitkeeper ignore file.
2005-03-29 14:39:11 +00:00
kaf24@firebug.cl.cam.ac.uk 9ca8348dfb bitkeeper revision 1.1236.1.151 (424967aaR020l7m4GP2JkhW7oOgK9g)
Remove per-cpu batch queues for mmu updates and multicalls. Instead
batching is done locally within functions that most benefit.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-29 14:35:22 +00:00
kaf24@firebug.cl.cam.ac.uk 6d522ecc07 bitkeeper revision 1.1236.1.150 (42492cd6FsZ7ND8m7q_7T91GL1KcMA)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-03-29 10:24:22 +00:00
kaf24@firebug.cl.cam.ac.uk fac38bbac6 bitkeeper revision 1.1236.48.1 (42492ccfJI24fmg8lA7JszDuS59bYA)
Get rid of more uses of batched mmu interface.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-29 10:24:15 +00:00
tjd21@arcadians.cl.cam.ac.uk 4ceed52eee bitkeeper revision 1.1236.1.149 (42492762NRUXAIqtzpmd2lX5HSPVog)
Added the mbootpack tool, which packages multiboot boot files and
disguises them as a linux bzImage.  Useful for booting Xen using
pxelinux, or another linux-only bootloader.

Signed-off-by: Tim Deegan <Tim.Deegan@cl.cam.ac.uk>
2005-03-29 10:01:06 +00:00
kaf24@firebug.cl.cam.ac.uk d3bd0aa333 bitkeeper revision 1.1236.1.148 (42490c6e0Xg4p0wThKf2XpnRuAJQTA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-03-29 08:06:06 +00:00
kaf24@firebug.cl.cam.ac.uk 2dc5f21f49 bitkeeper revision 1.1159.258.76 (42490c5b3SVISdc-fROkhmb0BdgCvA)
Use fwrite() to write variable string in xfrd, to make it 64-bit safe.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-29 08:05:47 +00:00