All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Paul Menage <menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
	Balbir Singh
	<balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>,
	Andrew Morton
	<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
	Pavel Emelyanov <xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
Subject: [PATCH RFC v0 2/3] res_counter: implement thresholds
Date: Thu, 26 Nov 2009 18:27:37 +0200	[thread overview]
Message-ID: <8524ba285f6dd59cda939c28da523f344cdab3da.1259248846.git.kirill__18409.1672570959$1259252927$gmane$org@shutemov.name> (raw)
In-Reply-To: <bc4dc055a7307c8667da85a4d4d9d5d189af27d5.1259248846.git.kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>
In-Reply-To: <cover.1259248846.git.kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>

It allows to setup two thresholds: one above current usage and one
below. Callback threshold_notifier() will be called if a threshold is
crossed.

Signed-off-by: Kirill A. Shutemov <kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>

-- 
1.6.5.3

  parent reply	other threads:[~2009-11-26 16:27 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-26 16:27 [PATCH RFC v0 0/3] cgroup notifications API and memory thresholds Kirill A. Shutemov
2009-11-26 16:27 ` Kirill A. Shutemov
2009-11-26 16:27 ` [PATCH RFC v0 1/3] cgroup: implement eventfd-based generic API for notifications Kirill A. Shutemov
2009-11-26 16:27   ` Kirill A. Shutemov
2009-11-26 16:27   ` [PATCH RFC v0 2/3] res_counter: implement thresholds Kirill A. Shutemov
2009-11-26 16:27     ` Kirill A. Shutemov
2009-11-26 16:27     ` [PATCH RFC v0 3/3] memcg: implement memory thresholds Kirill A. Shutemov
2009-11-26 16:27       ` Kirill A. Shutemov
     [not found]       ` <d977350fcc9bc3e1fe484440c1fc3a7470a4e26b.1259248846.git.kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>
2009-11-26 17:03         ` Balbir Singh
2009-11-26 17:03       ` Balbir Singh
2009-11-26 17:03         ` Balbir Singh
2009-11-26 17:11         ` Kirill A. Shutemov
2009-11-26 17:11           ` Kirill A. Shutemov
     [not found]         ` <661de9470911260903h4996070emec678f09a7ba2c9e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-26 17:11           ` Kirill A. Shutemov
     [not found] ` <cover.1259248846.git.kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>
2009-11-26 16:27   ` [PATCH RFC v0 1/3] cgroup: implement eventfd-based generic API for notifications Kirill A. Shutemov
     [not found]   ` <bc4dc055a7307c8667da85a4d4d9d5d189af27d5.1259248846.git.kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>
2009-11-26 16:27     ` Kirill A. Shutemov [this message]
     [not found]   ` <8524ba285f6dd59cda939c28da523f344cdab3da.1259248846.git.kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>
2009-11-26 16:27     ` [PATCH RFC v0 3/3] memcg: implement memory thresholds Kirill A. Shutemov
2009-11-26 17:02   ` [PATCH RFC v0 0/3] cgroup notifications API and " Daniel Lezcano
2009-11-26 17:02 ` Daniel Lezcano
2009-11-26 17:02   ` Daniel Lezcano
     [not found]   ` <4B0EB4B6.5000702-GANU6spQydw@public.gmane.org>
2009-11-26 18:38     ` Kirill A. Shutemov
2009-11-26 18:38   ` Kirill A. Shutemov
2009-11-26 18:38     ` Kirill A. Shutemov
2009-11-26 17:11 Kirill A. Shutemov
2009-11-26 17:11 ` [PATCH RFC v0 1/3] cgroup: implement eventfd-based generic API for notifications Kirill A. Shutemov
     [not found]   ` <cover.1259255307.git.kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>
     [not found]     ` <bc4dc055a7307c8667da85a4d4d9d5d189af27d5.1259255307.git.kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>
2009-11-26 17:11       ` [PATCH RFC v0 2/3] res_counter: implement thresholds Kirill A. Shutemov
2009-11-26 17:11   ` Kirill A. Shutemov
2009-11-26 17:11     ` Kirill A. Shutemov
2009-11-27  0:20     ` Daisuke Nishimura
2009-11-27  0:20       ` Daisuke Nishimura
2009-11-27  2:45       ` KAMEZAWA Hiroyuki
2009-11-27  2:45         ` KAMEZAWA Hiroyuki
     [not found]         ` <20091127114511.bbb43d5a.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2009-11-27  3:08           ` Balbir Singh
2009-11-27  3:08         ` Balbir Singh
2009-11-27  3:08           ` Balbir Singh
2009-11-27  7:08           ` Kirill A. Shutemov
2009-11-27  7:08             ` Kirill A. Shutemov
     [not found]           ` <661de9470911261908i4bb51e91v649025e6c75bd91b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-27  7:08             ` Kirill A. Shutemov
     [not found]       ` <20091127092035.bbf2efdc.nishimura-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2009-11-27  2:45         ` KAMEZAWA Hiroyuki
     [not found]     ` <8524ba285f6dd59cda939c28da523f344cdab3da.1259255307.git.kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org>
2009-11-27  0:20       ` Daisuke Nishimura

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='8524ba285f6dd59cda939c28da523f344cdab3da.1259248846.git.kirill__18409.1672570959$1259252927$gmane$org@shutemov.name' \
    --to=kirill-okw7cidhh8elwutg50ltga@public.gmane.org \
    --cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org \
    --cc=menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.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 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.