cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* workqueue usage in vmpressure
@ 2013-07-10 18:42 Tejun Heo
       [not found] ` <20130710184254.GA16979-9pTldWuhBndy/B6EtB590w@public.gmane.org>
  0 siblings, 1 reply; 29+ messages in thread
From: Tejun Heo @ 2013-07-10 18:42 UTC (permalink / raw)
  To: Anton Vorontsov; +Cc: Michal Hocko, cgroups-u79uwXL29TY76Z2rM5mHXA, Li Zefan

Hello, guys.

While auditing cgroup_subsys_state() usages, I noticed something weird
in vmpressure.  vmpressure() schedules vmpr->work where vmpr is
embedded in mem_cgroup but I can't find where it's flushed / canceled?
What prevents the memcg going away while the work item is pending or
in flight?

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2013-07-15 10:30 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-10 18:42 workqueue usage in vmpressure Tejun Heo
     [not found] ` <20130710184254.GA16979-9pTldWuhBndy/B6EtB590w@public.gmane.org>
2013-07-11  8:31   ` Michal Hocko
     [not found]     ` <20130711083110.GC21667-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-07-11  8:43       ` Li Zefan
     [not found]         ` <51DE701C.6010800-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-07-11  9:25           ` Michal Hocko
     [not found]             ` <20130711092542.GD21667-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-07-11  9:28               ` Li Zefan
     [not found]                 ` <51DE7AAF.6070004-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-07-11  9:33                   ` [PATCH v2] vmpressure: make sure memcg stays alive until all users are signaled Michal Hocko
2013-07-11 15:44                     ` Tejun Heo
     [not found]                       ` <20130711154408.GA9229-9pTldWuhBndy/B6EtB590w@public.gmane.org>
2013-07-11 16:22                         ` Michal Hocko
2013-07-11 16:32                           ` Tejun Heo
2013-07-12  8:40                             ` Michal Hocko
     [not found]                               ` <20130712084039.GA13224-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-07-12  9:20                                 ` Li Zefan
     [not found]                                   ` <51DFCA49.4080407-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-07-12  9:29                                     ` Michal Hocko
     [not found]                                       ` <20130712092927.GA15307-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-07-12  9:54                                         ` Li Zefan
2013-07-12 10:37                                           ` Michal Hocko
     [not found]                                             ` <20130712103731.GB15307-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-07-15  3:07                                               ` Li Zefan
2013-07-15  9:20                                                 ` Michal Hocko
     [not found]                                                   ` <20130715092033.GB26199-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-07-15  9:53                                                     ` Li Zefan
2013-07-12  9:24                               ` [PATCH 1/3] vmpressure: document why css_get/put is not necessary for work queue based signaling Michal Hocko
2013-07-12  9:24                                 ` [PATCH 2/3] vmpressure: change vmpressure::sr_lock to spinlock Michal Hocko
     [not found]                                 ` <1373621098-15261-1-git-send-email-mhocko-AlSwsSmVLrQ@public.gmane.org>
2013-07-12  9:24                                   ` [PATCH 3/3] vmpressure: do not check for pending work to prevent from new work Michal Hocko
2013-07-12 18:48                                 ` [PATCH 1/3] vmpressure: document why css_get/put is not necessary for work queue based signaling Tejun Heo
     [not found]                                   ` <20130712184836.GC23680-9pTldWuhBndy/B6EtB590w@public.gmane.org>
2013-07-15 10:27                                     ` Michal Hocko
2013-07-12 18:34                               ` [PATCH v2] vmpressure: make sure memcg stays alive until all users are signaled Tejun Heo
2013-07-12 18:40                                 ` Tejun Heo
     [not found]                           ` <20130711162215.GM21667-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-07-12  6:03                             ` Li Zefan
2013-07-15 10:30                         ` [PATCH v3 1/3] vmpressure: change vmpressure::sr_lock to spinlock Michal Hocko
2013-07-15 10:30                           ` [PATCH v3 2/3] vmpressure: do not check for pending work to prevent from new work Michal Hocko
2013-07-15 10:30                           ` [PATCH v3 3/3] vmpressure: Make sure there are no events queued after memcg is offlined Michal Hocko
2013-07-11  8:45       ` workqueue usage in vmpressure Li Zefan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).