Displaying 20 results from an estimated 135 matches for "329,6".
Did you mean:
322,6
2018 Aug 02
2
Re: [PATCH 3/3] file: Zero for block devices on old kernels
...e better to just fall back...
> + }
> + }
> +#else
> + h->sector_size = 4096; /* Safe guess */
...to the safe guess, instead of giving up entirely? (Might matter on a
system with newer headers that have the macro, but where the kernel does
not support the ioctl).
> @@ -329,6 +361,20 @@ file_zero (void *handle, uint32_t count, uint64_t offset, int may_trim)
> }
> #endif
>
> +#ifdef BLKZEROOUT
> + /* For aligned range and block devices, we can use BLKZEROOUT. */
> + if (h->is_block_device && is_aligned (h, offset) && is_a...
2014 Feb 26
2
[PATCH v5 3/8] qspinlock, x86: Add x86 specific optimization for 2 contending tasks
...gt; @@ -296,6 +478,9 @@ void queue_spin_lock_slowpath(struct qspinlock *lock, int qsval)
> return;
> }
>
> +#ifdef queue_code_xchg
> + prev_qcode = queue_code_xchg(lock, my_qcode);
> +#else
> /*
> * Exchange current copy of the queue node code
> */
> @@ -329,6 +514,7 @@ void queue_spin_lock_slowpath(struct qspinlock *lock, int qsval)
> } else
> prev_qcode &= ~_QSPINLOCK_LOCKED; /* Clear the lock bit */
> my_qcode &= ~_QSPINLOCK_LOCKED;
> +#endif /* queue_code_xchg */
>
> if (prev_qcode) {
> /*
That's just...
2014 Feb 26
2
[PATCH v5 3/8] qspinlock, x86: Add x86 specific optimization for 2 contending tasks
...gt; @@ -296,6 +478,9 @@ void queue_spin_lock_slowpath(struct qspinlock *lock, int qsval)
> return;
> }
>
> +#ifdef queue_code_xchg
> + prev_qcode = queue_code_xchg(lock, my_qcode);
> +#else
> /*
> * Exchange current copy of the queue node code
> */
> @@ -329,6 +514,7 @@ void queue_spin_lock_slowpath(struct qspinlock *lock, int qsval)
> } else
> prev_qcode &= ~_QSPINLOCK_LOCKED; /* Clear the lock bit */
> my_qcode &= ~_QSPINLOCK_LOCKED;
> +#endif /* queue_code_xchg */
>
> if (prev_qcode) {
> /*
That's just...
2019 Jun 28
1
[PATCH v5 09/12] drm/virtio: rework virtio_gpu_object_create fencing
...pu_device *vgdev,
struct virtio_gpu_object *bo,
struct virtio_gpu_object_params *params,
+ struct virtio_gpu_object_array *objs,
struct virtio_gpu_fence *fence);
void virtio_gpu_cmd_unref_resource(struct virtio_gpu_device *vgdev,
uint32_t resource_id);
@@ -329,6 +330,7 @@ void
virtio_gpu_cmd_resource_create_3d(struct virtio_gpu_device *vgdev,
struct virtio_gpu_object *bo,
struct virtio_gpu_object_params *params,
+ struct virtio_gpu_object_array *objs,
struct virtio_gpu_fence *fence);
void virtio_gpu_ctrl_ack(struct virtqueue *...
2016 Jan 06
0
[PATCH klibc] gzip: Fix silent fallback to decompression
...ase 'f':
force++; break;
@@ -308,9 +305,7 @@ int main (argc, argv)
break;
case 't':
test = to_stdout = 1;
-#ifndef decompress
- decompress = 1;
-#endif
+ decompress_wanted = 1;
break;
case 'v':
verbose++; quiet = 0; break;
@@ -329,6 +324,14 @@ int main (argc, argv)
}
} /* loop on all arguments */
+#ifndef SUPPORT_ZIP
+ if (!decompress_wanted) {
+ fprintf(stderr, "%s: this version does not support compression\n",
+ progname);
+ do_exit(ERROR);
+ }
+#endif
+
/* By default, save name and timestamp...
2016 Jan 06
0
[klibc:master] gzip: Fix silent fallback to decompression
...ase 'f':
force++; break;
@@ -308,9 +305,7 @@ int main (argc, argv)
break;
case 't':
test = to_stdout = 1;
-#ifndef decompress
- decompress = 1;
-#endif
+ decompress_wanted = 1;
break;
case 'v':
verbose++; quiet = 0; break;
@@ -329,6 +324,14 @@ int main (argc, argv)
}
} /* loop on all arguments */
+#ifndef SUPPORT_ZIP
+ if (!decompress_wanted) {
+ fprintf(stderr, "%s: this version does not support compression\n",
+ progname);
+ do_exit(ERROR);
+ }
+#endif
+
/* By default, save name and timestamp...
2010 Oct 07
0
[PATCH] x86-64: workaround for BIOSes wrongly enabling LAHF_LM feature indicator
...: "c" (msr), "a" (lo), "d" (hi), "D" (0x9c5a203a),
+ "0" (0), "i" (-EFAULT));
+
+ return err;
+}
+
/*
* Mask the features and extended features returned by CPUID. Parameters are
* set from the boot line via two methods:
@@ -329,6 +370,24 @@ static void __devinit init_amd(struct cp
3DNow is IDd by bit 31 in extended CPUID (1*32+31) anyway */
clear_bit(0*32+31, c->x86_capability);
+#ifdef CONFIG_X86_64
+ if (c->x86 == 0xf && c->x86_model < 0x14
+ && cpu_has(c, X86_FEATURE_LAHF_LM))...
2009 Aug 23
0
Bug#503044: xen-utils-common: should make the loopback device default to supporting more nodes
...evices to be preallocated, but also
disables dynamic allocation.
So maybe this problem is better solved by teaching /etc/xen/scripts/block
to mknod a new loop device if it can?t find one free. Untested patch:
--- xen-common/tools/hotplug/Linux/block
+++ xen-common/tools/hotplug/Linux/block
@@ -329,6 +329,13 @@
fi
done
+ if [ "$loopdev" = '' ]
+ then
+ loopdev=$(seq -f '/dev/loop%.f' 0 1048575 | \
+ grep -Fxv -m1 -f <(echo /dev/loop* | tr ' ' '\n')) && \
+ mknod &quo...
2005 May 12
0
Patch to address (PR#7853) -- tested briefly, seems to
...{
> + rawptr = (unsigned char *) R_alloc(n, sizeof(unsigned char));
> + for (i = 0; i < n; i++)
> + rawptr[i] = RAW(s)[i];
> + }
> + return (void *) rawptr;
> + break;
> case LGLSXP:
> case INTSXP:
> n = LENGTH(s);
> @@ -329,6 +340,7 @@
>
> static SEXP CPtrToRObj(void *p, SEXP arg, int Fort,
> R_NativePrimitiveArgType type)
> {
> + unsigned char *rawptr;
> int *iptr, n=length(arg);
> float *sptr;
> double *rptr;
> @@ -339,6 +351,12 @@
> SEXP s, t;
>
> switch(ty...
2010 May 11
0
[PATCH 4/5] btrfs: don't cache empty block groups during mount
...free space cached before it executes.
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
---
diff -urp 4/fs/btrfs/extent-tree.c 8/fs/btrfs/extent-tree.c
--- 4/fs/btrfs/extent-tree.c 2010-05-11 14:15:29.174108554 +0800
+++ 8/fs/btrfs/extent-tree.c 2010-05-11 13:26:38.036107000 +0800
@@ -316,11 +329,6 @@ static int caching_kthread(void *data)
if (!path)
return -ENOMEM;
- exclude_super_stripes(extent_root, block_group);
- spin_lock(&block_group->space_info->lock);
- block_group->space_info->bytes_super += block_group->bytes_super;
- spin_unlock(&block_group->spa...
2008 Jul 07
0
[PATCH] KVM: Add irq ack notifier list
..._host.h
@@ -314,6 +314,12 @@ struct kvm_mem_alias {
gfn_t target_gfn;
};
+struct kvm_irq_ack_notifier {
+ struct hlist_node link;
+ unsigned gsi;
+ void (*irq_acked)(struct kvm_irq_ack_notifier *kian);
+};
+
struct kvm_arch{
int naliases;
struct kvm_mem_alias aliases[KVM_ALIAS_SLOTS];
@@ -329,6 +335,7 @@ struct kvm_arch{
struct kvm_pic *vpic;
struct kvm_ioapic *vioapic;
struct kvm_pit *vpit;
+ struct hlist_head irq_ack_notifier_list;
int round_robin_prev_vcpu;
unsigned int tss_addr;
--------------040605070007030807060607--
2018 Aug 02
0
Re: [PATCH 3/3] file: Zero for block devices on old kernels
...t; > +#else
> > + h->sector_size = 4096; /* Safe guess */
>
> ...to the safe guess, instead of giving up entirely? (Might matter on a
> system with newer headers that have the macro, but where the kernel does
> not support the ioctl).
>
Good idea.
>
> > @@ -329,6 +361,20 @@ file_zero (void *handle, uint32_t count, uint64_t
> offset, int may_trim)
> > }
> > #endif
> >
> > +#ifdef BLKZEROOUT
> > + /* For aligned range and block devices, we can use BLKZEROOUT. */
> > + if (h->is_block_device && is_ali...
2023 Aug 22
0
[PATCH v4 43/48] drm/ttm: introduce pool_shrink_rwsem
...)
> unsigned int num_pages;
> struct page *p;
>
> + down_read(&pool_shrink_rwsem);
> spin_lock(&shrinker_lock);
> pt = list_first_entry(&shrinker_list, typeof(*pt), shrinker_list);
> list_move_tail(&pt->shrinker_list, &shrinker_list);
> @@ -329,6 +331,7 @@ static unsigned int ttm_pool_shrink(void)
> } else {
> num_pages = 0;
> }
> + up_read(&pool_shrink_rwsem);
>
> return num_pages;
> }
> @@ -572,6 +575,18 @@ void ttm_pool_init(struct ttm_pool *pool, struct device *dev,
> }
> EXPORT_SYMBOL(t...
2014 Feb 27
0
[PATCH v5 3/8] qspinlock, x86: Add x86 specific optimization for 2 contending tasks
...k_slowpath(struct qspinlock *lock, int qsval)
>> return;
>> }
>>
>> +#ifdef queue_code_xchg
>> + prev_qcode = queue_code_xchg(lock, my_qcode);
>> +#else
>> /*
>> * Exchange current copy of the queue node code
>> */
>> @@ -329,6 +514,7 @@ void queue_spin_lock_slowpath(struct qspinlock *lock, int qsval)
>> } else
>> prev_qcode&= ~_QSPINLOCK_LOCKED; /* Clear the lock bit */
>> my_qcode&= ~_QSPINLOCK_LOCKED;
>> +#endif /* queue_code_xchg */
>>
>> if (prev_qcode) {
>...
2020 Feb 11
1
[PATCH] drm/virtio: rework batching
...>f, true);
dma_fence_put(&vgfb->fence->f);
vgfb->fence = NULL;
diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c
index a682c2fcbe9a..ccc89b7578a0 100644
--- a/drivers/gpu/drm/virtio/virtgpu_vq.c
+++ b/drivers/gpu/drm/virtio/virtgpu_vq.c
@@ -329,7 +329,6 @@ static void virtio_gpu_queue_ctrl_sgs(struct virtio_gpu_device *vgdev,
int incnt)
{
struct virtqueue *vq = vgdev->ctrlq.vq;
- bool notify = false;
int ret;
if (vgdev->has_indirect)
@@ -369,16 +368,9 @@ static void virtio_gpu_queue_ctrl_sgs(struct virtio_gpu_dev...
2018 Aug 02
0
[PATCH 3/3] file: Zero for block devices on old kernels
...+
+ if (fstat (h->fd, &statbuf) == -1) {
+ nbdkit_error ("fstat: %m");
+ return -1;
+ }
- /* Else regular file. */
- return statbuf.st_size;
+ return statbuf.st_size;
+ }
}
/* Trim is advisory, but we prefer to advertise it only when we can actually
@@ -329,6 +361,20 @@ file_zero (void *handle, uint32_t count, uint64_t offset, int may_trim)
}
#endif
+#ifdef BLKZEROOUT
+ /* For aligned range and block devices, we can use BLKZEROOUT. */
+ if (h->is_block_device && is_aligned (h, offset) && is_aligned (h, count)) {
+ uint64_...
2019 Jan 25
0
[klibc:update-dash] input: Allow two consecutive calls to pungetc
...sestrpush);
sp->prevstring = parsefile->nextc;
sp->prevnleft = parsefile->nleft;
+ sp->unget = parsefile->unget;
+ memcpy(sp->lastc, parsefile->lastc, sizeof(sp->lastc));
sp->ap = (struct alias *)ap;
if (ap) {
((struct alias *)ap)->flag |= ALIASINUSE;
@@ -329,6 +339,7 @@ pushstring(char *s, void *ap)
}
parsefile->nextc = s;
parsefile->nleft = len;
+ parsefile->unget = 0;
INTON;
}
@@ -353,6 +364,8 @@ popstring(void)
}
parsefile->nextc = sp->prevstring;
parsefile->nleft = sp->prevnleft;
+ parsefile->unget = sp->...
2020 Feb 12
1
[PATCH v2] drm/virtio: rework batching
...>f, true);
dma_fence_put(&vgfb->fence->f);
vgfb->fence = NULL;
diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c
index cfe9c54f87a3..357fef8197dc 100644
--- a/drivers/gpu/drm/virtio/virtgpu_vq.c
+++ b/drivers/gpu/drm/virtio/virtgpu_vq.c
@@ -329,7 +329,6 @@ static void virtio_gpu_queue_ctrl_sgs(struct virtio_gpu_device *vgdev,
int incnt)
{
struct virtqueue *vq = vgdev->ctrlq.vq;
- bool notify = false;
int ret, idx;
if (!drm_dev_enter(vgdev->ddev, &idx)) {
@@ -368,16 +367,10 @@ static void virtio_gpu_queue_ctrl...
2020 Mar 28
0
[klibc:update-dash] dash: input: Allow two consecutive calls to pungetc
...sestrpush);
sp->prevstring = parsefile->nextc;
sp->prevnleft = parsefile->nleft;
+ sp->unget = parsefile->unget;
+ memcpy(sp->lastc, parsefile->lastc, sizeof(sp->lastc));
sp->ap = (struct alias *)ap;
if (ap) {
((struct alias *)ap)->flag |= ALIASINUSE;
@@ -329,6 +339,7 @@ pushstring(char *s, void *ap)
}
parsefile->nextc = s;
parsefile->nleft = len;
+ parsefile->unget = 0;
INTON;
}
@@ -353,6 +364,8 @@ popstring(void)
}
parsefile->nextc = sp->prevstring;
parsefile->nleft = sp->prevnleft;
+ parsefile->unget = sp->...
2019 Jul 17
0
[PATCH v4 1/5] vsock/virtio: limit the memory used per-socket
....c | 1 +
net/vmw_vsock/virtio_transport_common.c | 60 +++++++++++++++++++++----
4 files changed, 55 insertions(+), 9 deletions(-)
diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c
index 6a50e1d0529c..6c8390a2af52 100644
--- a/drivers/vhost/vsock.c
+++ b/drivers/vhost/vsock.c
@@ -329,6 +329,8 @@ vhost_vsock_alloc_pkt(struct vhost_virtqueue *vq,
return NULL;
}
+ pkt->buf_len = pkt->len;
+
nbytes = copy_from_iter(pkt->buf, pkt->len, &iov_iter);
if (nbytes != pkt->len) {
vq_err(vq, "Expected %u byte payload, got %zu bytes\n",
diff --git a...