Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[PATCH\s+2\/2\]\s+ipvs\:\s+Use\s+cond_resched_rcu_lock\(\)\s+helper\s+when\s+dumping\s+connections\s*$/: 18 ]

Total 18 documents matching your query.

1. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 30 Apr 2013 11:45:52 +0900
Thanks, I have added some text which I will include in v2. -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo
/html/lvs-devel/2013-04/msg00102.html (14,546 bytes)

2. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Julian Anastasov <ja@xxxxxx>
Date: Tue, 30 Apr 2013 02:12:10 +0300 (EEST)
Hello, I see, CONFIG_PREEMPT_RCU depends on CONFIG_PREEMPT OK Yes, thanks for the explanation! Simon, so lets do it as suggested by Eric and Paul: rcu_read_unlock(); cond_resched(); rcu_read_lock();
/html/lvs-devel/2013-04/msg00101.html (14,586 bytes)

3. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Apr 2013 14:30:02 -0700
Yep, I really did intend to say "#ifndef CONFIG_PREEMPT_RCU". A couple of things to keep in mind: 1. Although rcu_read_unlock() does map to preempt_enable() for CONFIG_TINY_RCU and CONFIG_TREE_RCU, t
/html/lvs-devel/2013-04/msg00100.html (14,837 bytes)

4. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Julian Anastasov <ja@xxxxxx>
Date: Tue, 30 Apr 2013 00:08:18 +0300 (EEST)
Hello, Hm, is this correct? If I follow the ifdefs preempt_schedule is called when CONFIG_PREEMPT is defined _and_ CONFIG_PREEMPT_RCU is not defined. Your example for CONFIG_PREEMPT_RCU is the opposi
/html/lvs-devel/2013-04/msg00099.html (13,927 bytes)

5. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Apr 2013 09:20:49 -0700
I would instead suggest something like: But yes, in the CONFIG_PREEMPT_RCU case, the cond_resched() is not needed. Thanx, Paul -- To unsubscribe from this list: send the line "unsubscribe lvs-devel"
/html/lvs-devel/2013-04/msg00097.html (14,106 bytes)

6. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Apr 2013 09:17:32 -0700
;-) ;-) ;-) I must confess that I would prefer a somewhat less heavy-handed approach. Thanx, Paul -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a message to m
/html/lvs-devel/2013-04/msg00096.html (13,301 bytes)

7. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Julian Anastasov <ja@xxxxxx>
Date: Sat, 27 Apr 2013 14:32:48 +0300 (EEST)
Hello, So, I assume, to help realtime kernels and rcu_barrier it is not a good idea to guard rcu_read_unlock with checks. I see that rcu_read_unlock will try to reschedule in the !CONFIG_PREEMPT_RCU
/html/lvs-devel/2013-04/msg00095.html (13,325 bytes)

8. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Sat, 27 Apr 2013 09:18:15 +0200
You just know that's going to be _so_ popular ;-) -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at
/html/lvs-devel/2013-04/msg00094.html (12,338 bytes)

9. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Apr 2013 12:04:28 -0700
A call to rcu_barrier() only blocks on already-queued RCU callbacks, so if there are no RCU callbacks queued in the system, it need not block at all. But it might need to wait on some callbacks, and
/html/lvs-devel/2013-04/msg00093.html (15,007 bytes)

10. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Fri, 26 Apr 2013 11:26:55 -0700
One question : If some thread(s) is(are) calling rcu_barrier() and waiting we exit from rcu_read_lock() section, is need_resched() enough for allowing to break the section ? If not, maybe we should n
/html/lvs-devel/2013-04/msg00092.html (12,257 bytes)

11. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Apr 2013 10:48:16 -0700
Don't get me wrong, I am not opposing cond_resched_rcu_lock() because it will be difficult to validate. For one thing, until there are a lot of them, manual inspection is quite possible. So feel free
/html/lvs-devel/2013-04/msg00091.html (14,696 bytes)

12. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Fri, 26 Apr 2013 19:19:49 +0200
Luckily cond_resched_rcu_lock() will typically only occur within loops, and loops tend to be contained in a single sourcefile. This would suggest a simple static checker should be able to tell withou
/html/lvs-devel/2013-04/msg00090.html (14,085 bytes)

13. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Apr 2013 09:30:46 -0700
All the way to some other thread? That is a serious escape! ;-) I suspect that your cookie and my counter are quite similar. Well, that is why I needed to appeal to compiler magic or an API extension
/html/lvs-devel/2013-04/msg00089.html (15,486 bytes)

14. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Fri, 26 Apr 2013 08:59:07 -0700
We had this fix the otherday, because tcp prequeue code hit this check : static inline struct dst_entry *skb_dst(const struct sk_buff *skb) { /* If refdst was not refcounted, check we still are in a
/html/lvs-devel/2013-04/msg00088.html (13,520 bytes)

15. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Apr 2013 08:45:47 -0700
I have done some crude coccinelle patterns in the past, but they are subject to false positives (from when you transfer the pointer from RCU protection to reference-count protection) and also false n
/html/lvs-devel/2013-04/msg00087.html (12,415 bytes)

16. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Fri, 26 Apr 2013 10:03:13 +0200
While I agree with the sentiment I do find it a somewhat dangerous construct in that it might become far too easy to keep an RCU reference over this break and thus violate the RCU premise. Is there a
/html/lvs-devel/2013-04/msg00085.html (11,089 bytes)

17. Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Ingo Molnar <mingo@xxxxxxxxxx>
Date: Fri, 26 Apr 2013 08:15:34 +0200
Feel free to route this via the networking tree. Note that this change isn't a pure clean-up but has functional effects as well: on !PREEMPT or PREEMPT_VOLUNTARY kernels it will add in a potential co
/html/lvs-devel/2013-04/msg00084.html (12,223 bytes)

18. [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections (score: 1)
Author: Simon Horman <horms@xxxxxxxxxxxx>
Date: Fri, 26 Apr 2013 10:45:08 +0900
This avoids the situation where a dump of a large number of connections may prevent scheduling for a long time while also avoiding excessive calls to rcu_read_unlock() and rcu_read_lock(). Cc: Eric D
/html/lvs-devel/2013-04/msg00078.html (11,326 bytes)


This search system is powered by Namazu