From: Vladimir Davydov
A page is activated on refault if the refault distance stored in the
corresponding shadow entry is less than the number of active file pages.
Since active file pages can't occupy more than half memory, we assume
that the maximal effective refault distance can't be greater t
From: Joonsoo Kim
CPU partial support can introduce level of indeterminism that is not
wanted in certain context (like a realtime kernel). Make it
configurable.
This patch is based on Christoph Lameter's "slub: Make cpu partial slab
support configurable V2".
Acked-by: Christoph Lameter
Signed-
From: Johannes Weiner
Since commit 59dc76b0d4df ("mm: vmscan: reduce size of inactive file
list") the size of the active file list is no longer limited to half of
memory. Increase the shadow node limit accordingly to avoid throwing
out shadow entries that might still result in eligible refaults.
Setting slub_max_order to 0 makes slub to use minimum possible
order for slub page.
Pros:
- Less fragmentation of slab objects in slab pages -> less slab
consumption. E.g. on dvd-store test on machine with 256G this
saves us ~3G.
- Potentially faster in high memory fragmentation cases (
minor note, I hope Kostja will handle this during commit.
On 12/29/18 6:48 PM, Andrey Ryabinin wrote:
> + * Nodes might be sparsely populated, with only one shadow
> + * entry in the extreme case. Obviously, we cannot keep one
> + * node for every eligible shadow entry, so compromis
From: Joonsoo Kim
CPU partial support can introduce level of indeterminism that is not
wanted in certain context (like a realtime kernel). Make it
configurable.
This patch is based on Christoph Lameter's "slub: Make cpu partial slab
support configurable V2".
Acked-by: Christoph Lameter
Signed-
From: Johannes Weiner
Since commit 59dc76b0d4df ("mm: vmscan: reduce size of inactive file
list") the size of the active file list is no longer limited to half of
memory. Increase the shadow node limit accordingly to avoid throwing
out shadow entries that might still result in eligible refaults.
Setting slub_max_order to 0 makes slub to use minimum possible
order for slub page.
Pros:
- Less fragmentation of slab objects in slab pages -> less slab
consumption. E.g. on dvd-store test on machine with 256G this
saves us ~3G.
- Potentially faster in high memory fragmentation cases (
From: Vladimir Davydov
A page is activated on refault if the refault distance stored in the
corresponding shadow entry is less than the number of active file pages.
Since active file pages can't occupy more than half memory, we assume
that the maximal effective refault distance can't be greater t
single_open() allocates seq_operations struct, which leaked because
some 'proc_stat_ops', proc_classify_ops, proc_classify6_ops use seq_release
'release' callback instead of single_release. Fix this.
Signed-off-by: Andrey Ryabinin
---
net/ipv4/netfilter/ip_vzprivnet.c | 4 ++--
net/ipv6/netfilt
[This is not in ms kernel yet, but we are not interested in waiting
for next iteration (comment changing was reuested).
https://lkml.org/lkml/2018/12/28/457]
The [ip,ip6,arp]_tables use x_tables_info internally and the underlying
memory is already accounted to kmemcg. Do the same for ebtables. T
11 matches
Mail list logo