All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>
Cc: devel@openvz.org, Artem Bulgakov <artem.bulgakov@virtuozzo.com>
Subject: Re: [Devel] [PATCH hci-8.2] fs/pipe: use kvfree() for the buffer arrays of a resized pipe
Date: Tue, 01 Dec 2026 16:24:17 +0100	[thread overview]
Message-ID: <179613865714.1933540.15571623108450310506.b4-review@b4> (raw)
In-Reply-To: <20261201-pipe-resize-kvfree-v1-1-0a27f34709e0@virtuozzo.com>

Applying with these fixes on my side:
- Fixes: moved above the Jira URL, as in the vz commit template

On Tue, 1 Dec 2026 12:41:16 +0000, Vasileios Almpanis wrote:
> vmalloc(), and kfree() of a vmalloc address crashes the node. Host root
> hits it with a filled 1 GiB pipe shrunk to 512 MiB:

Not only host root: kvcalloc() tries kmalloc with __GFP_NORETRY first
for anything above a page and falls back to vmalloc when it fails. A
task in a Container near its memory limit can grow a pipe to 1 MiB,
fill it and shrink it, and get the same oops. Worth knowing when
deciding on a ReadyKernel patch; no change needed here.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

  parent reply	other threads:[~2026-12-01 15:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 12:41 Vasileios Almpanis
2026-12-01 12:44 ` no-reply
2026-12-01 13:08 ` Pavel Tikhomirov
2026-12-01 15:24 ` Konstantin Khorenko [this message]
2026-12-01 15:24 ` Konstantin Khorenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179613865714.1933540.15571623108450310506.b4-review@b4 \
    --to=khorenko@virtuozzo.com \
    --cc=artem.bulgakov@virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=vasileios.almpanis@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.