Re: [PATCH pstore-next v2 0/4] Refactor compression initialization
From: Guenter Roeck
Date: Thu Oct 18 2018 - 18:01:30 EST
On Thu, Oct 18, 2018 at 11:56:12AM -0700, Kees Cook wrote:
> Sai noticed pstore wasn't catching early crashes, so Joel fixed it
> by moving init earlier again (with compression init done later). I
> refactored things a bit to avoid modular build problems noticed by
> Guenter. And while doing this work, I also improved /proc/iomem labels
> after Dan helped me get NVDIMM working so I could meaningfully test the
> very early crash handling.
>
> Thanks everyone!
>
This version fixes the compile failure. pstore also still works with the
series applied on top of v4.19-rc8; tested on a Chromebook.
Tested-by: Guenter Roeck <groeck@xxxxxxxxxxxx>
Guenter
> -Kees
>
> v2:
> - add init refactoring to avoid modular build failures.
>
>
> Joel Fernandes (Google) (1):
> pstore: Allocate compression during late_initcall()
>
> Kees Cook (3):
> pstore: Centralize init/exit routines
> pstore: Refactor compression initialization
> pstore/ram: Clarify resource reservation labels
>
> fs/pstore/inode.c | 11 +-----
> fs/pstore/internal.h | 5 ++-
> fs/pstore/platform.c | 75 +++++++++++++++++++++++++++++++-------
> fs/pstore/ram.c | 18 +++++++--
> fs/pstore/ram_core.c | 11 ++++--
> include/linux/pstore_ram.h | 3 +-
> 6 files changed, 90 insertions(+), 33 deletions(-)
>
> --
> 2.17.1
>