From: Greg KH <gregkh@linuxfoundation.org>
To: Yuxiao Zhang <yuxiaozhang@google.com>
Cc: keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com,
linux-hardening@vger.kernel.org,
William Kennington <wak@google.com>,
linux-kernel@vger.kernel.org
Subject: Re: support pmsg record size larger than kmalloc limitation
Date: Tue, 27 Jun 2023 08:20:44 +0200 [thread overview]
Message-ID: <2023062715-eldercare-washed-3c29@gregkh> (raw)
In-Reply-To: <CAOOoKeQ=b4u1C_FZ-OFHSfVt5Z9xw1KtpJ4316zubt46Tny41Q@mail.gmail.com>
On Mon, Jun 26, 2023 at 06:20:29PM -0700, Yuxiao Zhang wrote:
> @@ -730,7 +731,7 @@ static void decompress_record(struct pstore_record *record)
> return;
>
> /* Swap out compressed contents with decompressed contents. */
> - kfree(record->buf);
> + kvfree(record->buf);
> record->buf = unzipped;
> record->size = unzipped_len;
> record->compressed = false;
> @@ -783,7 +784,7 @@ void pstore_get_backend_records(struct pstore_info *psi,
Patch is corrupted and can not be applied at all, please fix up your
email client to not do this.
thanks,
greg k-h
next prev parent reply other threads:[~2023-06-27 6:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-27 1:20 support pmsg record size larger than kmalloc limitation Yuxiao Zhang
2023-06-27 6:20 ` Greg KH [this message]
2023-06-27 17:05 ` Yuxiao Zhang
2023-06-27 17:35 ` Greg KH
2023-06-27 20:28 ` Yuxiao Zhang
[not found] ` <A82AEA54-16EC-4965-B024-D4D47C200D9D@gmail.com>
2023-06-27 17:37 ` Greg KH
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=2023062715-eldercare-washed-3c29@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=gpiccoli@igalia.com \
--cc=keescook@chromium.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tony.luck@intel.com \
--cc=wak@google.com \
--cc=yuxiaozhang@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox