search for: 26,14

Displaying 20 results from an estimated 81 matches for "26,14".

Did you mean: 23,14
2006 Dec 16
1
max.col oddity
...rty very clear in the docs, since it can cause subtle bugs (and did for me). Personally, I think the behavior is much nicer with the following patch: --- rplain/R-2.4.0/src/appl/maxcol.c 2006-04-09 18:19:58.000000000 -0400 +++ R-2.4.0/src/appl/maxcol.c 2006-12-14 15:30:56.000000000 -0500 @@ -26,13 +26,14 @@ do_rand = *ties_meth == 1; for (r = 0; r < n_r; r++) { - /* first check row for any NAs and find the largest abs(entry) */ + /* first check row for any NAs and find the largest entry */ large = 0.0; isna = FALSE; for (c = 0; c < *nc; c...
2020 Jan 07
0
[RFT 01/13] iomap: Constify ioreadX() iomem argument (as in generic implementation)
...lib/iomap.c | 18 +++++++++--------- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/include/asm-generic/iomap.h b/include/asm-generic/iomap.h index 9d28a5e82f73..986e894bef49 100644 --- a/include/asm-generic/iomap.h +++ b/include/asm-generic/iomap.h @@ -26,14 +26,14 @@ * in the low address range. Architectures for which this is not * true can't use this generic implementation. */ -extern unsigned int ioread8(void __iomem *); -extern unsigned int ioread16(void __iomem *); -extern unsigned int ioread16be(void __iomem *); -extern unsigned int...
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
...); - while (waitpid(pid, NULL, 0) != pid) ; + while (waitpid(pid, NULL, 0) != pid) + ; dprintf("kinit: linuxrc done\n"); } else { return -errno; diff --git a/usr/kinit/kinit.c b/usr/kinit/kinit.c index 4a1f40b..a60c3be 100644 --- a/usr/kinit/kinit.c +++ b/usr/kinit/kinit.c @@ -26,14 +26,12 @@ void dump_args(int argc, char *argv[]) printf(" argc == %d\n", argc); - for (i = 0; i < argc; i++) { + for (i = 0; i < argc; i++) printf(" argv[%d]: \"%s\"\n", i, argv[i]); - } - if (argv[argc] != NULL) { + if (argv[argc] != NULL) pri...
2017 Dec 01
2
[Release-testers] 5.0.1-rc2 has been tagged
...llowing patches: * Patches to LLD: commit a206ef34bbbc46017e471063a4a1832c1ddafb0a Author: Andrew Kelley <superjoe30 at gmail.com> Date: Fri Dec 1 12:11:55 2017 -0500 LLD patch: Fix the ASM code generated for __stub_helpers section This applies 93ca847862af07632197dcf2d8a68b9b27a26d7a from the llvm-project git monorepo to the embedded LLD. commit ddca67a2b94f68985789fc8254fd1326e26269f6 Author: Andrew Kelley <superjoe30 at gmail.com> Date: Fri Dec 1 12:09:55 2017 -0500 LLD patch: workaround for buggy MACH-O code This reapplies 1a1414fc42c7beb25b6de4134d...
2016 Jan 06
0
[klibc:master] MIPS: Update archfcntl.h
...a/usr/include/arch/mips/klibc/archfcntl.h +++ b/usr/include/arch/mips/klibc/archfcntl.h @@ -19,7 +19,6 @@ #define O_WRONLY 0x0001 #define O_RDWR 0x0002 #define O_APPEND 0x0008 -#define O_SYNC 0x0010 #define O_NONBLOCK 0x0080 #define O_CREAT 0x0100 #define O_TRUNC 0x0200 @@ -27,11 +26,14 @@ #define O_NOCTTY 0x0800 #define FASYNC 0x1000 #define O_LARGEFILE 0x2000 +#define O_SYNC 0x4010 #define O_DIRECT 0x8000 #define O_DIRECTORY 0x10000 #define O_NOFOLLOW 0x20000 #define O_NOATIME 0x40000 #define O_CLOEXEC 0x80000 +#define O_PATH 0x200000 +#define O_TMPFILE 0x410000...
2006 Aug 10
0
[RFC][PATCH][TOOLS] CONFIG to build and link to local libaio
...-strict-aliasing -CFLAGS += -I $(XEN_LIBXC) -I $(LIBAIO_DIR) +CFLAGS += -I $(XEN_LIBXC) +CFLAGS += $(LIBAIO_INCLUDE_DIR-$(LOCAL_LIBAIO)) CFLAGS += $(INCLUDES) -I. -I../../xenstore CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE CFLAGS += -D_GNU_SOURCE @@ -26,14 +30,15 @@ DEPS = .*.d DEPS = .*.d THREADLIB := -lpthread -lz -LIBS := -L. -L.. -L../lib +LIBS := $(LIBAIO_INCLUDE_DIR-$(LOCAL_LIBAIO)) +LIBS += -L. -L.. -L../lib LIBS += -L$(XEN_LIBXC) LIBS += -lblktap LIBS += -lcrypto LIBS += -lz LIBS +=...
2006 Dec 14
0
max.col: bug or just oddity?
...rty very clear in the docs, since it can cause subtle bugs (and did for me). Personally, I think the behavior is much nicer with the following patch: --- rplain/R-2.4.0/src/appl/maxcol.c 2006-04-09 18:19:58.000000000 -0400 +++ R-2.4.0/src/appl/maxcol.c 2006-12-14 15:30:56.000000000 -0500 @@ -26,13 +26,14 @@ do_rand = *ties_meth == 1; for (r = 0; r < n_r; r++) { - /* first check row for any NAs and find the largest abs(entry) */ + /* first check row for any NAs and find the largest entry */ large = 0.0; isna = FALSE; for (c = 0; c < *...
2016 Nov 02
0
[PATCH v7 06/11] x86, paravirt: Add interface to support kvm/xen vcpu preempted check
...+310,8 @@ struct pv_lock_ops { void (*wait)(u8 *ptr, u8 val); void (*kick)(int cpu); + + bool (*vcpu_is_preempted)(int cpu); }; /* This contains all the paravirt structures: we get a convenient diff --git a/arch/x86/include/asm/spinlock.h b/arch/x86/include/asm/spinlock.h index 921bea7..0526f59 100644 --- a/arch/x86/include/asm/spinlock.h +++ b/arch/x86/include/asm/spinlock.h @@ -26,6 +26,14 @@ extern struct static_key paravirt_ticketlocks_enabled; static __always_inline bool static_key_false(struct static_key *key); +#ifdef CONFIG_PARAVIRT_SPINLOCKS +#define vcpu_is_preempted vcpu...
2016 Nov 15
2
[PATCH v7 06/11] x86, paravirt: Add interface to support kvm/xen vcpu preempted check
...(lock); } + +#define vcpu_is_preempted vcpu_is_preempted +static inline bool vcpu_is_preempted(int cpu) +{ + return pv_vcpu_is_preempted(cpu); +} #else static inline void queued_spin_unlock(struct qspinlock *lock) { --- a/arch/x86/include/asm/spinlock.h +++ b/arch/x86/include/asm/spinlock.h @@ -26,14 +26,6 @@ extern struct static_key paravirt_ticketlocks_enabled; static __always_inline bool static_key_false(struct static_key *key); -#ifdef CONFIG_PARAVIRT_SPINLOCKS -#define vcpu_is_preempted vcpu_is_preempted -static inline bool vcpu_is_preempted(int cpu) -{ - return pv_lock_ops.vcpu_is_...
2016 Nov 15
2
[PATCH v7 06/11] x86, paravirt: Add interface to support kvm/xen vcpu preempted check
...(lock); } + +#define vcpu_is_preempted vcpu_is_preempted +static inline bool vcpu_is_preempted(int cpu) +{ + return pv_vcpu_is_preempted(cpu); +} #else static inline void queued_spin_unlock(struct qspinlock *lock) { --- a/arch/x86/include/asm/spinlock.h +++ b/arch/x86/include/asm/spinlock.h @@ -26,14 +26,6 @@ extern struct static_key paravirt_ticketlocks_enabled; static __always_inline bool static_key_false(struct static_key *key); -#ifdef CONFIG_PARAVIRT_SPINLOCKS -#define vcpu_is_preempted vcpu_is_preempted -static inline bool vcpu_is_preempted(int cpu) -{ - return pv_lock_ops.vcpu_is_...
2016 Feb 03
0
[PATCH 2/3] daemon: glob: add option for not returning dirs with trailing slash
...lob.c | 8 ++++++-- generator/actions.ml | 17 ++++++++++++----- gobject/Makefile.inc | 2 ++ po/POTFILES | 1 + 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/daemon/glob.c b/daemon/glob.c index 45fb30f..de615ee 100644 --- a/daemon/glob.c +++ b/daemon/glob.c @@ -26,14 +26,18 @@ #include "actions.h" char ** -do_glob_expand (const char *pattern) +do_glob_expand (const char *pattern, int nodirectoryslash) { int r; glob_t buf = { .gl_pathc = 0, .gl_pathv = NULL, .gl_offs = 0 }; + int flags = GLOB_BRACE; + + if (!nodirectoryslash) + flags...
2023 Feb 22
0
[PATCH v2 07/13] vdpa: add vdpa net migration state notifier
...h case. > --- > net/vhost-vdpa.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 76 insertions(+) > > diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c > index dd686b4514..bca13f97fd 100644 > --- a/net/vhost-vdpa.c > +++ b/net/vhost-vdpa.c > @@ -26,12 +26,14 @@ > #include <err.h> > #include "standard-headers/linux/virtio_net.h" > #include "monitor/monitor.h" > +#include "migration/misc.h" > #include "hw/virtio/vhost.h" > > /* Todo:need to add the multiqueue suppor...
2012 May 04
2
[PATCH] run-init: add drop_capabilities support
...= ../lib.a +shared/run-init-y := $(objs) +shared/run-init-lib := ../lib.a # Cleaning clean-dirs := static shared diff --git a/usr/kinit/run-init/run-init.c b/usr/kinit/run-init/run-init.c index 0f150dd..2147d06 100644 --- a/usr/kinit/run-init/run-init.c +++ b/usr/kinit/run-init/run-init.c @@ -26,13 +26,14 @@ * ----------------------------------------------------------------------- */ /* - * Usage: exec run-init [-c /dev/console] /real-root /sbin/init "$@" + * Usage: exec run-init [-d caps] [-c /dev/console] /real-root /sbin/init "$@" * * This program should be...
2016 May 15
0
[PATCH] tools/virtio: add inorder option
...deletions(-) create mode 100644 tools/virtio/ringtest/virtio_ring_inorder.c diff --git a/tools/virtio/ringtest/virtio_ring_0_9.c b/tools/virtio/ringtest/virtio_ring_0_9.c index 47c9a1a..7618662 100644 --- a/tools/virtio/ringtest/virtio_ring_0_9.c +++ b/tools/virtio/ringtest/virtio_ring_0_9.c @@ -26,6 +26,14 @@ struct vring ring; * high bits of ring id ^ 0x8000). */ /* #ifdef RING_POLL */ +/* enabling the below activates experimental in-order code + * (which skips ring updates and reads and writes len in descriptor). + */ +/* #ifdef INORDER */ + +#if defined(RING_POLL) && defined(...
2016 May 15
0
[PATCH] tools/virtio: add inorder option
...deletions(-) create mode 100644 tools/virtio/ringtest/virtio_ring_inorder.c diff --git a/tools/virtio/ringtest/virtio_ring_0_9.c b/tools/virtio/ringtest/virtio_ring_0_9.c index 47c9a1a..7618662 100644 --- a/tools/virtio/ringtest/virtio_ring_0_9.c +++ b/tools/virtio/ringtest/virtio_ring_0_9.c @@ -26,6 +26,14 @@ struct vring ring; * high bits of ring id ^ 0x8000). */ /* #ifdef RING_POLL */ +/* enabling the below activates experimental in-order code + * (which skips ring updates and reads and writes len in descriptor). + */ +/* #ifdef INORDER */ + +#if defined(RING_POLL) && defined(...
2016 Oct 19
0
[PATCH v4 5/5] x86, kvm: support vcpu preempted check
...07.3 KBps | 790418.9 KBps File Copy 256 bufsize 500 maxblocks | 367555.6 KBps | 222867.7 KBps File Copy 4096 bufsize 8000 maxblocks | 3675649.7 KBps | 1780614.4 KBps Pipe Throughput | 11872208.7 lps | 11855628.9 lps Pipe-based Context Switching | 1495126.5 lps | 1490533.9 lps Process Creation | 29881.2 lps | 28572.8 lps Shell Scripts (1 concurrent) | 23224.3 lpm | 22607.4 lpm Shell Scripts (8 concurrent) | 3531.4 lpm | 3211.9 lpm System Call Overhead | 10385653...
2016 Nov 16
0
[PATCH v7 06/11] x86, paravirt: Add interface to support kvm/xen vcpu preempted check
...eempted > +static inline bool vcpu_is_preempted(int cpu) > +{ > + return pv_vcpu_is_preempted(cpu); > +} > #else > static inline void queued_spin_unlock(struct qspinlock *lock) > { > --- a/arch/x86/include/asm/spinlock.h > +++ b/arch/x86/include/asm/spinlock.h > @@ -26,14 +26,6 @@ > extern struct static_key paravirt_ticketlocks_enabled; > static __always_inline bool static_key_false(struct static_key *key); > > -#ifdef CONFIG_PARAVIRT_SPINLOCKS > -#define vcpu_is_preempted vcpu_is_preempted > -static inline bool vcpu_is_preempted(int cpu) >...
2015 Mar 09
5
Notes on building a gcc toolchain for Rtools (but not multilib)
...r - EPIC FAIL 7z x '-oC:\Temp\gcc' mpc-1.0.2.tar > NUL || fail_with mpc-1.0.2.tar - EPIC FAIL +7z x '-oC:\Temp\gcc' pthreads-w32-2-9-1-release.tar > NUL || fail_with pthreads-w32-2-9-1-release.tar - EPIC FAIL patch -Z -d /c/temp/gcc/mpfr-3.1.2 -p1 < mpfr.patch @@ -25,6 +26,14 @@ make all install "CFLAGS=-s -O3" || fail_with mingw-w64 make - EPIC FAIL cd /c/temp/gcc rm -rf build src +# Build pthreads-w32. +cd pthreads-w32-2-9-1-release +make clean GC + +cp libpthreadGC2.a ../dest/x86_64-w64-mingw32/lib/libpthread.a +cp pthread.h sched.h semaphore.h ../des...
2016 Feb 04
2
[PATCH v2 1/2] daemon: glob: add optarg to control trailing slash for dirs
...| 11 +++++++++-- generator/actions.ml | 21 ++++++++++++++++----- gobject/Makefile.inc | 2 ++ po/POTFILES | 1 + 4 files changed, 28 insertions(+), 7 deletions(-) diff --git a/daemon/glob.c b/daemon/glob.c index 45fb30f..a22fd33 100644 --- a/daemon/glob.c +++ b/daemon/glob.c @@ -26,14 +26,21 @@ #include "actions.h" char ** -do_glob_expand (const char *pattern) +do_glob_expand (const char *pattern, int directoryslash) { int r; glob_t buf = { .gl_pathc = 0, .gl_pathv = NULL, .gl_offs = 0 }; + int flags = GLOB_BRACE | GLOB_MARK; + + /* GLOB_MARK is default...
2015 Mar 13
0
[PATCH] sd, mmc, virtio_blk, string_helpers: fix block size units
...*N^(ES+EB+1) > > Signed-off-by: James Bottomley <JBottomley at Parallels.com> For the mmc parts; Acked-by: Ulf Hansson <ulf.hansson at linaro.org> Kind regards Uffe > > --- > > diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c > index cdfbd21..26d2440 100644 > --- a/drivers/block/virtio_blk.c > +++ b/drivers/block/virtio_blk.c > @@ -344,7 +344,7 @@ static void virtblk_config_changed_work(struct work_struct *work) > struct request_queue *q = vblk->disk->queue; > char cap_str_2[10], cap_str_10[10]; >...