Displaying 20 results from an estimated 154 matches for "rcupdate".
2007 Nov 30
2
[Bridge] [PATCH] Remove rcu_assign_pointer() penalty for NULL pointers
...d:
http://www.mail-archive.com/netdev@vger.kernel.org/msg54852.html
Tested on x86_64 and ppc64, also compiled the four cases (NULL/non-NULL
and const/non-const) with gcc version 4.1.2, and hand-checked the
assembly output.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
rcupdate.h | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff -urpNa -X dontdiff linux-2.6.24-rc1-ego/include/linux/rcupdate.h linux-2.6.24-rc1-egoxu/include/linux/rcupdate.h
--- linux-2.6.24-rc1-ego/include/linux/rcupdate.h 2007-11-06 15:30:02.000000000 -0800
+++ linux-2.6.24-rc1-ego...
2012 Feb 08
18
[PATCH 0 of 4] Prune outdated/impossible preprocessor symbols, and update VIOAPIC emulation
Patch 1 removes CONFIG_SMP
Patch 2 removes separate smp_{,r,w}mb()s as a result of patch 1
Patch 4 removes __ia64__ defines from the x86 arch tree
Patch 3 is related to patch 4 and changes the VIOAPIC to emulate
version 0x20 as a performance gain. It preceeds Patch 4 so as to be
more clear about the functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
2007 Jan 17
11
[PATCH] Add RCU support into Xen - Repost
...895d873a00b4 -r fa213888aa93 xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c Tue Jan 16 10:02:50 2007 +0000
+++ b/xen/arch/x86/setup.c Tue Jan 16 14:17:36 2007 -0800
@@ -17,6 +17,7 @@
#include <xen/hypercall.h>
#include <xen/keyhandler.h>
#include <xen/numa.h>
+#include <xen/rcupdate.h>
#include <public/version.h>
#ifdef CONFIG_COMPAT
#include <compat/platform.h>
@@ -658,6 +659,8 @@ void __init __start_xen(multiboot_info_t
trap_init();
+ rcu_init();
+
timer_init();
early_time_init();
@@ -693,8 +696,10 @@ void __init __start_xen(mult...
2007 Jan 17
11
[PATCH] Add RCU support into Xen - Repost
...895d873a00b4 -r fa213888aa93 xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c Tue Jan 16 10:02:50 2007 +0000
+++ b/xen/arch/x86/setup.c Tue Jan 16 14:17:36 2007 -0800
@@ -17,6 +17,7 @@
#include <xen/hypercall.h>
#include <xen/keyhandler.h>
#include <xen/numa.h>
+#include <xen/rcupdate.h>
#include <public/version.h>
#ifdef CONFIG_COMPAT
#include <compat/platform.h>
@@ -658,6 +659,8 @@ void __init __start_xen(multiboot_info_t
trap_init();
+ rcu_init();
+
timer_init();
early_time_init();
@@ -693,8 +696,10 @@ void __init __start_xen(mult...
2010 May 26
1
Error compiling DAHDI...
...ahdi/drivers/dahdi/dahdi-base.c:40:
include/linux/fs_struct.h:9: error: expected specifier-qualifier-list before
?rwlock_t?
In file included from include/linux/gfp.h:4,
from include/linux/slab.h:14,
from include/linux/percpu.h:4,
from include/linux/rcupdate.h:41,
from include/linux/pid.h:4,
from include/linux/sched.h:71,
from include/linux/module.h:9,
from /usr/src/dahdi/drivers/dahdi/dahdi-base.c:40:
include/linux/mmzone.h:166: error: expected specifier-qualifier-list before
?spinloc...
2012 Nov 06
1
[PATCH] xen/events: xen/events: fix RCU warning
exit_idle() should be called after irq_enter(), otherwise it throws:
[ 2.513020] [ INFO: suspicious RCU usage. ]
[ 2.513076] 3.6.5 #1 Not tainted
[ 2.513128] -------------------------------
[ 2.513183] include/linux/rcupdate.h:725 rcu_read_lock() used illegally while idle!
[ 2.513271]
[ 2.513271] other info that might help us debug this:
[ 2.513271]
[ 2.513388]
[ 2.513388] RCU used illegally from idle CPU!
[ 2.513388] rcu_scheduler_active = 1, debug_locks = 1
[ 2.513511] RCU used illegally from ext...
2012 Nov 06
1
[PATCH] xen/events: xen/events: fix RCU warning
exit_idle() should be called after irq_enter(), otherwise it throws:
[ 2.513020] [ INFO: suspicious RCU usage. ]
[ 2.513076] 3.6.5 #1 Not tainted
[ 2.513128] -------------------------------
[ 2.513183] include/linux/rcupdate.h:725 rcu_read_lock() used illegally while idle!
[ 2.513271]
[ 2.513271] other info that might help us debug this:
[ 2.513271]
[ 2.513388]
[ 2.513388] RCU used illegally from idle CPU!
[ 2.513388] rcu_scheduler_active = 1, debug_locks = 1
[ 2.513511] RCU used illegally from ext...
2008 Sep 28
3
[LLVMdev] llvm-ld hangs
...kernel/printk.o kernel/profile.o
kernel/exit.o kernel/itimer.o kernel/time.o kernel/softirq.o
kernel/resource.o kernel/sysctl.o kernel/capability.o kernel/ptrace.o
kernel/timer.o kernel/user.o kernel/user_namespace.o kernel/signal.o
kernel/sys.o kernel/kmod.o kernel/workqueue.o kernel/pid.o
kernel/rcupdate.o kernel/extable.o kernel/params.o
kernel/posix-timers.o kernel/kthread.o kernel/wait.o kernel/kfifo.o
kernel/sys_ni.o kernel/posix-cpu-timers.o kernel/mutex.o
kernel/hrtimer.o kernel/rwsem.o kernel/latency.o kernel/nsproxy.o
kernel/srcu.o kernel/die_notifier.o kernel/utsname.o
kernel/time/built-in...
2017 Aug 09
1
[PATCH v13 1/5] Introduce xbitmap
...e user is virtio-balloon, yes? What alternatives were examined
and what are the benefits of this approach?
Have you identified any other subsystems which could utilize this?
>
> ...
>
> --- a/lib/radix-tree.c
> +++ b/lib/radix-tree.c
> @@ -37,6 +37,7 @@
> #include <linux/rcupdate.h>
> #include <linux/slab.h>
> #include <linux/string.h>
> +#include <linux/xbitmap.h>
>
>
> /* Number of nodes in fully populated tree of given height */
> @@ -78,6 +79,14 @@ static struct kmem_cache *radix_tree_node_cachep;
> #define IDA_PRELOA...
2017 Aug 09
1
[PATCH v13 1/5] Introduce xbitmap
...e user is virtio-balloon, yes? What alternatives were examined
and what are the benefits of this approach?
Have you identified any other subsystems which could utilize this?
>
> ...
>
> --- a/lib/radix-tree.c
> +++ b/lib/radix-tree.c
> @@ -37,6 +37,7 @@
> #include <linux/rcupdate.h>
> #include <linux/slab.h>
> #include <linux/string.h>
> +#include <linux/xbitmap.h>
>
>
> /* Number of nodes in fully populated tree of given height */
> @@ -78,6 +79,14 @@ static struct kmem_cache *radix_tree_node_cachep;
> #define IDA_PRELOA...
2013 May 07
5
[PATCH 0/4] vhost private_data rcu removal
Asias He (4):
vhost-net: Always access vq->private_data under vq mutex
vhost-test: Always access vq->private_data under vq mutex
vhost-scsi: Always access vq->private_data under vq mutex
vhost: Remove custom vhost rcu usage
drivers/vhost/net.c | 37 ++++++++++++++++---------------------
drivers/vhost/scsi.c | 17 ++++++-----------
drivers/vhost/test.c | 20
2013 May 07
5
[PATCH 0/4] vhost private_data rcu removal
Asias He (4):
vhost-net: Always access vq->private_data under vq mutex
vhost-test: Always access vq->private_data under vq mutex
vhost-scsi: Always access vq->private_data under vq mutex
vhost: Remove custom vhost rcu usage
drivers/vhost/net.c | 37 ++++++++++++++++---------------------
drivers/vhost/scsi.c | 17 ++++++-----------
drivers/vhost/test.c | 20
2009 Apr 19
4
[PATCH] btrfs: remove crc32c.h and use libcrc32c directly.
...fs_crc32c(seed, data, len);
+ return crc32c(seed, data, len);
}
void btrfs_csum_final(u32 crc, char *result)
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 178df4c..cdc4f11 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -23,7 +23,6 @@
#include <linux/rcupdate.h>
#include "compat.h"
#include "hash.h"
-#include "crc32c.h"
#include "ctree.h"
#include "disk-io.h"
#include "print-tree.h"
diff --git a/fs/btrfs/hash.h b/fs/btrfs/hash.h
index 2a020b2..db2ff97 100644
--- a/fs/btrfs/hash.h
+++ b/...
2023 Aug 28
0
[PATCH v15 11/23] dma-resv: Add kref_put_dma_resv()
...dma-resv.h
> +++ b/include/linux/dma-resv.h
> @@ -41,6 +41,7 @@
>
> #include <linux/ww_mutex.h>
> #include <linux/dma-fence.h>
> +#include <linux/kref.h>
> #include <linux/slab.h>
> #include <linux/seqlock.h>
> #include <linux/rcupdate.h>
> @@ -464,6 +465,14 @@ static inline void dma_resv_unlock(struct dma_resv *obj)
> ww_mutex_unlock(&obj->lock);
> }
>
> +static inline int kref_put_dma_resv(struct kref *kref,
> + void (*release)(struct kref *kref),
> + struct dma_resv *resv,
&...
2015 Jan 30
0
[PATCH v2 2/3] Revert "drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets"
...select_ident(skb);
break;
default:
return -EINVAL;
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 8c8dc16..5ca42b7 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -65,7 +65,6 @@
#include <linux/nsproxy.h>
#include <linux/virtio_net.h>
#include <linux/rcupdate.h>
-#include <net/ipv6.h>
#include <net/net_namespace.h>
#include <net/netns/generic.h>
#include <net/rtnetlink.h>
@@ -1167,8 +1166,6 @@ static ssize_t tun_get_user(struct tun_struct *tun, struct tun_file *tfile,
break;
}
- skb_reset_network_header(skb);
-
if...
2015 Jan 30
0
[PATCH v2 2/3] Revert "drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets"
...select_ident(skb);
break;
default:
return -EINVAL;
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 8c8dc16..5ca42b7 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -65,7 +65,6 @@
#include <linux/nsproxy.h>
#include <linux/virtio_net.h>
#include <linux/rcupdate.h>
-#include <net/ipv6.h>
#include <net/net_namespace.h>
#include <net/netns/generic.h>
#include <net/rtnetlink.h>
@@ -1167,8 +1166,6 @@ static ssize_t tun_get_user(struct tun_struct *tun, struct tun_file *tfile,
break;
}
- skb_reset_network_header(skb);
-
if...
2008 Sep 28
0
[LLVMdev] llvm-ld hangs
...rofile.o
> kernel/exit.o kernel/itimer.o kernel/time.o kernel/softirq.o
> kernel/resource.o kernel/sysctl.o kernel/capability.o kernel/ptrace.o
> kernel/timer.o kernel/user.o kernel/user_namespace.o kernel/signal.o
> kernel/sys.o kernel/kmod.o kernel/workqueue.o kernel/pid.o
> kernel/rcupdate.o kernel/extable.o kernel/params.o
> kernel/posix-timers.o kernel/kthread.o kernel/wait.o kernel/kfifo.o
> kernel/sys_ni.o kernel/posix-cpu-timers.o kernel/mutex.o
> kernel/hrtimer.o kernel/rwsem.o kernel/latency.o kernel/nsproxy.o
> kernel/srcu.o kernel/die_notifier.o kernel/utsname.o...
2019 Sep 06
0
[vhost:linux-next 13/15] arch/ia64/include/asm/page.h:51:23: warning: "hpage_shift" is not defined, evaluates to 0
...sm/thread_info.h:12,
from include/linux/thread_info.h:38,
from include/asm-generic/preempt.h:5,
from ./arch/ia64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/rcupdate.h:27,
from include/linux/rculist.h:11,
from include/linux/sched/signal.h:5,
from arch/ia64/kernel/asm-offsets.c:10:
>> arch/ia64/include/asm/page.h:51:23: warning: "hpage_shift" is not defined, evaluates to 0 [-Wundef]...
2007 Sep 08
4
[PATCH] Unified shutdown code
...tart_sync();
printk("%s called\n", __func__);
diff -r a53aaea4c698 -r a85c4081738a xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c Fri Sep 07 19:54:29 2007 +0100
+++ b/xen/arch/x86/setup.c Fri Sep 07 17:37:01 2007 -0700
@@ -19,6 +19,7 @@
#include <xen/numa.h>
#include <xen/rcupdate.h>
#include <xen/vga.h>
+#include <xen/shutdown.h>
#include <public/version.h>
#ifdef CONFIG_COMPAT
#include <compat/platform.h>
@@ -168,7 +169,7 @@ static void __init do_initcalls(void)
#define EARLY_FAIL(f, a...) do { \
printk( f , ## a );...
2017 Aug 03
0
[PATCH v13 1/5] Introduce xbitmap
...dix_tree_empty(&xb->xbrt);
+}
+
+void xb_preload(gfp_t gfp);
+
+static inline void xb_preload_end(void)
+{
+ preempt_enable();
+}
diff --git a/lib/radix-tree.c b/lib/radix-tree.c
index 898e879..d8c3c18 100644
--- a/lib/radix-tree.c
+++ b/lib/radix-tree.c
@@ -37,6 +37,7 @@
#include <linux/rcupdate.h>
#include <linux/slab.h>
#include <linux/string.h>
+#include <linux/xbitmap.h>
/* Number of nodes in fully populated tree of given height */
@@ -78,6 +79,14 @@ static struct kmem_cache *radix_tree_node_cachep;
#define IDA_PRELOAD_SIZE (IDA_MAX_PATH * 2 - 1)
/*
+ *...