On Thu, May 21, 2020 at 08:41:11PM +0200, Thomas Gleixner wrote:
> "Paul E. McKenney" writes:
> > On Thu, May 21, 2020 at 10:31:11AM +0200, Thomas Gleixner wrote:
> >> And I made this a NOP for for !NOHZ_FULL systems and avoided the call if
> >> context tracking is not enabled at boot.
> >>
> >>
"Paul E. McKenney" writes:
> On Thu, May 21, 2020 at 10:31:11AM +0200, Thomas Gleixner wrote:
>> And I made this a NOP for for !NOHZ_FULL systems and avoided the call if
>> context tracking is not enabled at boot.
>>
>> void __rcu_irq_enter_check_tick(void);
>>
>> static inline void rcu_irq_ente
On Thu, May 21, 2020 at 10:31:11AM +0200, Thomas Gleixner wrote:
> "Paul E. McKenney" writes:
> > On Wed, May 20, 2020 at 03:15:31PM -0700, Paul E. McKenney wrote:
> > Same patch, but with updated commit log based on IRC discussion
> > with Andy.
>
> Fun. I came up with the same thing before goin
"Paul E. McKenney" writes:
> On Wed, May 20, 2020 at 03:15:31PM -0700, Paul E. McKenney wrote:
> Same patch, but with updated commit log based on IRC discussion
> with Andy.
Fun. I came up with the same thing before going to bed. Just that I
named the function differently: rcu_irq_enter_check_tic
On Wed, May 20, 2020 at 03:15:31PM -0700, Paul E. McKenney wrote:
> On Wed, May 20, 2020 at 09:49:18PM +0200, Thomas Gleixner wrote:
> > "Paul E. McKenney" writes:
> > > On Wed, May 20, 2020 at 09:51:17AM -0700, Andy Lutomirski wrote:
> > >> Paul, the major change here is that if an IRQ hits norma
On Wed, May 20, 2020 at 09:49:18PM +0200, Thomas Gleixner wrote:
> "Paul E. McKenney" writes:
> > On Wed, May 20, 2020 at 09:51:17AM -0700, Andy Lutomirski wrote:
> >> Paul, the major change here is that if an IRQ hits normal kernel code
> >> (i.e. code where RCU is watching and we're not in an EQ
"Paul E. McKenney" writes:
> On Wed, May 20, 2020 at 09:51:17AM -0700, Andy Lutomirski wrote:
>> Paul, the major change here is that if an IRQ hits normal kernel code
>> (i.e. code where RCU is watching and we're not in an EQS), the IRQ
>> won't call rcu_irq_enter() and rcu_irq_exit(). Instead it
On Wed, May 20, 2020 at 09:24:46PM +0200, Thomas Gleixner wrote:
> Andy Lutomirski writes:
> > On Wed, May 20, 2020 at 8:36 AM Andy Lutomirski wrote:
> > if (user_mode(regs)) {
> > enter_from_user_mode();
> > } else {
> > if (!__rcu_is_watching()) {
> > /*
> >
Andy Lutomirski writes:
> On Wed, May 20, 2020 at 8:36 AM Andy Lutomirski wrote:
> if (user_mode(regs)) {
> enter_from_user_mode();
> } else {
> if (!__rcu_is_watching()) {
> /*
> * If RCU is not watching then the same careful
> * sequ
Andy Lutomirski writes:
> So maybe the code can change to:
>
> if (user_mode(regs)) {
> enter_from_user_mode();
> } else {
> if (!__rcu_is_watching()) {
> /*
> * If RCU is not watching then the same careful
> * sequence vs. lockdep and
On Wed, May 20, 2020 at 10:47:29AM -0700, Andy Lutomirski wrote:
> On Wed, May 20, 2020 at 10:38 AM Paul E. McKenney wrote:
> >
> > On Wed, May 20, 2020 at 08:36:06AM -0700, Andy Lutomirski wrote:
> > > On Tue, May 19, 2020 at 7:23 PM Paul E. McKenney
> > > wrote:
> > > > On Tue, May 19, 2020 at
On Wed, May 20, 2020 at 09:51:17AM -0700, Andy Lutomirski wrote:
> On Wed, May 20, 2020 at 8:36 AM Andy Lutomirski wrote:
> >
> > On Tue, May 19, 2020 at 7:23 PM Paul E. McKenney wrote:
> > >
> > > On Tue, May 19, 2020 at 05:26:58PM -0700, Andy Lutomirski wrote:
> > > > On Tue, May 19, 2020 at 2:
On Wed, May 20, 2020 at 10:38 AM Paul E. McKenney wrote:
>
> On Wed, May 20, 2020 at 08:36:06AM -0700, Andy Lutomirski wrote:
> > On Tue, May 19, 2020 at 7:23 PM Paul E. McKenney wrote:
> > > On Tue, May 19, 2020 at 05:26:58PM -0700, Andy Lutomirski wrote:
> > > > On Tue, May 19, 2020 at 2:20 PM
On Wed, May 20, 2020 at 08:36:06AM -0700, Andy Lutomirski wrote:
> On Tue, May 19, 2020 at 7:23 PM Paul E. McKenney wrote:
> > On Tue, May 19, 2020 at 05:26:58PM -0700, Andy Lutomirski wrote:
> > > On Tue, May 19, 2020 at 2:20 PM Thomas Gleixner
> > > wrote:
> > > > Andy Lutomirski writes:
> >
On Wed, May 20, 2020 at 8:36 AM Andy Lutomirski wrote:
>
> On Tue, May 19, 2020 at 7:23 PM Paul E. McKenney wrote:
> >
> > On Tue, May 19, 2020 at 05:26:58PM -0700, Andy Lutomirski wrote:
> > > On Tue, May 19, 2020 at 2:20 PM Thomas Gleixner
> > > wrote:
First, the patch as you submitted it is
On Tue, May 19, 2020 at 7:23 PM Paul E. McKenney wrote:
>
> On Tue, May 19, 2020 at 05:26:58PM -0700, Andy Lutomirski wrote:
> > On Tue, May 19, 2020 at 2:20 PM Thomas Gleixner wrote:
> > >
> > > Andy Lutomirski writes:
> > > > On Tue, May 19, 2020 at 1:20 PM Thomas Gleixner
> > > > wrote:
> >
Andy Lutomirski writes:
> On Tue, May 19, 2020 at 2:20 PM Thomas Gleixner wrote:
> Unless I've missed something, the effect here is that #PF hitting in
> an RCU-watching context will skip rcu_irq_enter(), whereas all IRQs
> (because you converted them) as well as other faults and traps will
> cal
On Tue, May 19, 2020 at 05:26:58PM -0700, Andy Lutomirski wrote:
> On Tue, May 19, 2020 at 2:20 PM Thomas Gleixner wrote:
> >
> > Andy Lutomirski writes:
> > > On Tue, May 19, 2020 at 1:20 PM Thomas Gleixner
> > > wrote:
> > >> Thomas Gleixner writes:
> > >> It's about this:
> > >>
> > >> rcu_
On Tue, May 19, 2020 at 2:20 PM Thomas Gleixner wrote:
>
> Andy Lutomirski writes:
> > On Tue, May 19, 2020 at 1:20 PM Thomas Gleixner wrote:
> >> Thomas Gleixner writes:
> >> It's about this:
> >>
> >> rcu_nmi_enter()
> >> {
> >> if (!rcu_is_watching()) {
> >> make it watch
Andy Lutomirski writes:
> On Tue, May 19, 2020 at 1:20 PM Thomas Gleixner wrote:
>> Thomas Gleixner writes:
>> It's about this:
>>
>> rcu_nmi_enter()
>> {
>> if (!rcu_is_watching()) {
>> make it watch;
>> } else if (!in_nmi()) {
>> do_magic_nohz_dyntick_mu
On Tue, May 19, 2020 at 1:20 PM Thomas Gleixner wrote:
>
> Thomas Gleixner writes:
> > Andy Lutomirski writes:
> >> On Fri, May 15, 2020 at 5:10 PM Thomas Gleixner wrote:
> >>> The pagefault handler cannot use the regular idtentry_enter() because that
> >>> invokes rcu_irq_enter() if the pagefa
Thomas Gleixner writes:
> Andy Lutomirski writes:
>> On Fri, May 15, 2020 at 5:10 PM Thomas Gleixner wrote:
>>> The pagefault handler cannot use the regular idtentry_enter() because that
>>> invokes rcu_irq_enter() if the pagefault was caused in the kernel. Not a
>>> problem per se, but kernel s
Andy Lutomirski writes:
> On Fri, May 15, 2020 at 5:10 PM Thomas Gleixner wrote:
>> The pagefault handler cannot use the regular idtentry_enter() because that
>> invokes rcu_irq_enter() if the pagefault was caused in the kernel. Not a
>> problem per se, but kernel side page faults can schedule wh
On Fri, May 15, 2020 at 5:10 PM Thomas Gleixner wrote:
>
>
> The pagefault handler cannot use the regular idtentry_enter() because that
> invokes rcu_irq_enter() if the pagefault was caused in the kernel. Not a
> problem per se, but kernel side page faults can schedule which is not
> possible with
24 matches
Mail list logo