search for: freezable

Displaying 20 results from an estimated 161 matches for "freezable".

2015 Dec 04
4
[PATCH v4 0/2] virtio_balloon: Fix restore and convert to workqueue
...ing the balloon + do not queue the work from fill_balloon() and leak_balloon() because they are called also independently from the workqueue, e.g. remove_common(), virtballoon_oom_notify(). Re-queue the work from the work function when necessary. Changes against v2: + Use system_freezable_wq instead of an allocated one and move INIT_WORK() higher in virtballoon_probe(). + Fix typos in the commit message. Changes against v1: + More elegant detection of the pending work in fill_balloon() and leak_balloon(). It still needs to keep the original requested number of pa...
2015 Dec 04
4
[PATCH v4 0/2] virtio_balloon: Fix restore and convert to workqueue
...ing the balloon + do not queue the work from fill_balloon() and leak_balloon() because they are called also independently from the workqueue, e.g. remove_common(), virtballoon_oom_notify(). Re-queue the work from the work function when necessary. Changes against v2: + Use system_freezable_wq instead of an allocated one and move INIT_WORK() higher in virtballoon_probe(). + Fix typos in the commit message. Changes against v1: + More elegant detection of the pending work in fill_balloon() and leak_balloon(). It still needs to keep the original requested number of pa...
2015 Dec 04
0
[PATCH v4 2/2] virtio_balloon: Use a workqueue instead of "vballoon" kthread
From: Petr Mladek <pmladek at suse.cz> This patch moves the deferred work from the "vballoon" kthread into a system freezable workqueue. We do not need to maintain and run a dedicated kthread. Also the event driven workqueues API makes the logic much easier. Especially, we do not longer need an own wait queue, wait function, and freeze point. The conversion is pretty straightforward. One cycle of the main loop is put in...
2016 Jan 01
2
[PATCH v4 2/2] virtio_balloon: Use a workqueue instead of "vballoon" kthread
On Fri, Dec 04, 2015 at 02:37:51PM +0100, Petr Mladek wrote: > From: Petr Mladek <pmladek at suse.cz> > > This patch moves the deferred work from the "vballoon" kthread into a > system freezable workqueue. > > We do not need to maintain and run a dedicated kthread. Also the event > driven workqueues API makes the logic much easier. Especially, we do > not longer need an own wait queue, wait function, and freeze point. > > The conversion is pretty straightforward. One cy...
2016 Jan 01
2
[PATCH v4 2/2] virtio_balloon: Use a workqueue instead of "vballoon" kthread
On Fri, Dec 04, 2015 at 02:37:51PM +0100, Petr Mladek wrote: > From: Petr Mladek <pmladek at suse.cz> > > This patch moves the deferred work from the "vballoon" kthread into a > system freezable workqueue. > > We do not need to maintain and run a dedicated kthread. Also the event > driven workqueues API makes the logic much easier. Especially, we do > not longer need an own wait queue, wait function, and freeze point. > > The conversion is pretty straightforward. One cy...
2014 Nov 20
2
[PATCH v3] virtio_balloon: Convert "vballoon" kthread into a workqueue
...nfinite" loop in the balloon() handler. Instead, another work item has to be scheduled from fill_balloon() and leak_balloon() when they do not do all requested changes in a single call. The initial patch allocated an extra workqueue for this task. Michael S. Tsirkin suggested using the system freezable workqueue instead. Tejun Heo confirmed that the system workqueue has a pretty high concurrency level (256) by default. Therefore we need not be afraid of too long blocking. Signed-off-by: Petr Mladek <pmladek at suse.cz> Acked-by: Michael S. Tsirkin <mst at redhat.com> --- Changes in v...
2014 Nov 20
2
[PATCH v3] virtio_balloon: Convert "vballoon" kthread into a workqueue
...nfinite" loop in the balloon() handler. Instead, another work item has to be scheduled from fill_balloon() and leak_balloon() when they do not do all requested changes in a single call. The initial patch allocated an extra workqueue for this task. Michael S. Tsirkin suggested using the system freezable workqueue instead. Tejun Heo confirmed that the system workqueue has a pretty high concurrency level (256) by default. Therefore we need not be afraid of too long blocking. Signed-off-by: Petr Mladek <pmladek at suse.cz> Acked-by: Michael S. Tsirkin <mst at redhat.com> --- Changes in v...
2016 Jan 25
2
[PATCH v5 0/2] virtio_balloon: Conversion to workqueue + parallel stats
...ing the balloon + do not queue the work from fill_balloon() and leak_balloon() because they are called also independently from the workqueue, e.g. remove_common(), virtballoon_oom_notify(). Re-queue the work from the work function when necessary. Changes against v2: + Use system_freezable_wq instead of an allocated one and move INIT_WORK() higher in virtballoon_probe(). + Fix typos in the commit message. Changes against v1: + More elegant detection of the pending work in fill_balloon() and leak_balloon(). It still needs to keep the original requested number of pa...
2016 Jan 25
2
[PATCH v5 0/2] virtio_balloon: Conversion to workqueue + parallel stats
...ing the balloon + do not queue the work from fill_balloon() and leak_balloon() because they are called also independently from the workqueue, e.g. remove_common(), virtballoon_oom_notify(). Re-queue the work from the work function when necessary. Changes against v2: + Use system_freezable_wq instead of an allocated one and move INIT_WORK() higher in virtballoon_probe(). + Fix typos in the commit message. Changes against v1: + More elegant detection of the pending work in fill_balloon() and leak_balloon(). It still needs to keep the original requested number of pa...
2020 Feb 17
2
RE: guest-fsfreeze-freeze freezes all mounted block devices
Hi Peter, Should I assume that the virsh domfsfreeze, does not require the qemu-agent service in the guest? PS. I couldn't find the result. Afaik it looks like it is returning the amount of frozen/thawed filesystem's -----Original Message----- Cc: libvirt-users Subject: Re: guest-fsfreeze-freeze freezes all mounted block devices On Fri, Feb 14, 2020 at 22:14:55 +0100, Marc Roos
2018 Oct 09
3
Test report xen_4.11.1~pre.20180911.5acdd26fdc+dfsg-2
...-- 6. Now really reboot into 4.11 Yay. ---- >8 ---- 7. Live migrate a domU to it. At least it keeps running, but this is quite weird: dmesg: [ 3666.838699] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 3666.840734] OOM killer disabled. [ 3666.840738] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [ 3666.842265] suspending xenstore... [ 3666.856559] xen:grant_table: Grant tables using version 1 layout [18443294892.646187] OOM killer enabled. [18443294892.646200] Restarting tasks ... done. [18443294892.684093] Setting capacity to 41943040 or with -T:...
2017 Jul 13
2
[PATCH v12 8/8] virtio-balloon: VIRTIO_BALLOON_F_CMD_VQ
...@@ static struct vfsmount *balloon_mnt; > > struct virtio_balloon { > struct virtio_device *vdev; > - struct virtqueue *inflate_vq, *deflate_vq, *stats_vq; > + struct virtqueue *inflate_vq, *deflate_vq, *stats_vq, *cmd_vq; > > /* The balloon servicing is delegated to a freezable workqueue. */ > struct work_struct update_balloon_stats_work; > struct work_struct update_balloon_size_work; > + struct work_struct cmdq_handle_work; > > /* Prevent updating balloon when it is being canceled. */ > spinlock_t stop_update_lock; > @@ -90,6 +91,12 @@ stru...
2017 Jul 13
2
[PATCH v12 8/8] virtio-balloon: VIRTIO_BALLOON_F_CMD_VQ
...@@ static struct vfsmount *balloon_mnt; > > struct virtio_balloon { > struct virtio_device *vdev; > - struct virtqueue *inflate_vq, *deflate_vq, *stats_vq; > + struct virtqueue *inflate_vq, *deflate_vq, *stats_vq, *cmd_vq; > > /* The balloon servicing is delegated to a freezable workqueue. */ > struct work_struct update_balloon_stats_work; > struct work_struct update_balloon_size_work; > + struct work_struct cmdq_handle_work; > > /* Prevent updating balloon when it is being canceled. */ > spinlock_t stop_update_lock; > @@ -90,6 +91,12 @@ stru...
2007 Feb 14
1
[PATCH 0/12] Add S3 support to Xen
...es]==== [PATCH 1/12] Add suspend/resume to devices owned by Xen [PATCH 2/12] Pull necessary Linux PM files to Xen [PATCH 3/12] Provide basic Xen PM infrastructure [PATCH 4/12] PM interface between dom0 and Xen [PATCH 5/12] Add HVM support ====[Linux specific changes]==== [PATCH 6/12] Make kthreads freezable [PATCH 7/12] Pull Linux PM files to sparse tree [PATCH 8/12] Enable ACPI sleep in Linux ====[Xen SMP related changes]==== [PATCH 9/12] Pull Linux CPU hotplug logic to Xen [PATCH 10/12] Add Xen CPU hotplug support [PATCH 11/12] Allow vcpu to pause self (May not require, if force all cpus to sync la...
2007 May 15
1
[PATCH 0/12] Add basic S3 support to Xen
...fic changes] [PATCH 1/12] Add suspend/resume to devices owned by Xen [PATCH 2/12] Pull necessary Linux PM files to Xen [PATCH 3/12] Provide basic Xen PM infrastructure [PATCH 4/12] PM interface between dom0 and Xen [PATCH 5/12] Add HVM support [Xenlinux specific changes] [PATCH 6/12] Make kthreads freezable [PATCH 7/12] Pull Linux PM files to sparse tree [PATCH 8/12] Enable ACPI sleep in Linux [Xen SMP related changes] [PATCH 9/12] Pull Linux CPU hotplug logic to Xen [PATCH 10/12] Add Xen CPU hotplug support [PATCH 11/12] Allow vcpu to pause self [PATCH 12/12] SMP support to Xen PM For each patch m...
2017 Dec 07
3
[PATCH 0/1] suspend/resume for virtio_ccw
...195.855839] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 195.856927] OOM killer disabled. [ 195.856941] PM: Preallocating image memory... done (allocated 182918 pages) [ 196.229494] PM: Allocated 731672 kbytes in 0.37 seconds (1977.49 MB/s) [ 196.229495] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 196.231772] Suspending console(s) (use no_console_suspend to debug) [ 196.238620] Disabling non-boot CPUs ... [ 196.238632] PM: Creating hibernation image: [ 196.267113] PM: Need to copy 182169 pages [ 196.892074] PM: Hibernation image created (182169...
2017 Dec 07
3
[PATCH 0/1] suspend/resume for virtio_ccw
...195.855839] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 195.856927] OOM killer disabled. [ 195.856941] PM: Preallocating image memory... done (allocated 182918 pages) [ 196.229494] PM: Allocated 731672 kbytes in 0.37 seconds (1977.49 MB/s) [ 196.229495] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. [ 196.231772] Suspending console(s) (use no_console_suspend to debug) [ 196.238620] Disabling non-boot CPUs ... [ 196.238632] PM: Creating hibernation image: [ 196.267113] PM: Need to copy 182169 pages [ 196.892074] PM: Hibernation image created (182169...
2024 Jan 11
1
No suspend after update
...o read out thermal zone (-61) [ 52.791625] PM: suspend exit [ 52.791733] PM: suspend entry (s2idle) [ 52.797260] Filesystems sync: 0.005 seconds [ 52.797579] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 52.799127] OOM killer disabled. [ 52.799128] Freezing remaining freezable tasks ... [ 72.805437] Freezing of tasks failed after 20.006 seconds (1 tasks refusing to freeze, wq_busy=0): [ 72.805450] task:NFSv4 callback state:I stack:0 pid:2191 ppid:2 flags:0x00004000 [ 72.805453] Call Trace: [ 72.805454] <TASK> [ 72.805456] __schedule+0x21b/0x55...
2014 Oct 16
0
[PULL] More virtio fun
...enable VQs early on restore virtio_net: enable VQs early on restore virtio_scsi: fix race on device removal virtio_balloon: enable VQs early on restore virtio_scsi: drop scan callback virtio-rng: refactor probe error handling Paolo Bonzini (1): virito_scsi: use freezable WQ for events drivers/block/virtio_blk.c | 40 ++++---------- drivers/char/hw_random/virtio-rng.c | 15 +++--- drivers/char/virtio_console.c | 4 ++ drivers/misc/mic/card/mic_virtio.c | 6 +-- drivers/net/virtio_net.c | 44 +++++---------- drivers/s390/kvm/kvm_vi...
2014 Oct 16
0
[PULL] More virtio fun
...enable VQs early on restore virtio_net: enable VQs early on restore virtio_scsi: fix race on device removal virtio_balloon: enable VQs early on restore virtio_scsi: drop scan callback virtio-rng: refactor probe error handling Paolo Bonzini (1): virito_scsi: use freezable WQ for events drivers/block/virtio_blk.c | 40 ++++---------- drivers/char/hw_random/virtio-rng.c | 15 +++--- drivers/char/virtio_console.c | 4 ++ drivers/misc/mic/card/mic_virtio.c | 6 +-- drivers/net/virtio_net.c | 44 +++++---------- drivers/s390/kvm/kvm_vi...