search for: 167,7

Displaying 20 results from an estimated 261 matches for "167,7".

Did you mean: 117,7
2019 Sep 25
2
Re: [PATCH libnbd] lib: Copy nbd-protocol.h from nbdkit 1.15.3.
On Tue, Sep 24, 2019 at 05:24:34PM -0500, Eric Blake wrote: > On 9/24/19 4:07 PM, Richard W.M. Jones wrote: > > /* New-style handshake server reply when using NBD_OPT_EXPORT_NAME. > > * Modern clients use NBD_OPT_GO instead of this. > > @@ -167,7 +167,7 @@ struct nbd_new_handshake_finish { > > uint64_t exportsize; > > uint16_t eflags; /* per-export flags */ > > char zeroes[124]; /* must be sent as zero bytes */ > > -} __attribute__((packed)); > > +} NBD_ATTRIBUTE_PACKED; > &g...
2019 Sep 24
2
[PATCH libnbd] lib: Copy nbd-protocol.h from nbdkit 1.15.3.
...or { uint32_t length; /* length of block */ uint32_t status_flags; /* block type (hole etc) */ -} __attribute__((packed)); +} NBD_ATTRIBUTE_PACKED; /* New-style handshake server reply when using NBD_OPT_EXPORT_NAME. * Modern clients use NBD_OPT_GO instead of this. @@ -167,7 +167,7 @@ struct nbd_new_handshake_finish { uint64_t exportsize; uint16_t eflags; /* per-export flags */ char zeroes[124]; /* must be sent as zero bytes */ -} __attribute__((packed)); +} NBD_ATTRIBUTE_PACKED; /* Request (client -> server). */ struct nbd_reques...
2019 Nov 23
1
[PATCH nbdkit] python: Print readable tracebacks
...test string") RuntimeError: this is the test string --- plugins/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python/python.c b/plugins/python/python.c index 148097f..71fa2e3 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -167,7 +167,7 @@ print_python_traceback (const char *callback, type, error, traceback, NULL); if (rv == NULL) return -1; - traceback_str = PyObject_Str (rv); + traceback_str = PyUnicode_Join (NULL, rv); Py_DECREF (rv); traceback_cstr = python_to_stri...
2011 Nov 08
2
[PATCH] x86/IRQ: create_irq() should call assign_irq_vector()
.../* opt_noirqbalance: If true, software IRQ balancing/affinity is disabled. */ bool_t __read_mostly opt_noirqbalance = 0; @@ -153,7 +152,6 @@ int __init bind_irq_vector(int irq, int */ int create_irq(void) { - unsigned long flags; int irq, ret; struct irq_desc *desc; @@ -169,11 +167,7 @@ int create_irq(void) ret = init_one_irq_desc(desc); if (!ret) - { - spin_lock_irqsave(&vector_lock, flags); - ret = __assign_irq_vector(irq, desc, TARGET_CPUS); - spin_unlock_irqrestore(&vector_lock, flags); - } + ret = assign_irq_vector(ir...
2023 Apr 04
2
[PATCH 4/5] fstests/MAINTAINERS: add some specific reviewers
...orted F: common/verity FSCRYPT +R: Eric Biggers <ebiggers at google.com> L: linux-fscrypt at vger.kernel.org S: Supported F: common/encrypt FS-IDMAPPED +R: Christian Brauner <brauner at kernel.org> L: linux-fsdevel at vger.kernel.org S: Supported F: src/vfs/ @@ -163,6 +167,7 @@ S: Supported F: tests/ocfs2/ OVERLAYFS +R: Amir Goldstein <amir73il at gmail.com> L: linux-unionfs at vger.kernel.org S: Supported F: tests/overlay @@ -174,6 +179,7 @@ S: Supported F: tests/udf/ XFS +R: Darrick J. Wong <djwong at kernel.org> L: linux-xfs at vger.kernel....
2023 Feb 07
1
[PATCH v2] x86/paravirt: merge activate_mm and dup_mmap callbacks
...asm/mmu_context.h @@ -134,7 +134,7 @@ extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next, #define activate_mm(prev, next) \ do { \ - paravirt_activate_mm((prev), (next)); \ + paravirt_enter_mmap(next); \ switch_mm((prev), (next), NULL); \ } while (0); @@ -167,7 +167,7 @@ static inline void arch_dup_pkeys(struct mm_struct *oldmm, static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) { arch_dup_pkeys(oldmm, mm); - paravirt_arch_dup_mmap(oldmm, mm); + paravirt_enter_mmap(mm); return ldt_dup_context(oldmm, mm); } diff --git...
2019 Nov 24
0
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
..., Jakub Kicinski wrote: > On Sun, 24 Nov 2019 16:48:35 -0500, Michael S. Tsirkin wrote: > > diff --git a/arch/m68k/emu/nfeth.c b/arch/m68k/emu/nfeth.c > > index a4ebd2445eda..8e06e7407854 100644 > > --- a/arch/m68k/emu/nfeth.c > > +++ b/arch/m68k/emu/nfeth.c > > @@ -167,7 +167,7 @@ static int nfeth_xmit(struct sk_buff *skb, struct net_device *dev) > > return 0; > > } > > > > -static void nfeth_tx_timeout(struct net_device *dev) > > +static void nfeth_tx_timeout(struct net_device *dev, int txqueue) > > Given the recent vf n...
2019 Nov 24
1
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
On Sun, 24 Nov 2019 16:48:35 -0500, Michael S. Tsirkin wrote: > diff --git a/arch/m68k/emu/nfeth.c b/arch/m68k/emu/nfeth.c > index a4ebd2445eda..8e06e7407854 100644 > --- a/arch/m68k/emu/nfeth.c > +++ b/arch/m68k/emu/nfeth.c > @@ -167,7 +167,7 @@ static int nfeth_xmit(struct sk_buff *skb, struct net_device *dev) > return 0; > } > > -static void nfeth_tx_timeout(struct net_device *dev) > +static void nfeth_tx_timeout(struct net_device *dev, int txqueue) Given the recent vf ndo problems, I wonder if it's w...
2019 Sep 24
0
Re: [PATCH libnbd] lib: Copy nbd-protocol.h from nbdkit 1.15.3.
...LAG_FIXED_NEWSTYLE == LIBNBD_FLAG_FIXED_NEWSTYLE (ie. that our generator produces public constants in <libnbd.h> that match the NBD protocol constants). > /* New-style handshake server reply when using NBD_OPT_EXPORT_NAME. > * Modern clients use NBD_OPT_GO instead of this. > @@ -167,7 +167,7 @@ struct nbd_new_handshake_finish { > uint64_t exportsize; > uint16_t eflags; /* per-export flags */ > char zeroes[124]; /* must be sent as zero bytes */ > -} __attribute__((packed)); > +} NBD_ATTRIBUTE_PACKED; Redundant type. > > -/...
2019 Sep 25
0
Re: [PATCH libnbd] lib: Copy nbd-protocol.h from nbdkit 1.15.3.
...es wrote: > On Tue, Sep 24, 2019 at 05:24:34PM -0500, Eric Blake wrote: > > On 9/24/19 4:07 PM, Richard W.M. Jones wrote: > > > /* New-style handshake server reply when using NBD_OPT_EXPORT_NAME. > > > * Modern clients use NBD_OPT_GO instead of this. > > > @@ -167,7 +167,7 @@ struct nbd_new_handshake_finish { > > > uint64_t exportsize; > > > uint16_t eflags; /* per-export flags */ > > > char zeroes[124]; /* must be sent as zero bytes */ > > > -} __attribute__((packed)); > > > +} NBD_A...
2013 Jun 20
0
[PATCH RFC] vhost-net: make more functions static
...m> --- Will be merged through the vhost tree - no need to apply directly. drivers/vhost/net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 534adb0..4c5de87 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -167,7 +167,7 @@ static void vhost_net_clear_ubuf_info(struct vhost_net *n) } } -int vhost_net_set_ubuf_info(struct vhost_net *n) +static int vhost_net_set_ubuf_info(struct vhost_net *n) { bool zcopy; int i; @@ -188,7 +188,7 @@ err: return -ENOMEM; } -void vhost_net_vq_reset(struct vhost_...
2013 Jun 20
0
[PATCH RFC] vhost-net: make more functions static
...m> --- Will be merged through the vhost tree - no need to apply directly. drivers/vhost/net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 534adb0..4c5de87 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -167,7 +167,7 @@ static void vhost_net_clear_ubuf_info(struct vhost_net *n) } } -int vhost_net_set_ubuf_info(struct vhost_net *n) +static int vhost_net_set_ubuf_info(struct vhost_net *n) { bool zcopy; int i; @@ -188,7 +188,7 @@ err: return -ENOMEM; } -void vhost_net_vq_reset(struct vhost_...
2010 Sep 03
0
Re: many guests on Xen 4 NR_DYNAMIC_IRQS success report...
...n then we applied the following patch to arch/x86/include/asm/irq_vectors.h: --- ./linux-2.6-pvops.git/arch/x86/include/asm/irq_vectors.h.old 2010-08-11 15:40:53.000000000 +0000 +++ ./linux-2.6-pvops.git/arch/x86/include/asm/irq_vectors.h 2010-08-11 15:41:39.000000000 +0000 @@ -167,7 +167,7 @@ # if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_SPARSE_IRQ) extern int nr_dynamic_irqs; # else -# define NR_DYNAMIC_IRQS 256 +# define NR_DYNAMIC_IRQS 2048 # endif #endif and we now can get to 338 guests (wit...
2013 Aug 07
1
[PATCH] drm/nouveau: mark last megabyte as usable
...es */ if (uniform) { offset = rsvd_head; - length = (ram->size >> 12) - rsvd_head - rsvd_tail; + length = (ram->size >> 12) - rsvd_head; ret = nouveau_mm_init(&pfb->vram, offset, length, 1); } else { /* otherwise, address lowest common amount from 0GiB */ @@ -167,7 +166,7 @@ nvc0_ram_create(struct nouveau_object *parent, struct nouveau_object *engine, /* and the rest starting from (8GiB + common_size) */ offset = (0x0200000000ULL >> 12) + (bsize << 8); - length = (ram->size >> 12) - (bsize << 8) - rsvd_tail; + length = (...
2015 Dec 31
4
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...library/tools]make sysdata installing 'sysdata.rda' echo "tools:::sysdata2LazyLoadDB(\"/data/prj/cran/R-3.2.3/src/library/tools/R/sysdata.rda\",\"../../../library/tools/R\")" | \ R_DEFAULT_PACKAGES=NULL LC_ALL=C ../../../bin/R --vanilla --slave @@ -167,7 +167,7 @@ initial: 1/1,0, assert 0 initial: 0/0, assert 0 initial: 0/0, assert 0 - final state 30370718 + final state 110cba530 tre_compile: parsing '(^|[^%])(%%)*%V' AST: catenation, sub 0, 0 tags @@ -177,7 +177,7 @@ assertions: bol union, sub -1,...
2007 Apr 16
0
4 commits - libswfdec/swfdec_shape.c libswfdec/swfdec_stroke.c test/dump.c
...stroke->end_color = stroke->start_color; - SWFDEC_LOG ("new stroke stroke: width %u color %08x", stroke->start_width, stroke->start_color); + SWFDEC_LOG ("new stroke: width %u color %08x", stroke->start_width, stroke->start_color); return stroke; } @@ -167,7 +167,7 @@ swfdec_stroke_parse_rgba (SwfdecSwfDecod stroke->end_width = stroke->start_width; stroke->start_color = swfdec_bits_get_rgba (bits); stroke->end_color = stroke->start_color; - SWFDEC_LOG ("new stroke stroke: width %u color %08x", stroke->start_width...
2016 Jan 01
2
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...a >> installing 'sysdata.rda' >> echo "tools:::sysdata2LazyLoadDB(\"/data/prj/cran/R-3.2.3/src/library/tools/R/sysdata.rda\",\"../../../library/tools/R\")" | \ >> R_DEFAULT_PACKAGES=NULL LC_ALL=C ../../../bin/R --vanilla --slave >> @@ -167,7 +167,7 @@ >> initial: 1/1,0, assert 0 >> initial: 0/0, assert 0 >> initial: 0/0, assert 0 >> - final state 30370718 >> + final state 110cba530 >> tre_compile: parsing '(^|[^%])(%%)*%V' >> AST: >> catenation, sub 0, 0 tags >> @@ -177,7...
2016 Jan 03
4
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...39;sysdata.rda' >>>> echo "tools:::sysdata2LazyLoadDB(\"/data/prj/cran/R-3.2.3/src/library/tools/R/sysdata.rda\",\"../../../library/tools/R\")" | \ >>>> R_DEFAULT_PACKAGES=NULL LC_ALL=C ../../../bin/R --vanilla --slave >>>> @@ -167,7 +167,7 @@ >>>> initial: 1/1,0, assert 0 >>>> initial: 0/0, assert 0 >>>> initial: 0/0, assert 0 >>>> - final state 30370718 >>>> + final state 110cba530 >>>> tre_compile: parsing '(^|[^%])(%%)*%V' >>>> AST...
2014 May 02
5
[PATCH 1/3] build: fix srcdir!=builddir builds
...p $^ | \ + $(OCAMLFIND) ocamldep -I $(abs_srcdir) -I $(builddir) $^ | \ $(SED) 's/ *$$//' | \ $(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \ - $(SED) 's/ :/:/' | \ + $(SED) -e 's,$(abs_srcdir)/,$(builddir)/,g' | \ sort > $@-t mv $@-t $@ @@ -167,7 +167,7 @@ SUFFIXES = .cmo .cmi .cmx .ml .mli .mll .mly if HAVE_PERLDOC -supermin.1: supermin.pod +supermin.1: $(srcdir)/supermin.pod pod2man \ -u \ --section 1 \ @@ -178,12 +178,12 @@ supermin.1: supermin.pod noinst_DATA = \ ../html/supermin.1.html -../html/supermin.1.html: su...
2014 Mar 13
2
[PATCH] nouveau: safen up nouveau_device list usage against concurrent access
...eau.c @@ -85,6 +85,12 @@ nouveau_device_wrap(int fd, int close, struct nouveau_device **pdev) if (!nvdev) return -ENOMEM; + ret = pthread_mutex_init(&nvdev->lock, NULL); + if (ret) { + free(nvdev); + return ret; + } + nvdev->base.fd = fd; ver = drmGetVersion(fd); @@ -161,6 +167,7 @@ nouveau_device_del(struct nouveau_device **pdev) if (nvdev->close) drmClose(nvdev->base.fd); free(nvdev->client); + pthread_mutex_destroy(&nvdev->lock); free(nvdev); *pdev = NULL; } @@ -191,6 +198,8 @@ nouveau_client_new(struct nouveau_device *dev, struct nou...