Re: [RFC][ only for review ] memory controller bacground reclaim [3/5] high/low watermark support in res_counter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > to me, it seems weird to prevent users from making these values back to
> > the default.
> > 
> will fix.
> LLONG_MAX-1 for high
> LLONG_MAX-2 for low ...?

imo it's better to simply allow low == high == limit.

> BTW, it should be "low + PAGE_SIZE < high + PAGE_SIZE < limit" ...?

it shouldn't, unless you are going to throw away the res_counter abstraction.

YAMAMOTO Takashi
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux