search for: 254,12

Displaying 20 results from an estimated 31 matches for "254,12".

2017 Mar 23
3
[PATCH] virtio_balloon: prevent uninitialized variable use
...t;arnd at arndb.de> --- drivers/virtio/virtio_balloon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index 4e1191508228..cd5c54e2003d 100644 --- a/drivers/virtio/virtio_balloon.c +++ b/drivers/virtio/virtio_balloon.c @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) available = si_mem_available(); +#ifdef CONFIG_VM_EVENT_COUNTERS update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_IN, pages_to_bytes(events[PSWPIN])); update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_OUT, pages_to...
2017 Mar 23
3
[PATCH] virtio_balloon: prevent uninitialized variable use
...t;arnd at arndb.de> --- drivers/virtio/virtio_balloon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index 4e1191508228..cd5c54e2003d 100644 --- a/drivers/virtio/virtio_balloon.c +++ b/drivers/virtio/virtio_balloon.c @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) available = si_mem_available(); +#ifdef CONFIG_VM_EVENT_COUNTERS update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_IN, pages_to_bytes(events[PSWPIN])); update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_OUT, pages_to...
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
...2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c >> index 4e1191508228..cd5c54e2003d 100644 >> --- a/drivers/virtio/virtio_balloon.c >> +++ b/drivers/virtio/virtio_balloon.c >> @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) >> >> available = si_mem_available(); >> >> +#ifdef CONFIG_VM_EVENT_COUNTERS >> update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_IN, >> pages_to_bytes(...
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
...2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c >> index 4e1191508228..cd5c54e2003d 100644 >> --- a/drivers/virtio/virtio_balloon.c >> +++ b/drivers/virtio/virtio_balloon.c >> @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) >> >> available = si_mem_available(); >> >> +#ifdef CONFIG_VM_EVENT_COUNTERS >> update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_IN, >> pages_to_bytes(...
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
...t;>> > >>> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c > >>> index 4e1191508228..cd5c54e2003d 100644 > >>> --- a/drivers/virtio/virtio_balloon.c > >>> +++ b/drivers/virtio/virtio_balloon.c > >>> @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) > >>> > >>> available = si_mem_available(); > >>> > >>> +#ifdef CONFIG_VM_EVENT_COUNTERS > >>> update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_IN, > >...
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
...t;>> > >>> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c > >>> index 4e1191508228..cd5c54e2003d 100644 > >>> --- a/drivers/virtio/virtio_balloon.c > >>> +++ b/drivers/virtio/virtio_balloon.c > >>> @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) > >>> > >>> available = si_mem_available(); > >>> > >>> +#ifdef CONFIG_VM_EVENT_COUNTERS > >>> update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_IN, > >...
2017 Mar 28
1
[PATCH] virtio_balloon: prevent uninitialized variable use
...git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c > >> >>> index 4e1191508228..cd5c54e2003d 100644 > >> >>> --- a/drivers/virtio/virtio_balloon.c > >> >>> +++ b/drivers/virtio/virtio_balloon.c > >> >>> @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) > >> >>> > >> >>> available = si_mem_available(); > >> >>> > >> >>> +#ifdef CONFIG_VM_EVENT_COUNTERS > >> >>> update_stat(v...
2017 Mar 28
1
[PATCH] virtio_balloon: prevent uninitialized variable use
...git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c > >> >>> index 4e1191508228..cd5c54e2003d 100644 > >> >>> --- a/drivers/virtio/virtio_balloon.c > >> >>> +++ b/drivers/virtio/virtio_balloon.c > >> >>> @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) > >> >>> > >> >>> available = si_mem_available(); > >> >>> > >> >>> +#ifdef CONFIG_VM_EVENT_COUNTERS > >> >>> update_stat(v...
2017 Mar 24
0
[PATCH] virtio_balloon: prevent uninitialized variable use
.../virtio/virtio_balloon.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c > index 4e1191508228..cd5c54e2003d 100644 > --- a/drivers/virtio/virtio_balloon.c > +++ b/drivers/virtio/virtio_balloon.c > @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) > > available = si_mem_available(); > > +#ifdef CONFIG_VM_EVENT_COUNTERS > update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_IN, > pages_to_bytes(events[PSWPIN])); > update_stat(vb, idx++, VIRTI...
2017 Mar 24
0
[PATCH] virtio_balloon: prevent uninitialized variable use
...anged, 2 insertions(+) >>> >>> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c >>> index 4e1191508228..cd5c54e2003d 100644 >>> --- a/drivers/virtio/virtio_balloon.c >>> +++ b/drivers/virtio/virtio_balloon.c >>> @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) >>> >>> available = si_mem_available(); >>> >>> +#ifdef CONFIG_VM_EVENT_COUNTERS >>> update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_IN, >>>...
2017 Mar 27
0
[PATCH] virtio_balloon: prevent uninitialized variable use
...>>> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c >> >>> index 4e1191508228..cd5c54e2003d 100644 >> >>> --- a/drivers/virtio/virtio_balloon.c >> >>> +++ b/drivers/virtio/virtio_balloon.c >> >>> @@ -254,12 +254,14 @@ static void update_balloon_stats(struct virtio_balloon *vb) >> >>> >> >>> available = si_mem_available(); >> >>> >> >>> +#ifdef CONFIG_VM_EVENT_COUNTERS >> >>> update_stat(vb, idx++, VIRTIO_BALLOON_...
2019 Nov 30
0
[PATCH nbdkit v2 2/3] filters: stats: Measure time per operation
...nt *err) { + struct timeval start; int r; + gettimeofday (&start, NULL); r = next_ops->pwrite (nxdata, buf, count, offset, flags, err); - if (r == 0) record_stat (&pwrite_st, count); + if (r == 0) record_stat (&pwrite_st, count, &start); return r; } @@ -228,10 +254,12 @@ stats_trim (struct nbdkit_next_ops *next_ops, void *nxdata, uint32_t count, uint64_t offset, uint32_t flags, int *err) { + struct timeval start; int r; + gettimeofday (&start, NULL); r = next_ops->trim (nxdata, count, offset, flags, err); - if (r =...
2011 Nov 14
1
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...t; +} As remarked earlier, I believ this can be replaced by getPointerOperand(). > bool ScopDetection::isValidMemoryAccess(Instruction&Inst, > DetectionContext&Context) const { > Value *Ptr = getPointerOperand(Inst); > @@ -236,8 +254,12 @@ > BasePointer = dyn_cast<SCEVUnknown>(SE->getPointerBase(AccessFunction)); > > if (!BasePointer) > - INVALID(AffFunc, "No base pointer"); > - > + { > +// INVALID(AffFunc, "No base pointer"); > + BaseValue = (Value*) GetBas...
2018 May 14
3
[PATCH libldm v4 0/3] Make libldm to parse and return volume GUID.
v2: wrap commit message, "PATCH libldm" prefix. v3: correctly initialize and free GLib resources. v4: gtk-doc is updated to reflect presence of new volume GUID field. The result of this patch might be used by libguestfs to return drive mappings for LDM volumes. Note, that "show volume" ldmtool command already returns hint which is a drive letter assigned by Windows to
2017 Mar 28
4
[PATCH v3 0/3] virtio_balloon: don't push uninitialized buffers to stats virtqueue
This series fixes issues with variable initialization in the virtio balloon driver which manifest as the driver sending invalid memory stats to the host. v1->v2: * Call update_balloon_stats instead of filling the buffer with invalid tags. * Add BUG_ON to update_balloon_stats to formalize the invariant that all slots in the buffer must be initialized. v2->v3: * Remove BUG_ON and
2017 Mar 28
4
[PATCH v3 0/3] virtio_balloon: don't push uninitialized buffers to stats virtqueue
This series fixes issues with variable initialization in the virtio balloon driver which manifest as the driver sending invalid memory stats to the host. v1->v2: * Call update_balloon_stats instead of filling the buffer with invalid tags. * Add BUG_ON to update_balloon_stats to formalize the invariant that all slots in the buffer must be initialized. v2->v3: * Remove BUG_ON and
2019 Jun 21
0
[libnbd PATCH v2 5/5] states: Add DF flag support for pread
...[ "CMD_FLAG_FUA", 1 lsl 0; "CMD_FLAG_NO_HOLE", 1 lsl 1; + "CMD_FLAG_DF", 1 lsl 2; "CMD_FLAG_REQ_ONE", 1 lsl 3; "READ_DATA", 1; diff --git a/interop/structured-read.c b/interop/structured-read.c index ea47254..cf8b893 100644 --- a/interop/structured-read.c +++ b/interop/structured-read.c @@ -38,7 +38,7 @@ static const char *unixsocket; static char rbuf[1024]; struct data { - //XXX bool df; /* input: true if DF flag was passed to request */ + bool df; /* input: true if DF flag was passed...
2011 Nov 14
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...d earlier, I believ this can be replaced by getPointerOperand(). > >>  bool ScopDetection::isValidMemoryAccess(Instruction&Inst, >>                                          DetectionContext&Context) const { >>    Value *Ptr = getPointerOperand(Inst); >> @@ -236,8 +254,12 @@ >>    BasePointer = >> dyn_cast<SCEVUnknown>(SE->getPointerBase(AccessFunction)); >> >>    if (!BasePointer) >> -    INVALID(AffFunc, "No base pointer"); >> - >> +  { >> +//    INVALID(AffFunc, "No base pointer"); &g...
2019 Nov 30
4
[PATCH nbdkit v2 0/3] filters: stats: More useful, more friendly
- Use more friendly output with GiB and MiB/s - Measure time per operation, providing finer grain stats - Add total stats for understanding system throughput - Add missing stats for flush I hope that these changes will help to understand and improve virt-v2v performance. Changes since v1: - Keep bytes values - Increase precision to 0.001 GiB and 0.001 MiB/s - Add total stats - Show time before
2011 Nov 02
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
Mmm I found out a very strange behavior (to me) of the SCEV analysis of the loop bound of the external loop I posted. When in ScopDetection it gets the SCEV of the external loop bound in the "isValidLoop()" function with: const SCEV *LoopCount = SE->getBackedgeTakenCount(L); It returns a SCEVCouldNotCompute, but if I change the "if" block inside the loop from: if