mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Pavel V. Panteleev" <panteleev_p@mcst.ru>
To: linux-kernel@vger.kernel.org
Cc: mingo@redhat.com, peterz@infradead.org
Subject: pt_regs usage in cpuacct_charge()
Date: Thu, 9 Nov 2017 11:41:26 +0300	[thread overview]
Message-ID: <5A0414B6.1060100@mcst.ru> (raw)

Hello!

In cpuacct_charge() function pt_regs of other thread could be used. 
There is a such call chain: ...-> __schedule -> pick_next_task_fair -> 
load_balance -> idle_balance -> load_balance -> detach_tasks -> 
deactivate_task -> dequeue_task_fair -> dequeue_entity -> update_curr -> 
cpuacct_charge.

I think that pt_regs could disappeared or be changed. How it's assumed 
to syncronize pt_regs usage in this place?

Kernel verion 4.9.47-rt47.


Best regards,
Pavel V. Panteleev

                 reply	other threads:[~2017-11-09  8:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A0414B6.1060100@mcst.ru \
    --to=panteleev_p@mcst.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome