Displaying 20 results from an estimated 332 matches for "111,7".
Did you mean:
11,7
2018 Jan 25
2
[PATCH net-next 12/12] tools/virtio: fix smp_mb on x86
...Tsirkin <mst at redhat.com>
---
tools/virtio/ringtest/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virtio/ringtest/main.h b/tools/virtio/ringtest/main.h
index 593a328..301d59b 100644
--- a/tools/virtio/ringtest/main.h
+++ b/tools/virtio/ringtest/main.h
@@ -111,7 +111,7 @@ static inline void busy_wait(void)
}
#if defined(__x86_64__) || defined(__i386__)
-#define smp_mb() asm volatile("lock; addl $0,-128(%%rsp)" ::: "memory", "cc")
+#define smp_mb() asm volatile("lock; addl $0,-132(%%rsp)" ::: "memo...
2018 Jan 25
2
[PATCH net-next 12/12] tools/virtio: fix smp_mb on x86
...Tsirkin <mst at redhat.com>
---
tools/virtio/ringtest/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virtio/ringtest/main.h b/tools/virtio/ringtest/main.h
index 593a328..301d59b 100644
--- a/tools/virtio/ringtest/main.h
+++ b/tools/virtio/ringtest/main.h
@@ -111,7 +111,7 @@ static inline void busy_wait(void)
}
#if defined(__x86_64__) || defined(__i386__)
-#define smp_mb() asm volatile("lock; addl $0,-128(%%rsp)" ::: "memory", "cc")
+#define smp_mb() asm volatile("lock; addl $0,-132(%%rsp)" ::: "memo...
2024 Aug 13
1
[PATCH] Reorder calloc arguments
...-0000 1.19
+++ sshbuf.c 13 Aug 2024 16:46:00 -0000
@@ -91,7 +91,7 @@ sshbuf_new(void)
{
struct sshbuf *ret;
- if ((ret = calloc(sizeof(*ret), 1)) == NULL)
+ if ((ret = calloc(1, sizeof(*ret))) == NULL)
return NULL;
ret->alloc = SSHBUF_SIZE_INIT;
ret->max_size = SSHBUF_SIZE_MAX;
@@ -111,7 +111,7 @@ sshbuf_from(const void *blob, size_t len
struct sshbuf *ret;
if (blob == NULL || len > SSHBUF_SIZE_MAX ||
- (ret = calloc(sizeof(*ret), 1)) == NULL)
+ (ret = calloc(1, sizeof(*ret))) == NULL)
return NULL;
ret->alloc = ret->size = ret->max_size = len;
ret-...
2001 Feb 10
2
SNAP 20010209 fails to compile sftp on Slackware
...gs: -I/usr/local/ssl/include
Linker flags: -L/usr/local/ssl/lib -L/usr/local/ssl
Libraries: -lcrypt -lz -lnsl -lutil -lcrypto -lwrap
The quick fix is to add entropy.o to the link of sftp:
--- Makefile.in.DIST Fri Feb 9 15:59:44 2001
+++ Makefile.in Fri Feb 9 16:00:04 2001
@@ -111,7 +111,7 @@
$(LD) -o $@ sftp-server.o sftp-common.o log-server.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-int.o sftp-common.o log-client.o
- $(LD) -o $@ sftp.o sftp-client.o sftp-common.o sftp-int.o log-client.o $(LDFLAGS) -lssh -l...
2005 Feb 07
2
tiny patch for klibc 0.198
...ell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
CROSS =
diff -ur old/klibc-0.198/ash/Makefile klibc-0.198/ash/Makefile
--- old/klibc-0.198/ash/Makefile 2005-01-27 22:21:29.000000000 +0100
+++ klibc-0.198/ash/Makefile 2005-02-06 15:56:36.478233705 +0100
@@ -111,8 +111,7 @@
$(OBJ_NODES): nodes.h
$(OBJ_SYNTAX): syntax.h
-nodes.c nodes.h: mknodes.sh nodetypes nodes.c.pat nodes
-nodes:
+nodes.c nodes.h nodes: mknodes.sh nodetypes nodes.c.pat
sh mknodes.sh nodetypes nodes.c.pat .
signames.c: mksignames
diff -ur old/klibc-0.198/utils/Makefile klibc-0.198...
2003 Jun 11
2
[PATCH] Fix typos, OpenBSD + Portable
...n.cat8
? sshd/sshd
? sshd/sshd.cat8
? sshd/sshd_config.cat5
Index: auth.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/auth.c,v
retrieving revision 1.48
diff -u -r1.48 auth.c
--- auth.c 2003/06/02 09:17:34 1.48
+++ auth.c 2003/06/11 12:29:19
@@ -111,7 +111,7 @@
if (match_user(pw->pw_name, hostname, ipaddr,
options.allow_users[i]))
break;
- /* i < options.num_allow_users iff we break for loop */
+ /* i < options.num_allow_users if we break for loop */
if (i >= options.num_allow_users) {
logit("User %.1...
2019 Sep 02
2
[PATCH 4/5] drm/qxl: use drm_gem_object_funcs callbacks
...n,
+ .unpin = qxl_gem_prime_unpin,
+ .get_sg_table = qxl_gem_prime_get_sg_table,
+ .vmap = qxl_gem_prime_vmap,
+ .vunmap = qxl_gem_prime_vunmap,
+};
+
int qxl_bo_create(struct qxl_device *qdev,
unsigned long size, bool kernel, bool pinned, u32 domain,
struct qxl_surface *surf,
@@ -100,6 +111,7 @@ int qxl_bo_create(struct qxl_device *qdev,
kfree(bo);
return r;
}
+ bo->tbo.base.funcs = &qxl_object_funcs;
bo->type = domain;
bo->pin_count = pinned ? 1 : 0;
bo->surface_id = 0;
--
2.18.1
2019 Sep 02
2
[PATCH 4/5] drm/qxl: use drm_gem_object_funcs callbacks
...n,
+ .unpin = qxl_gem_prime_unpin,
+ .get_sg_table = qxl_gem_prime_get_sg_table,
+ .vmap = qxl_gem_prime_vmap,
+ .vunmap = qxl_gem_prime_vunmap,
+};
+
int qxl_bo_create(struct qxl_device *qdev,
unsigned long size, bool kernel, bool pinned, u32 domain,
struct qxl_surface *surf,
@@ -100,6 +111,7 @@ int qxl_bo_create(struct qxl_device *qdev,
kfree(bo);
return r;
}
+ bo->tbo.base.funcs = &qxl_object_funcs;
bo->type = domain;
bo->pin_count = pinned ? 1 : 0;
bo->surface_id = 0;
--
2.18.1
2017 Apr 23
0
[PATCH] drm/nouveau/kms: Increase max retries in scanout position queries.
...uveau_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c
index 6104f61..21b10f9 100644
--- a/drivers/gpu/drm/nouveau/nouveau_display.c
+++ b/drivers/gpu/drm/nouveau/nouveau_display.c
@@ -111,7 +111,7 @@ nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos,
};
struct nouveau_display *disp = nouveau_display(crtc->dev);
struct drm_vblank_crtc *vblank = &crtc->dev->vblank[drm_crtc_index(crtc)];
- int ret, retry = 1;
+ int ret, retry = 20;
do {...
2018 Jan 26
0
[PATCH net-next 12/12] tools/virtio: fix smp_mb on x86
...; tools/virtio/ringtest/main.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/virtio/ringtest/main.h b/tools/virtio/ringtest/main.h
> index 593a328..301d59b 100644
> --- a/tools/virtio/ringtest/main.h
> +++ b/tools/virtio/ringtest/main.h
> @@ -111,7 +111,7 @@ static inline void busy_wait(void)
> }
>
> #if defined(__x86_64__) || defined(__i386__)
> -#define smp_mb() asm volatile("lock; addl $0,-128(%%rsp)" ::: "memory", "cc")
Just wonder did "rsp" work for __i386__ ?
Thanks
>...
2008 Jul 16
1
[PATCH] isolinux: rename CurDir to CurrentDir
...ith those.
- Sebastian
Index: syslinux-3.71-pre7/core/isolinux.asm
===================================================================
--- syslinux-3.71-pre7.orig/core/isolinux.asm 2008-07-13 19:52:27.000000000 +0200
+++ syslinux-3.71-pre7/core/isolinux.asm 2008-07-13 19:53:11.000000000 +0200
@@ -111,7 +111,7 @@
alignb 4
ISOFileName resb 64 ; ISO filename canonicalization buffer
ISOFileNameEnd equ $
-CurDir resb dir_t_size ; Current directory
+CurrentDir resb dir_t_size ; Current directory
RootDir resb dir_t_size ; Root directory
FirstSecSum resd 1 ; Checksum of bytes 64-2048
I...
2009 Jul 01
1
[PATCH server] fixed expected status messages that were failing unit/functional tests.
...assert_equal("shutdown_vm successful.",
+ assert_equal("shutdown_vm submitted.",
svc_vm_actions([vms(:production_postgresql_vm).id,
vms(:production_mysqld_vm).id,
vms(:foobar_prod1_vm).id], 'shutdown_vm', nil))
@@ -111,7 +111,7 @@ class VmServiceTest < ActiveSupport::TestCase
# each of those cases)
def test_success_message_from_single_vm_with_less_privileged_user
set_login_user('testuser')
- assert_equal("shutdown_vm successful.",
+ assert_equal("shutdown_vm submitted.&q...
2005 Jan 05
0
[PATCH] kinit/do_mounts.c:name_to_dev_t()
...7 +103,7 @@
if ( name[0] == '/' && !stat(name, &st) && S_ISBLK(st.st_mode) )
return st.st_rdev;
- if ( !strncmp(name, "/dev/", 5) ) {
+ if ( strncmp(name, "/dev/", 5) ) {
res = (dev_t) strtoul(name, &p, 16);
if (*p)
return 0;
@@ -111,7 +111,7 @@
}
name += 5;
if (strcmp(name, "nfs") == 0)
- return 0;
+ return Root_NFS;
len = strlen(name);
s = alloca(len+1);
--
Thayne Harbaugh
Linux Networx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: applicatio...
2010 Mar 30
1
hist.default()$density
Dear developers,
the current implementation of hist.default() calculates 'density' (and
'intensities') as
dens <- counts/(n*h)
where h has been calculated before as
h <- diff(fuzzybreaks)
which results in 'fuzzy' values for the density, see e.g.
> tmp <- hist(1:10,breaks=c(-2.5,2.5,7.5,12.5),plot=FALSE)
> print(tmp$density,digits=15)
[1]
2004 Jun 17
2
[PATCH] (3/4) delay scheduler race with device stopped
...back and try again.
Same patch should apply to both 2.6 and 2.4
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
diff -Nru a/net/sched/sch_delay.c b/net/sched/sch_delay.c
--- a/net/sched/sch_delay.c 2004-06-17 15:21:49 -07:00
+++ b/net/sched/sch_delay.c 2004-06-17 15:21:49 -07:00
@@ -111,7 +111,7 @@
if (skb) {
struct dly_skb_cb *cb = (struct dly_skb_cb *)skb->cb;
psched_time_t now;
- long diff;
+ long diff, delay;
PSCHED_GET_TIME(now);
diff = q->latency - PSCHED_TDIFF(now, cb->queuetime);
@@ -128,13 +128,10 @@
goto retry;
}
- if (!netif_queue_st...
2023 Mar 20
1
[RESEND, PATCH v2 01/10] kobject: introduce kobject_del_and_put()
...include/linux/kobject.h | 1 +
lib/kobject.c | 17 +++++++++++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index bdab370a24f4..782d4bd119f8 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -111,6 +111,7 @@ extern struct kobject *kobject_get(struct kobject *kobj);
extern struct kobject * __must_check kobject_get_unless_zero(
struct kobject *kobj);
extern void kobject_put(struct kobject *kobj);
+extern void kobject_del_and_put(struct kobject *kobj);
extern const void *kobject_na...
2002 Jan 11
1
X11 forwarding, -f, error handling
I'd like a feature whereby ssh puts itself in the background after the
first successful X11 (or other port) forwarding.
The reason for this is simple: error handling.
If the application fails to open the X display and exits, then the
client can still exit with the application's exit code. But if the
application opens the X display successfully, then it can just display
any errors by
2020 Mar 28
0
[klibc:update-dash] dash: eval: Only restore exit status on exit/return
...suppressint ));
- exerror(EXEXIT, "%s: %s", argv[0], errmsg(e, E_EXEC));
+ exerror(EXEND, "%s: %s", argv[0], errmsg(e, E_EXEC));
/* NOTREACHED */
}
diff --git a/usr/dash/main.c b/usr/dash/main.c
index 6d53e009..6b3a0909 100644
--- a/usr/dash/main.c
+++ b/usr/dash/main.c
@@ -111,7 +111,7 @@ main(int argc, char **argv)
e = exception;
s = state;
- if (e == EXEXIT || s == 0 || iflag == 0 || shlvl)
+ if (e == EXEND || e == EXEXIT || s == 0 || iflag == 0 || shlvl)
exitshell();
reset();
diff --git a/usr/dash/trap.c b/usr/dash/trap.c
index 1ad27e99..838008d2 10...
2015 Jul 28
4
[PATCH 0/2] Misc fixes
Here are two patches: one fixes the gpg-agent causing unmount to fail
after running dnf to install packages. The other ones fixes dhcpcd call
in the init program to provide it an interface name.
Cédric Bosdonnat (2):
appliance init: find NIC name for dhcpcd
Make sure gpg-agent is terminated before umount
appliance/init | 3 ++-
customize/customize_run.ml | 3 ++-
2 files
2019 Sep 13
0
[PATCH 2/8] drm/shmem: switch shmem helper to &drm_gem_object_funcs.mmap
...drm/virtio/virtgpu_object.c | 2 +-
5 files changed, 13 insertions(+), 25 deletions(-)
diff --git a/include/drm/drm_gem_shmem_helper.h b/include/drm/drm_gem_shmem_helper.h
index 01f514521687..d89f2116c8ab 100644
--- a/include/drm/drm_gem_shmem_helper.h
+++ b/include/drm/drm_gem_shmem_helper.h
@@ -111,7 +111,7 @@ struct drm_gem_shmem_object {
.poll = drm_poll,\
.read = drm_read,\
.llseek = noop_llseek,\
- .mmap = drm_gem_shmem_mmap, \
+ .mmap = drm_gem_mmap, \
}
struct drm_gem_shmem_object *drm_gem_shmem_create(struct drm_device *dev, size_t size);
@@ -143,9 +143,7 @@ drm_ge...