All of lore.kernel.org
 help / color / mirror / Atom feed
* pt_regs usage in cpuacct_charge()
@ 2017-11-09  8:41 Pavel V. Panteleev
  0 siblings, 0 replies; only message in thread
From: Pavel V. Panteleev @ 2017-11-09  8:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: mingo, peterz

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-09  8:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-09  8:41 pt_regs usage in cpuacct_charge() Pavel V. Panteleev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.