Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[PATCH\s+v2\s+1\/2\]\s+sched\:\s+Add\s+cond_resched_rcu_lock\(\)\s+helper\s*$/: 35 ]

Total 35 documents matching your query.

21. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Wed, 1 May 2013 10:30:35 -0700
I will stick with my guess, though I agree that if I am correct, this situation almost certainly predates tglx's Linux-related use of frozen fish as projectile weapons. ;-) Thanx, Paul -- To unsubscr
/html/lvs-devel/2013-05/msg00013.html (12,147 bytes)

22. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Wed, 1 May 2013 18:57:49 +0200
I might hope not.. preempt_enable_no_resched() is nasty and you're likely to be hit with a frozen fish of sorts by tglx if you try to use it ;-) -- To unsubscribe from this list: send the line "unsub
/html/lvs-devel/2013-05/msg00012.html (12,031 bytes)

23. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Wed, 1 May 2013 09:02:18 -0700
My guess would be for the case where sched_preempt_enable_no_resched() is followed some time later by cond_resched(). Thanx, Paul -- To unsubscribe from this list: send the line "unsubscribe lvs-deve
/html/lvs-devel/2013-05/msg00011.html (11,983 bytes)

24. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Wed, 1 May 2013 17:59:58 +0200
Good question.. at at least, only the __might_sleep() construct. Ingo, happen to remember why this is? Most of this infrastructure is from before my time. -- To unsubscribe from this list: send the l
/html/lvs-devel/2013-05/msg00010.html (12,188 bytes)

25. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Wed, 1 May 2013 17:55:02 +0200
Uhm... yes! Ah so the 'problem' with this last version is that it does an unconditional / unnessecary rcu_read_unlock(). The below would be in line with all the other cond_resched*() implementations.
/html/lvs-devel/2013-05/msg00009.html (13,711 bytes)

26. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Wed, 01 May 2013 08:29:55 -0700
BTW, I do not remember why cond_resched() is not an empty macro when CONFIG_PREEMPT=y ? -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a message to majordomo@x
/html/lvs-devel/2013-05/msg00008.html (11,518 bytes)

27. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Wed, 1 May 2013 17:17:53 +0200
Hmm.. if that were the goal I'd like it to have a different name; cond_resched*() has always been about preemption. Quite :-) -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" i
/html/lvs-devel/2013-05/msg00007.html (11,390 bytes)

28. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Wed, 1 May 2013 07:32:58 -0700
But now that I think about it, there is one big advantage to the unconditional exiting and reentering the RCU read-side critical section: It allows easy placement of unconditional lockdep debug code
/html/lvs-devel/2013-05/msg00006.html (14,321 bytes)

29. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Julian Anastasov <ja@xxxxxx>
Date: Wed, 1 May 2013 17:22:05 +0300 (EEST)
Hello, You mean '#ifndef' here, right? But in the non-preempt case is using the need_resched() needed? rcu_read_unlock and rcu_read_lock do not generate code. I see. So, can we choose one of both var
/html/lvs-devel/2013-05/msg00005.html (12,366 bytes)

30. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Wed, 1 May 2013 05:46:37 -0700
Good point, I was assuming that the goal was to let grace periods end as well as to allow preemption. The momentary dropping out of the RCU read-side critical section allows the grace periods to end.
/html/lvs-devel/2013-05/msg00004.html (11,922 bytes)

31. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Wed, 1 May 2013 11:10:12 +0200
OK, now I'm confused.. PREEMPT_RCU would preempt in any case, so why bother dropping rcu_read_lock() at all? That is; the thing that makes sense to me is: static void inline cond_resched_rcu_lock(voi
/html/lvs-devel/2013-05/msg00003.html (10,772 bytes)

32. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Julian Anastasov <ja@xxxxxx>
Date: Tue, 30 Apr 2013 10:52:38 +0300 (EEST)
Hello, Yes, thanks! -- Julian Anastasov <ja@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info a
/html/lvs-devel/2013-04/msg00108.html (10,670 bytes)

33. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 30 Apr 2013 16:29:44 +0900
Thanks, to clarify, just this: static void inline cond_resched_rcu_lock(void) { rcu_read_unlock(); cond_resched(); rcu_read_lock(); } -- To unsubscribe from this list: send the line "unsubscribe lvs-
/html/lvs-devel/2013-04/msg00107.html (12,875 bytes)

34. Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Julian Anastasov <ja@xxxxxx>
Date: Tue, 30 Apr 2013 10:12:38 +0300 (EEST)
Hello, Ops, it should be without above need_resched. Regards -- Julian Anastasov <ja@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a message to majord
/html/lvs-devel/2013-04/msg00106.html (12,568 bytes)

35. [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper (score: 1)
Author: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 30 Apr 2013 11:52:57 +0900
This is intended for use in loops which read data protected by RCU and may have a large number of iterations. Such an example is dumping the list of connections known to IPVS: ip_vs_conn_array() and
/html/lvs-devel/2013-04/msg00104.html (11,206 bytes)


This search system is powered by Namazu