[Devel] [PATCH vz9] Fix GRE

2023-01-24 Thread Nikolay Borisov
Fix GRE support in container by disabling erspan, this is needed as the newly added erspan support isn't enabled for per-container operation. Furthermore this is a cisco-specific protocol supported on some catalyst switched, used for traffic mirroring. https://jira.sw.ru/browse/PSBM-144221 Signed

Re: [Devel] [PATCH vz9 v3] mm: per memory cgroup page cache limit

2023-01-24 Thread nb
On 20.01.23 г. 14:39 ч., Alexander Atanasov wrote: From: Andrey Ryabinin Forward port feature: mm: per memory cgroup page cache limit. The original implementation consisted of these commits: commit 758d52e33a67 ("configs: Enable CONFIG_PAGE_EXTENSION") commit 741beaa93c89 ("mm: introduce pag

Re: [Devel] [PATCH vz9 v3] mm: per memory cgroup page cache limit

2023-01-24 Thread Alexander Atanasov
On 24.01.23 10:21, nb wrote: @@ -2260,9 +2263,16 @@ static bool consume_stock(struct mem_cgroup *memcg, unsigned int nr_pages)   local_lock_irqsave(&memcg_stock.stock_lock, flags);   stock = this_cpu_ptr(&memcg_stock); -    if (memcg == stock->cached && stock->nr_pages >= nr_pages) { -