login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
16
Re: [PATCH 1/6] res_counter: handle limit change
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Pavel Emelyanov
Subject:
Re: [PATCH 1/6] res_counter: handle limit change
Date: Monday, June 16, 2008 - 1:59 am
Balbir Singh wrote:
quoted text
> KAMEZAWA Hiroyuki wrote: >> Add a support to shrink_usage_at_limit_change feature to res_counter. >> memcg will use this to drop pages. >> >> Change log: xxx -> v4 (new file.) >> - cut out the limit-change part from hierarchy patch set. >> - add "retry_count" arguments to shrink_usage(). This allows that we don't >> have to set the default retry loop count. >> - res_counter_check_under_val() is added to support subsystem. >> - res_counter_init() is res_counter_init_ops(cnt, NULL) >> >> Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> >> > > Does shrink_usage() really belong to res_counters? Could a task limiter, a > CPU/IO bandwidth controller use this callback? Resource Counters were designed > to be generic and work across controllers. Isn't the memory controller a better > place for such ops.
Well, this was my point, I just couldn't express this in an understandable manner. We're discussing this right now :) --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/6] memcg: hierarchy updates (v4)
, KAMEZAWA Hiroyuki
, (Fri Jun 13, 2:27 am)
[PATCH 1/6] res_counter: handle limit change
, KAMEZAWA Hiroyuki
, (Fri Jun 13, 2:29 am)
[PATCH 2/6] memcg: handle limit change
, KAMEZAWA Hiroyuki
, (Fri Jun 13, 2:30 am)
[PATCH 3/6] memcg: reset limit at rmdir
, KAMEZAWA Hiroyuki
, (Fri Jun 13, 2:31 am)
[PATCH 4/6] res_counter: basic hierarchy support
, KAMEZAWA Hiroyuki
, (Fri Jun 13, 2:34 am)
[PATCH 5/6] res_counter: HARDWALL hierarchy
, KAMEZAWA Hiroyuki
, (Fri Jun 13, 2:36 am)
[PATCH 6/6] memcg: HARDWALL hierarchy
, KAMEZAWA Hiroyuki
, (Fri Jun 13, 2:37 am)
Re: [PATCH 1/6] res_counter: handle limit change
, Pavel Emelyanov
, (Sun Jun 15, 11:38 pm)
Re: Re: [PATCH 1/6] res_counter: handle limit change
, kamezawa.hiroyu
, (Mon Jun 16, 12:39 am)
Re: [PATCH 1/6] res_counter: handle limit change
, Pavel Emelyanov
, (Mon Jun 16, 12:51 am)
Re: Re: [PATCH 1/6] res_counter: handle limit change
, kamezawa.hiroyu
, (Mon Jun 16, 1:17 am)
Re: [PATCH 1/6] res_counter: handle limit change
, Pavel Emelyanov
, (Mon Jun 16, 1:23 am)
Re: Re: [PATCH 1/6] res_counter: handle limit change
, kamezawa.hiroyu
, (Mon Jun 16, 1:32 am)
Re: [PATCH 1/6] res_counter: handle limit change
, Pavel Emelyanov
, (Mon Jun 16, 1:47 am)
Re: Re: Re: [PATCH 1/6] res_counter: handle limit change
, kamezawa.hiroyu
, (Mon Jun 16, 1:53 am)
Re: [PATCH 1/6] res_counter: handle limit change
, Balbir Singh
, (Mon Jun 16, 1:57 am)
Re: [PATCH 1/6] res_counter: handle limit change
, Pavel Emelyanov
, (Mon Jun 16, 1:59 am)
Re: [PATCH 1/6] res_counter: handle limit change
, Pavel Emelyanov
, (Mon Jun 16, 2:00 am)
Re: Re: [PATCH 1/6] res_counter: handle limit change
, kamezawa.hiroyu
, (Mon Jun 16, 2:01 am)
Re: Re: [PATCH 1/6] res_counter: handle limit change
, kamezawa.hiroyu
, (Mon Jun 16, 2:04 am)
Re: [PATCH 1/6] res_counter: handle limit change
, Balbir Singh
, (Mon Jun 16, 5:29 am)
Re: Re: [PATCH 1/6] res_counter: handle limit change
, kamezawa.hiroyu
, (Mon Jun 16, 6:26 am)
Re: [PATCH 1/6] res_counter: handle limit change
, Paul Menage
, (Thu Jun 19, 10:09 pm)
Re: [PATCH 6/6] memcg: HARDWALL hierarchy
, Randy Dunlap
, (Mon Jun 23, 3:29 pm)
Re: [PATCH 4/6] res_counter: basic hierarchy support
, Randy Dunlap
, (Mon Jun 23, 3:37 pm)
Re: [PATCH 1/6] res_counter: handle limit change
, Randy Dunlap
, (Mon Jun 23, 3:40 pm)
Re: [PATCH 6/6] memcg: HARDWALL hierarchy
, KAMEZAWA Hiroyuki
, (Mon Jun 23, 8:37 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate