search for: 1445,7

Displaying 18 results from an estimated 18 matches for "1445,7".

Did you mean: 1425,7
2017 Apr 25
3
[PATCH net-next] virtio-net: on tx, only call napi_disable if tx napi is on
...oid virtnet_napi_tx_enable(struct virtnet_info *vi, return virtnet_napi_enable(vq, napi); } +static void virtnet_napi_tx_disable(struct napi_struct *napi) +{ + if (napi->weight) + napi_disable(napi); +} + static void refill_work(struct work_struct *work) { struct virtnet_info *vi = @@ -1445,7 +1451,7 @@ static int virtnet_close(struct net_device *dev) for (i = 0; i < vi->max_queue_pairs; i++) { napi_disable(&vi->rq[i].napi); - napi_disable(&vi->sq[i].napi); + virtnet_napi_tx_disable(&vi->sq[i].napi); } return 0; @@ -1803,7 +1809,7 @@ static vo...
2017 Apr 25
3
[PATCH net-next] virtio-net: on tx, only call napi_disable if tx napi is on
...oid virtnet_napi_tx_enable(struct virtnet_info *vi, return virtnet_napi_enable(vq, napi); } +static void virtnet_napi_tx_disable(struct napi_struct *napi) +{ + if (napi->weight) + napi_disable(napi); +} + static void refill_work(struct work_struct *work) { struct virtnet_info *vi = @@ -1445,7 +1451,7 @@ static int virtnet_close(struct net_device *dev) for (i = 0; i < vi->max_queue_pairs; i++) { napi_disable(&vi->rq[i].napi); - napi_disable(&vi->sq[i].napi); + virtnet_napi_tx_disable(&vi->sq[i].napi); } return 0; @@ -1803,7 +1809,7 @@ static vo...
2010 Mar 30
0
[PATCH] virtio: console: Disable multiport support
...portdev->config.nr_ports = 1; portdev->config.max_nr_ports = 1; +#if 0 + /* Multiport will be enabled after some design fixes */ if (virtio_has_feature(vdev, VIRTIO_CONSOLE_F_MULTIPORT)) { multiport = true; vdev->features[0] |= 1 << VIRTIO_CONSOLE_F_MULTIPORT; @@ -1443,6 +1445,7 @@ static int __devinit virtcons_probe(struct virtio_device *vdev) /* Let the Host know we support multiple ports.*/ vdev->config->finalize_features(vdev); +#endif err = init_vqs(portdev); if (err < 0) { @@ -1525,7 +1528,6 @@ static struct virtio_device_id id_table[] = { s...
2010 Mar 30
0
[PATCH] virtio: console: Disable multiport support
...portdev->config.nr_ports = 1; portdev->config.max_nr_ports = 1; +#if 0 + /* Multiport will be enabled after some design fixes */ if (virtio_has_feature(vdev, VIRTIO_CONSOLE_F_MULTIPORT)) { multiport = true; vdev->features[0] |= 1 << VIRTIO_CONSOLE_F_MULTIPORT; @@ -1443,6 +1445,7 @@ static int __devinit virtcons_probe(struct virtio_device *vdev) /* Let the Host know we support multiple ports.*/ vdev->config->finalize_features(vdev); +#endif err = init_vqs(portdev); if (err < 0) { @@ -1525,7 +1528,6 @@ static struct virtio_device_id id_table[] = { s...
2011 Apr 20
4
[PATCH 1/5] Btrfs: fix bh leak on __btrfs_open_devices path
''bh'' is forgot to release if no error is detected Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> --- fs/btrfs/volumes.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 8b9fb8c..69fc902 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -631,6 +631,7 @@ static int
2016 Jun 02
0
[RFC v3 44/45] dma-mapping: Remove dma_get_attr
...r(struct device *dev, struct page **pages, int count = size >> PAGE_SHIFT; int i; - if (dma_get_attr(DMA_ATTR_FORCE_CONTIGUOUS, attrs)) { + if (attrs & DMA_ATTR_FORCE_CONTIGUOUS) { dma_release_from_contiguous(dev, pages[0], count); } else { for (i = 0; i < count; i++) @@ -1445,7 +1445,7 @@ static struct page **__iommu_get_pages(void *cpu_addr, unsigned long attrs) if (__in_atomic_pool(cpu_addr, PAGE_SIZE)) return __atomic_get_pages(cpu_addr); - if (dma_get_attr(DMA_ATTR_NO_KERNEL_MAPPING, attrs)) + if (attrs & DMA_ATTR_NO_KERNEL_MAPPING) return cpu_addr;...
2013 Sep 17
1
[PATCH v2] xen: sched_credit: filter node-affinity mask against online cpus
...together. + */ if ( balance_step == CSCHED_BALANCE_NODE_AFFINITY - && !__vcpu_has_node_affinity(vc) ) + && !__vcpu_has_node_affinity(vc, &cpus) ) continue; /* Pick an online CPU from the proper affinity mask */ @@ -1445,7 +1477,7 @@ csched_runq_steal(int peer_cpu, int cpu, int pri, int balance_step) * or counter. */ if ( balance_step == CSCHED_BALANCE_NODE_AFFINITY - && !__vcpu_has_node_affinity(vc) ) + && !__vcpu_has_node_aff...
2015 Feb 06
0
Re: Patchable build problems on OS X 10.10
...ruby/Makefile.in > @@ -1428,6 +1428,7 @@ generator_built = \ > ext/guestfs/_guestfs.c \ > bindtests.rb > > +DLEXT := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['DLEXT']") > EXTRA_DIST = \ > $(generator_built) \ > Rakefile.in \ > @@ -1445,7 +1446,7 @@ CLEANFILES = \ > ext/guestfs/*~ \ > ext/guestfs/extconf.h \ > ext/guestfs/_guestfs.o \ > - ext/guestfs/_guestfs.so \ > + ext/guestfs/_guestfs.$(DLEXT) \ > ext/guestfs/mkmf.log \ > ext/guestfs/Makefile > > @@ -1788,7 +1789,7 @@ $(top_builddir)/gene...
2006 Jan 09
0
[PATCH 01/11] ocfs2: event-driven quorum
...d(void * spin_unlock(&nn->nn_lock); } -static void o2net_still_up(void *arg) -{ - struct o2net_node *nn = arg; - - o2quo_hb_still_up(o2net_num_from_nn(nn)); -} - /* ------------------------------------------------------------ */ void o2net_disconnect_node(struct o2nm_node *node) @@ -1445,7 +1441,6 @@ void o2net_disconnect_node(struct o2nm_n if (o2net_wq) { cancel_delayed_work(&nn->nn_connect_expired); cancel_delayed_work(&nn->nn_connect_work); - cancel_delayed_work(&nn->nn_still_up); flush_workqueue(o2net_wq); } } @@ -1453,8 +1448,6 @@ void o2net...
2015 Feb 05
4
Patchable build problems on OS X 10.10
Hello, I'm attempting to create a Homebrew formula to get libguestfs to compile on Mac OS X. I've managed to achieve success with several monkey patches, but since Homebrew's policy is to contact maintainers about proper fixes in upstream, I would like to ask if there are any plans to fix these issues. I'm afraid I don't know C well enough to propose decent solutions myself.
2007 Dec 10
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_color_as.c libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_as_drawing.c
...text), &rect); + + for (walk = movie->list; walk; walk = walk->next) { + swfdec_movie_invalidate (walk->data, matrix, last); + } +} + +static void swfdec_movie_class_init (SwfdecMovieClass * movie_class) { GObjectClass *object_class = G_OBJECT_CLASS (movie_class); @@ -1374,6 +1445,7 @@ swfdec_movie_class_init (SwfdecMovieClass * movie_class) G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); movie_class->render = swfdec_movie_do_render; + movie_class->invalidate = swfdec_movie_do_invalidate; movie_class->contains = swfdec_movie_do_cont...
2012 Dec 10
26
[PATCH 00/11] Add virtual EPT support Xen.
From: Zhang Xiantao <xiantao.zhang@intel.com> With virtual EPT support, L1 hyerpvisor can use EPT hardware for L2 guest''s memory virtualization. In this way, L2 guest''s performance can be improved sharply. According to our testing, some benchmarks can show > 5x performance gain. Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Zhang Xiantao (11):
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...t;rbd> protocol only, this specifies the 'secret' to use when +For the C<rbd> protocol only, this specifies the ‘secret’ to use when connecting to the remote device. It must be base64 encoded. If not given, then a secret matching the given username will be looked up in the @@ -1445,7 +1445,7 @@ See L<guestfs(3)/LIBVIRT AUTHENTICATION> for documentation and example code." }; longdesc = "\ Parse the program’s environment and set flags in the handle accordingly. For example if C<LIBGUESTFS_DEBUG=1> then the -'verbose' flag is set in the hand...
2015 Jun 14
2
[PATCH] pod: Use F<> for filenames instead of C<>.
...rst is stored on the RHEV-M server itself, and is called -C</var/log/ovirt-engine/engine.log> +F</var/log/ovirt-engine/engine.log> The second file, which is the most useful, is found on the SPM host (SPM stands for "Storage Pool Manager"). This is a RHEV node that is @@ -1445,7 +1445,7 @@ elected to do all metadata modifications in the data center, such as image or snapshot creation. You can find out which host is the current SPM from the "Hosts" tab "Spm Status" column. Once you have located the SPM, log into it and grab the file -C</var/log...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
...: %s", err); @@ -1366,7 +1362,7 @@ do_btrfs_qgroup_show (const char *path) return NULL; } - ADD_ARG (argv, i, str_btrfs); + ADD_ARG (argv, i, "btrfs"); ADD_ARG (argv, i, "qgroup"); ADD_ARG (argv, i, "show"); if (has_raw_opt > 0) @@ -1449,7 +1445,7 @@ do_btrfs_qgroup_assign (const char *src, const char *dst, const char *path) return -1; } - ADD_ARG (argv, i, str_btrfs); + ADD_ARG (argv, i, "btrfs"); ADD_ARG (argv, i, "qgroup"); ADD_ARG (argv, i, "assign"); ADD_ARG (argv, i, src); @@ -1482,7...
2016 Jun 02
52
[RFC v3 00/45] dma-mapping: Use unsigned long for dma_attrs
Hi, This is third approach (complete this time) for replacing struct dma_attrs with unsigned long. The main patch (2/45) doing the change is split into many subpatches for easier review (3-43). They should be squashed together when applying. *Important:* Patchset is *only* build tested on allyesconfigs: ARM, ARM64, i386, x86_64 and powerpc. Please provide reviewes and tests for other
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option ‘./guestfsd --print-external-commands’
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
...10 in >> +let mayStore = 1, AddedComplexity = 10, >> + isPredicated = 1 in >> def STrih_indexed_shl_cdnNotPt_V4 : STInst<(outs), >> (ins PredRegs:$src1, IntRegs:$src2, IntRegs:$src3, u2Imm:$src4, >> IntRegs:$src5), >> @@ -1445,7 +2299,8 @@ def STrih_indexed_shl_cdnNotPt_V4 : STInst<(outs), >> // if ([!]Pv[.new]) memh(Rx++#s4:1)=Rt >> // if (Pv) memh(Rx++#s4:1)=Rt >> // if (Pv.new) memh(Rx++#s4:1)=Rt >> -let mayStore = 1, hasCtrlDep = 1 in >> +let mayStore = 1, hasCtrlDep = 1, >&g...