On Fri, Nov 30, 2012 at 03:47:25PM -0200, Luiz Capitulino wrote:
[...]
> > Query-and-control scheme looks very attractive, and that's actually
> > resembles my "balance" level idea, when userland tells the kernel how much
> > reclaimable memory it has. Except the your scheme works in the reverse
>
Hi Luiz,
Thanks for your email!
On Fri, Nov 30, 2012 at 03:47:25PM -0200, Luiz Capitulino wrote:
[...]
> > But there is one, rather major issue: we're crossing kernel-userspace
> > boundary. And with the scheme we'll have to cross the boundary four times:
> > query / reply-available / control /
Hi Luiz,
Thanks for your email!
On Fri, Nov 30, 2012 at 03:47:25PM -0200, Luiz Capitulino wrote:
[...]
But there is one, rather major issue: we're crossing kernel-userspace
boundary. And with the scheme we'll have to cross the boundary four times:
query / reply-available / control /
On Fri, Nov 30, 2012 at 03:47:25PM -0200, Luiz Capitulino wrote:
[...]
Query-and-control scheme looks very attractive, and that's actually
resembles my balance level idea, when userland tells the kernel how much
reclaimable memory it has. Except the your scheme works in the reverse
On Wed, 28 Nov 2012 17:27:51 -0800
Anton Vorontsov wrote:
> On Wed, Nov 28, 2012 at 03:14:32PM -0800, Andrew Morton wrote:
> [...]
> > Compare this with the shrink_slab() shrinkers. With these, the VM can
> > query and then control the clients. If something goes wrong or is out
> > of balance,
On Wed, 28 Nov 2012 17:27:51 -0800
Anton Vorontsov anton.voront...@linaro.org wrote:
On Wed, Nov 28, 2012 at 03:14:32PM -0800, Andrew Morton wrote:
[...]
Compare this with the shrink_slab() shrinkers. With these, the VM can
query and then control the clients. If something goes wrong or is
On Thu, Nov 29, 2012 at 08:14:13AM +0200, Kirill A. Shutemov wrote:
> On Wed, Nov 28, 2012 at 02:29:08AM -0800, Anton Vorontsov wrote:
> > +static int mpc_pre_destroy(struct cgroup *cg)
> > +{
> > + struct mpc_state *mpc = cg2mpc(cg);
> > + int ret = 0;
> > +
> > + mutex_lock(>lock);
> > +
>
On Wed, Nov 28, 2012 at 02:29:08AM -0800, Anton Vorontsov wrote:
> +static int mpc_pre_destroy(struct cgroup *cg)
> +{
> + struct mpc_state *mpc = cg2mpc(cg);
> + int ret = 0;
> +
> + mutex_lock(>lock);
> +
> + if (mpc->eventfd)
> + ret = -EBUSY;
cgroup_rmdir() will
Hello Michal,
Thanks a lot for taking a look into this!
On Wed, Nov 28, 2012 at 05:29:24PM +0100, Michal Hocko wrote:
> On Wed 28-11-12 02:29:08, Anton Vorontsov wrote:
> > This is an attempt to implement David Rientjes' idea of mempressure
> > cgroup.
> >
> > The main characteristics are the
On Wed, Nov 28, 2012 at 05:27:51PM -0800, Anton Vorontsov wrote:
> On Wed, Nov 28, 2012 at 03:14:32PM -0800, Andrew Morton wrote:
> [...]
> > Compare this with the shrink_slab() shrinkers. With these, the VM can
> > query and then control the clients. If something goes wrong or is out
> > of
On Wed, Nov 28, 2012 at 03:14:32PM -0800, Andrew Morton wrote:
[...]
> Compare this with the shrink_slab() shrinkers. With these, the VM can
> query and then control the clients. If something goes wrong or is out
> of balance, it's the VM's problem to solve.
>
> So I'm thinking that a better
On Wed, 28 Nov 2012 02:29:08 -0800
Anton Vorontsov wrote:
> The main characteristics are the same to what I've tried to add to vmevent
> API:
>
> Internally, it uses Mel Gorman's idea of scanned/reclaimed ratio for
> pressure index calculation. But we don't expose the index to the
>
On Wed 28-11-12 02:29:08, Anton Vorontsov wrote:
> This is an attempt to implement David Rientjes' idea of mempressure
> cgroup.
>
> The main characteristics are the same to what I've tried to add to vmevent
> API:
>
> Internally, it uses Mel Gorman's idea of scanned/reclaimed ratio for
>
This is an attempt to implement David Rientjes' idea of mempressure
cgroup.
The main characteristics are the same to what I've tried to add to vmevent
API:
Internally, it uses Mel Gorman's idea of scanned/reclaimed ratio for
pressure index calculation. But we don't expose the index to the
This is an attempt to implement David Rientjes' idea of mempressure
cgroup.
The main characteristics are the same to what I've tried to add to vmevent
API:
Internally, it uses Mel Gorman's idea of scanned/reclaimed ratio for
pressure index calculation. But we don't expose the index to the
On Wed 28-11-12 02:29:08, Anton Vorontsov wrote:
This is an attempt to implement David Rientjes' idea of mempressure
cgroup.
The main characteristics are the same to what I've tried to add to vmevent
API:
Internally, it uses Mel Gorman's idea of scanned/reclaimed ratio for
pressure
On Wed, 28 Nov 2012 02:29:08 -0800
Anton Vorontsov anton.voront...@linaro.org wrote:
The main characteristics are the same to what I've tried to add to vmevent
API:
Internally, it uses Mel Gorman's idea of scanned/reclaimed ratio for
pressure index calculation. But we don't expose the
On Wed, Nov 28, 2012 at 03:14:32PM -0800, Andrew Morton wrote:
[...]
Compare this with the shrink_slab() shrinkers. With these, the VM can
query and then control the clients. If something goes wrong or is out
of balance, it's the VM's problem to solve.
So I'm thinking that a better design
On Wed, Nov 28, 2012 at 05:27:51PM -0800, Anton Vorontsov wrote:
On Wed, Nov 28, 2012 at 03:14:32PM -0800, Andrew Morton wrote:
[...]
Compare this with the shrink_slab() shrinkers. With these, the VM can
query and then control the clients. If something goes wrong or is out
of balance,
Hello Michal,
Thanks a lot for taking a look into this!
On Wed, Nov 28, 2012 at 05:29:24PM +0100, Michal Hocko wrote:
On Wed 28-11-12 02:29:08, Anton Vorontsov wrote:
This is an attempt to implement David Rientjes' idea of mempressure
cgroup.
The main characteristics are the same to
On Wed, Nov 28, 2012 at 02:29:08AM -0800, Anton Vorontsov wrote:
+static int mpc_pre_destroy(struct cgroup *cg)
+{
+ struct mpc_state *mpc = cg2mpc(cg);
+ int ret = 0;
+
+ mutex_lock(mpc-lock);
+
+ if (mpc-eventfd)
+ ret = -EBUSY;
cgroup_rmdir() will
On Thu, Nov 29, 2012 at 08:14:13AM +0200, Kirill A. Shutemov wrote:
On Wed, Nov 28, 2012 at 02:29:08AM -0800, Anton Vorontsov wrote:
+static int mpc_pre_destroy(struct cgroup *cg)
+{
+ struct mpc_state *mpc = cg2mpc(cg);
+ int ret = 0;
+
+ mutex_lock(mpc-lock);
+
+ if
22 matches
Mail list logo