search for: 30,11

Displaying 20 results from an estimated 103 matches for "30,11".

Did you mean: 10,11
2018 Feb 07
2
[PATCH v27 3/4] mm/page_poison: expose page_poisoning_enabled to kernel modules
On Wed, Feb 07, 2018 at 02:54:30PM +0800, Wei Wang wrote: > In some usages, e.g. virtio-balloon, a kernel module needs to know if > page poisoning is in use. This patch exposes the page_poisoning_enabled > function to kernel modules. > > Signed-off-by: Wei Wang <wei.w.wang at intel.com> > Cc: Andrew Morton...
2018 Feb 07
2
[PATCH v27 3/4] mm/page_poison: expose page_poisoning_enabled to kernel modules
On Wed, Feb 07, 2018 at 02:54:30PM +0800, Wei Wang wrote: > In some usages, e.g. virtio-balloon, a kernel module needs to know if > page poisoning is in use. This patch exposes the page_poisoning_enabled > function to kernel modules. > > Signed-off-by: Wei Wang <wei.w.wang at intel.com> > Cc: Andrew Morton...
2016 Aug 02
0
[PATCH 0753/1285] Replace numeric parameter like 0444 with macro
...off-by: Baole Ni <baolex.ni at intel.com> --- drivers/net/virtio_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index e0638e5..39815e4 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -30,11 +30,11 @@ #include <net/busy_poll.h> static int napi_weight = NAPI_POLL_WEIGHT; -module_param(napi_weight, int, 0444); +module_param(napi_weight, int, S_IRUSR | S_IRGRP | S_IROTH); static bool csum = true, gso = true; -module_param(csum, bool, 0444); -module_param(gso, bool, 0444);...
2015 Nov 04
1
[PATCH] sparsify: in-place: Refuse to run on overlay files (RHBZ#1277705).
...sparsification for this file (see the virt-sparsify(1) manual). Thanks: Yaniv Kaul --- sparsify/in_place.ml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sparsify/in_place.ml b/sparsify/in_place.ml index 3a2b32c..669c639 100644 --- a/sparsify/in_place.ml +++ b/sparsify/in_place.ml @@ -30,6 +30,11 @@ open Cmdline module G = Guestfs let rec run disk format ignores machine_readable zeroes = + (* If the disk has a backing file, refuse to run (RHBZ#1277705). *) + if (new G.guestfs ())#disk_has_backing_file disk then + error (f_"disk image '%s' appears to have a bac...
2016 Aug 02
0
[PATCH 0753/1285] Replace numeric parameter like 0444 with macro
...off-by: Baole Ni <baolex.ni at intel.com> --- drivers/net/virtio_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index e0638e5..39815e4 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -30,11 +30,11 @@ #include <net/busy_poll.h> static int napi_weight = NAPI_POLL_WEIGHT; -module_param(napi_weight, int, 0444); +module_param(napi_weight, int, S_IRUSR | S_IRGRP | S_IROTH); static bool csum = true, gso = true; -module_param(csum, bool, 0444); -module_param(gso, bool, 0444);...
2011 Sep 15
1
Lattice xyplot log scale labels help!
...es without exponents in the labels. A similar thread with Deepayan' recommendation is here: http://tolstoy.newcastle.edu.au/R/e11/help/10/09/9865.html. For example, this code using xyplot produces a logged y-axis but the labels (e.g. "10^1.2") are not very user-friendly: xyplot(24:300~24:300, scales=list(y=list(log=T))) So, trying another y.scale.component function, we get something more agreeable for y-axis scale labels: xyplot(24:300~24:300, scales=list(y=list(log=T)), yscale.components = yscale.components.log10.3) However, my problem is that occasionally I'll have to...
2017 Oct 27
1
[PATCH v6] x86: use lock+addl for smp_mb()
...ock; addl $0,0(%%esp)", "sfence", \ +#define wmb() asm volatile(ALTERNATIVE("lock; addl $0,-4(%%esp)", "sfence", \ X86_FEATURE_XMM2) ::: "memory", "cc") #else #define mb() asm volatile("mfence":::"memory") @@ -30,7 +30,11 @@ #endif #define dma_wmb() barrier() -#define __smp_mb() mb() +#ifdef CONFIG_X86_32 +#define __smp_mb() asm volatile("lock; addl $0,-4(%%esp)" ::: "memory", "cc") +#else +#define __smp_mb() asm volatile("lock; addl $0,-4(%%rsp)" ::: "memory...
2017 Oct 27
1
[PATCH v6] x86: use lock+addl for smp_mb()
...ock; addl $0,0(%%esp)", "sfence", \ +#define wmb() asm volatile(ALTERNATIVE("lock; addl $0,-4(%%esp)", "sfence", \ X86_FEATURE_XMM2) ::: "memory", "cc") #else #define mb() asm volatile("mfence":::"memory") @@ -30,7 +30,11 @@ #endif #define dma_wmb() barrier() -#define __smp_mb() mb() +#ifdef CONFIG_X86_32 +#define __smp_mb() asm volatile("lock; addl $0,-4(%%esp)" ::: "memory", "cc") +#else +#define __smp_mb() asm volatile("lock; addl $0,-4(%%rsp)" ::: "memory...
2020 Nov 06
2
[PATCH 2/3] drm/nouveau: manage nouveau_drm lifetime with devres
...les changed, 26 insertions(+), 28 deletions(-) > > diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c > index bc6f51bf23b7..f750c25e92f9 100644 > --- a/drivers/gpu/drm/nouveau/nouveau_drm.c > +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c > @@ -30,9 +30,11 @@ > #include <linux/vga_switcheroo.h> > #include <linux/mmu_notifier.h> > > +#include <drm/drm_drv.h> > #include <drm/drm_crtc_helper.h> > #include <drm/drm_ioctl.h> > #include <drm/drm_vblank.h> > +#include <drm/drm_mana...
2002 Mar 12
2
sys/queue.h
...tmp.h utmpx.h) Index: sftp-client.c =================================================================== RCS file: /var/cvs/openssh/sftp-client.c,v retrieving revision 1.24 diff -u -r1.24 sftp-client.c --- sftp-client.c 26 Feb 2002 18:02:44 -0000 1.24 +++ sftp-client.c 12 Mar 2002 02:12:01 -0000 @@ -30,11 +30,7 @@ #include "includes.h" RCSID("$OpenBSD: sftp-client.c,v 1.24 2002/02/24 16:57:19 markus Exp $"); -#if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H) -#include <sys/queue.h> -#else #include "openbsd-compat/fake-queue.h" -#endi...
2011 Jul 29
3
[PATCH 1/3] klibc: Add scandir() and alphasort() support.
...r.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletions(-) create mode 100644 usr/klibc/scandir.c diff --git a/usr/include/dirent.h b/usr/include/dirent.h index e324474..3b1ff59 100644 --- a/usr/include/dirent.h +++ b/usr/include/dirent.h @@ -30,4 +30,11 @@ static __inline__ int dirfd(DIR * __d) return __d->__fd; } +__extern int scandir(const char *dirp, struct dirent ***namelist, + int (*filter)(const struct dirent *), + int (*compar)(const struct dirent **, + const struct dirent **)); + +int alphasort(const stru...
2014 Apr 03
5
[PATCH 0/3] builder: Add test of virt-index-validate.
Somewhat ineffective test of virt-index-validate.
2018 Dec 31
2
--partial does not "unhide" the files
Kevin Korb via rsync <rsync at lists.samba.org> (So 30 Dez 2018 23:56:44 CET): > I think --partial might be a red herring here. It only applies to what > happens when rsync is aborted in the middle of a file. What happens > without -P? Same happens w/o --partial. I append 2 logs: - a from localhost to remote server, exposing the missing &qu...
2018 Dec 14
1
[PATCH] drm/nouveau/falcon: avoid touching registers if engine is off
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108980 Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- drivers/gpu/drm/nouveau/nvkm/engine/falcon.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/falcon.c b/drivers/gpu/drm/nouveau/nvkm/engine/falcon.c index 816ccaedfc73..8675613e142b 100644 ---
2018 Feb 07
0
[PATCH v27 3/4] mm/page_poison: expose page_poisoning_enabled to kernel modules
....org> Cc: Michal Hocko <mhocko at kernel.org> Cc: Michael S. Tsirkin <mst at redhat.com> --- mm/page_poison.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mm/page_poison.c b/mm/page_poison.c index e83fd44..c08d02a 100644 --- a/mm/page_poison.c +++ b/mm/page_poison.c @@ -30,6 +30,11 @@ bool page_poisoning_enabled(void) debug_pagealloc_enabled())); } +/** + * page_poisoning_enabled - check if page poisoning is enabled + * + * Return true if page poisoning is enabled, or false if not. + */ static void poison_page(struct page *page) { void *addr = kmap_atomic(p...
2018 Feb 08
0
[PATCH v27 3/4] mm/page_poison: expose page_poisoning_enabled to kernel modules
On 02/08/2018 02:34 AM, Michael S. Tsirkin wrote: > On Wed, Feb 07, 2018 at 02:54:30PM +0800, Wei Wang wrote: >> In some usages, e.g. virtio-balloon, a kernel module needs to know if >> page poisoning is in use. This patch exposes the page_poisoning_enabled >> function to kernel modules. >> >> Signed-off-by: Wei Wang <wei.w.wang at intel.com> &gt...
2006 Jul 28
1
Re: [Xen-changelog] [xen-unstable] [IA64] Creates tools/libxc/ia64 directory.
On Fri, 2006-07-28 at 16:20 +0000, Xen patchbot-unstable wrote: > diff -r dc26ac2f7718 -r dab0a5650e6d tools/libxc/Makefile > --- a/tools/libxc/Makefile Mon Jul 10 14:14:11 2006 -0600 > +++ b/tools/libxc/Makefile Tue Jul 11 11:29:25 2006 -0600 > @@ -30,9 +30,11 @@ GUEST_SRCS-y += xc_load_bin.c > GUEST_SRCS-y += xc_load_bin.c > GUEST_SRCS-y += xc_load_elf.c > GUEST_SRCS-y += xg_private.c > -GUEST_SRCS-$(CONFIG_IA64) += xc_ia64_stubs.c > GUEST_SRCS-$(CONFIG_MIGRATE) += xc_linux_restore.c xc_linux_save.c > GUEST_SRCS-$(CONFIG_...
2024 Sep 13
1
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
...+++++++++++++++- 1 file changed, 137 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndw.c b/drivers/gpu/drm/nouveau/dispnv50/wndw.c index 7a2cceaee6e9..419c5f359711 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/wndw.c +++ b/drivers/gpu/drm/nouveau/dispnv50/wndw.c @@ -30,11 +30,16 @@ #include <nvhw/class/cl507e.h> #include <nvhw/class/clc37e.h> +#include <linux/iosys-map.h> + #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_blend.h> -#include <drm/drm_gem_atomic_helper.h> #include &lt...
2024 Oct 18
2
[PATCH v3 2/2] drm/nouveau: Add drm_panic support for nv50+
...ed, 137 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndw.c b/drivers/gpu/drm/nouveau/dispnv50/wndw.c > index 7a2cceaee6e9..419c5f359711 100644 > --- a/drivers/gpu/drm/nouveau/dispnv50/wndw.c > +++ b/drivers/gpu/drm/nouveau/dispnv50/wndw.c > @@ -30,11 +30,16 @@ > #include <nvhw/class/cl507e.h> > #include <nvhw/class/clc37e.h> > > +#include <linux/iosys-map.h> > + > #include <drm/drm_atomic.h> > #include <drm/drm_atomic_helper.h> > #include <drm/drm_blend.h> > -#include <...
2018 Dec 31
0
--partial does not "unhide" the files
I can't say I have any idea why rsync would just skip that step and I can't duplicate it myself. Your only recourse might be to use --inplace on that system. On 12/31/18 12:33 PM, Heiko Schlittermann via rsync wrote: > Kevin Korb via rsync <rsync at lists.samba.org> (So 30 Dez 2018 23:56:44 CET): >> I think --partial might be a red herring here. It only applies to what >> happens when rsync is aborted in the middle of a file. What happens >> without -P? > > Same happens w/o --partial. I append 2 logs: > - a from localhost to remote serve...