Displaying 19 results from an estimated 19 matches for "635,12".
Did you mean:
235,12
2008 Mar 09
0
[PATCH 2/4] nouveau: add nouveau_map_block function
...lock,
unsigned long offset, enum drm_map_type type)
{
@@ -619,9 +633,7 @@ alloc_ok:
if (flags&NOUVEAU_MEM_MAPPED)
{
- struct drm_map_list *entry;
int ret = 0;
- block->flags|=NOUVEAU_MEM_MAPPED;
if (type == NOUVEAU_MEM_AGP)
ret = nouveau_addmap_agp(dev, block);
@@ -635,12 +647,10 @@ alloc_ok:
return NULL;
}
- entry = drm_find_matching_map(dev, block->map);
- if (!entry) {
+ if (!nouveau_map_block(dev, block)) {
nouveau_mem_free_block(block);
return NULL;
}
- block->map_handle = entry->user_token;
}
DRM_DEBUG("allocated...
2019 Jun 13
4
[PATCH 4/9] x86/mm/tlb: Flush remote and local TLBs concurrently
...m is barely
* slower than a minimal flush, just switch to init_mm.
*
- * This should be rare, with native_flush_tlb_others skipping
+ * This should be rare, with native_flush_tlb_multi skipping
* IPIs to lazy TLB mode CPUs.
*/
switch_mm_irqs_off(NULL, &init_mm, NULL);
@@ -635,9 +635,12 @@ static void flush_tlb_func_common(const struct flush_tlb_info *f,
this_cpu_write(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen, mm_tlb_gen);
}
-static void flush_tlb_func_local(const void *info, enum tlb_flush_reason reason)
+static void flush_tlb_func_local(void *info)
{
const str...
2019 Jun 13
4
[PATCH 4/9] x86/mm/tlb: Flush remote and local TLBs concurrently
...m is barely
* slower than a minimal flush, just switch to init_mm.
*
- * This should be rare, with native_flush_tlb_others skipping
+ * This should be rare, with native_flush_tlb_multi skipping
* IPIs to lazy TLB mode CPUs.
*/
switch_mm_irqs_off(NULL, &init_mm, NULL);
@@ -635,9 +635,12 @@ static void flush_tlb_func_common(const struct flush_tlb_info *f,
this_cpu_write(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen, mm_tlb_gen);
}
-static void flush_tlb_func_local(const void *info, enum tlb_flush_reason reason)
+static void flush_tlb_func_local(void *info)
{
const str...
2019 Aug 07
4
[PATCH] nouveau/hmm: map pages after migration
...oid nouveau_dmem_migrate_chunk(struct migrate_vma *args,
dma_unmap_page(drm->dev->dev, dma_addrs[nr_dma], PAGE_SIZE,
DMA_BIDIRECTIONAL);
}
- /*
- * FIXME optimization: update GPU page table to point to newly migrated
- * memory.
- */
migrate_vma_finalize(args);
}
@@ -631,11 +635,12 @@ nouveau_dmem_migrate_vma(struct nouveau_drm *drm,
unsigned long npages = (end - start) >> PAGE_SHIFT;
unsigned long max = min(SG_MAX_SINGLE_ALLOC, npages);
dma_addr_t *dma_addrs;
+ u64 *pfns;
struct migrate_vma args = {
.vma = vma,
.start = start,
};
- unsigned long c,...
2019 Aug 13
0
[PATCH] nouveau/hmm: map pages after migration
...,
> dma_unmap_page(drm->dev->dev, dma_addrs[nr_dma], PAGE_SIZE,
> DMA_BIDIRECTIONAL);
> }
> - /*
> - * FIXME optimization: update GPU page table to point to newly migrated
> - * memory.
> - */
> migrate_vma_finalize(args);
> }
>
> @@ -631,11 +635,12 @@ nouveau_dmem_migrate_vma(struct nouveau_drm *drm,
> unsigned long npages = (end - start) >> PAGE_SHIFT;
> unsigned long max = min(SG_MAX_SINGLE_ALLOC, npages);
> dma_addr_t *dma_addrs;
> + u64 *pfns;
> struct migrate_vma args = {
> .vma = vma,
> .star...
2017 Oct 18
2
[PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify()
...tatic int virtballoon_probe(struct virtio_device *vdev)
err = PTR_ERR(vb->vb_dev_info.inode);
kern_unmount(balloon_mnt);
unregister_oom_notifier(&vb->nb);
+ del_timer_sync(&vb->deflate_on_oom_timer);
vb->vb_dev_info.inode = NULL;
goto out_del_vqs;
}
@@ -611,11 +635,12 @@ static void virtballoon_remove(struct virtio_device *vdev)
struct virtio_balloon *vb = vdev->priv;
unregister_oom_notifier(&vb->nb);
+ del_timer_sync(&vb->deflate_on_oom_timer);
spin_lock_irq(&vb->stop_update_lock);
vb->stop_update = true;
spin_unlock_...
2017 Oct 18
2
[PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify()
...tatic int virtballoon_probe(struct virtio_device *vdev)
err = PTR_ERR(vb->vb_dev_info.inode);
kern_unmount(balloon_mnt);
unregister_oom_notifier(&vb->nb);
+ del_timer_sync(&vb->deflate_on_oom_timer);
vb->vb_dev_info.inode = NULL;
goto out_del_vqs;
}
@@ -611,11 +635,12 @@ static void virtballoon_remove(struct virtio_device *vdev)
struct virtio_balloon *vb = vdev->priv;
unregister_oom_notifier(&vb->nb);
+ del_timer_sync(&vb->deflate_on_oom_timer);
spin_lock_irq(&vb->stop_update_lock);
vb->stop_update = true;
spin_unlock_...
2019 Jun 25
0
[PATCH 4/9] x86/mm/tlb: Flush remote and local TLBs concurrently
...> + * This should be rare, with native_flush_tlb_multi skipping
> * IPIs to lazy TLB mode CPUs.
> */
Nit, since we're messing with this, it can now be
"native_flush_tlb_multi()" since it is a function.
> switch_mm_irqs_off(NULL, &init_mm, NULL);
> @@ -635,9 +635,12 @@ static void flush_tlb_func_common(const struct flush_tlb_info *f,
> this_cpu_write(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen, mm_tlb_gen);
> }
>
> -static void flush_tlb_func_local(const void *info, enum tlb_flush_reason reason)
> +static void flush_tlb_func_local(v...
2017 Oct 18
0
[PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify()
...o_device *vdev)
> err = PTR_ERR(vb->vb_dev_info.inode);
> kern_unmount(balloon_mnt);
> unregister_oom_notifier(&vb->nb);
> + del_timer_sync(&vb->deflate_on_oom_timer);
> vb->vb_dev_info.inode = NULL;
> goto out_del_vqs;
> }
> @@ -611,11 +635,12 @@ static void virtballoon_remove(struct virtio_device *vdev)
> struct virtio_balloon *vb = vdev->priv;
>
> unregister_oom_notifier(&vb->nb);
> + del_timer_sync(&vb->deflate_on_oom_timer);
>
> spin_lock_irq(&vb->stop_update_lock);
> vb->...
2019 Jun 26
2
[PATCH 4/9] x86/mm/tlb: Flush remote and local TLBs concurrently
...tive_flush_tlb_multi skipping
>> * IPIs to lazy TLB mode CPUs.
>> */
>
> Nit, since we're messing with this, it can now be
> "native_flush_tlb_multi()" since it is a function.
Sure.
>
>> switch_mm_irqs_off(NULL, &init_mm, NULL);
>> @@ -635,9 +635,12 @@ static void flush_tlb_func_common(const struct flush_tlb_info *f,
>> this_cpu_write(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen, mm_tlb_gen);
>> }
>>
>> -static void flush_tlb_func_local(const void *info, enum tlb_flush_reason reason)
>> +static void flush...
2019 Jun 26
2
[PATCH 4/9] x86/mm/tlb: Flush remote and local TLBs concurrently
...tive_flush_tlb_multi skipping
>> * IPIs to lazy TLB mode CPUs.
>> */
>
> Nit, since we're messing with this, it can now be
> "native_flush_tlb_multi()" since it is a function.
Sure.
>
>> switch_mm_irqs_off(NULL, &init_mm, NULL);
>> @@ -635,9 +635,12 @@ static void flush_tlb_func_common(const struct flush_tlb_info *f,
>> this_cpu_write(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen, mm_tlb_gen);
>> }
>>
>> -static void flush_tlb_func_local(const void *info, enum tlb_flush_reason reason)
>> +static void flush...
2012 Aug 16
0
[RFC v1 5/5] VBD: enlarge max segment per request in blkfront
...T_REQUEST(blk_segrings, rc++),
+ sizeof(struct blkif_request_segment));
+ }
+ blk_segrings->req_cons = rc;
+}
+
/*
* Function to copy the from the ring buffer the ''struct blkif_request''
* (which has the sectors we want, number of them, grant references, etc),
@@ -587,10 +635,12 @@ do_block_io_op(struct xen_blkif *blkif)
return more_to_do;
}
+
/*
* Transmutation of the ''struct blkif_request'' to a proper ''struct bio''
* and call the ''submit_bio'' to pass it to the underlying storage.
*/
+
static int dispatc...
2014 Oct 21
2
[PATCH RFC] virtio 1.0 vring endian-ness
...igned last_used_idx)
struct vring_virtqueue *vq = to_vvq(_vq);
virtio_mb(vq->weak_barriers);
- return (u16)last_used_idx != vq->vring.used->idx;
+ return (u16)last_used_idx != virtio16_to_cpu(vq_le(_vq), vq->vring.used->idx);
}
EXPORT_SYMBOL_GPL(virtqueue_poll);
@@ -633,12 +635,12 @@ bool virtqueue_enable_cb_delayed(struct virtqueue *_vq)
/* Depending on the VIRTIO_RING_F_USED_EVENT_IDX feature, we need to
* either clear the flags bit or point the event index at the next
* entry. Always do both to keep code simple. */
- vq->vring.avail->flags &= ~VRING_A...
2014 Oct 21
2
[PATCH RFC] virtio 1.0 vring endian-ness
...igned last_used_idx)
struct vring_virtqueue *vq = to_vvq(_vq);
virtio_mb(vq->weak_barriers);
- return (u16)last_used_idx != vq->vring.used->idx;
+ return (u16)last_used_idx != virtio16_to_cpu(vq_le(_vq), vq->vring.used->idx);
}
EXPORT_SYMBOL_GPL(virtqueue_poll);
@@ -633,12 +635,12 @@ bool virtqueue_enable_cb_delayed(struct virtqueue *_vq)
/* Depending on the VIRTIO_RING_F_USED_EVENT_IDX feature, we need to
* either clear the flags bit or point the event index at the next
* entry. Always do both to keep code simple. */
- vq->vring.avail->flags &= ~VRING_A...
2017 Oct 16
2
[PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify()
...99.758334] virtio_balloon virtio3: Out of puff! Can't get 1 pages
[ 99.985175] virtio_balloon virtio3: Out of puff! Can't get 1 pages
[ 100.204474] virtio_balloon virtio3: Out of puff! Can't get 1 pages
[ 100.419757] virtio_balloon virtio3: Out of puff! Can't get 1 pages
[ 100.635681] virtio_balloon virtio3: Out of puff! Can't get 1 pages
[ 101.263840] Out of memory: Kill process 587 (systemd-logind) score 2 or sacrifice child
[ 101.319432] Out of memory: Kill process 586 (irqbalance) score 1 or sacrifice child
[ 101.386546] Out of memory: Kill process 569 (dbus-daemo...
2017 Oct 16
2
[PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify()
...99.758334] virtio_balloon virtio3: Out of puff! Can't get 1 pages
[ 99.985175] virtio_balloon virtio3: Out of puff! Can't get 1 pages
[ 100.204474] virtio_balloon virtio3: Out of puff! Can't get 1 pages
[ 100.419757] virtio_balloon virtio3: Out of puff! Can't get 1 pages
[ 100.635681] virtio_balloon virtio3: Out of puff! Can't get 1 pages
[ 101.263840] Out of memory: Kill process 587 (systemd-logind) score 2 or sacrifice child
[ 101.319432] Out of memory: Kill process 586 (irqbalance) score 1 or sacrifice child
[ 101.386546] Out of memory: Kill process 569 (dbus-daemo...
2014 Feb 25
12
[PATCH 0/8] virt-builder: use .conf files for configuration
Hi,
attached there is a serie of patches that completes the work on making
virt-builder use .conf files, shipped in XDG directories, to configure
all the available sources of indexes used.
This also removes the hardcoded default location, replaced now with a
configuration file (which may be not used at all).
Thanks,
Pino Toscano (8):
builder: allow "no key" as key in Sigchecker
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...le = RErr, [Device "device"], [];
+ style = RErr, [String (Device, "device")], [];
shortdesc = "resize an ext2, ext3 or ext4 filesystem to the minimum size";
longdesc = "\
This command is the same as C<guestfs_resize2fs>, but the filesystem
@@ -6353,7 +6353,7 @@ handle is closed." };
{ defaults with
name = "is_zero"; added = (1, 11, 8);
- style = RBool "zeroflag", [Pathname "path"], [];
+ style = RBool "zeroflag", [String (Pathname, "path")], [];
tests = [
Init...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator.
Rich.