Re: support pmsg record size larger than kmalloc limitation
From: Greg KH
Date: Tue Jun 27 2023 - 02:21:02 EST
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