Re: [RFC PATCH v2 0/7] Introduce persistent memory pool

2023-09-29 Thread Shutemov, Kirill
On Wed, Sep 27, 2023 at 07:46:36PM -0700, Stanislav Kinsburskii wrote: > I'd answer yes, "System MAP" must be persisted across kexec. > Could you elaborate on why there should be a mechanism to tell the > kernel anything special about the existent "System map" in this context? > Say, one can reserv

Re: [PATCH] kexec: Fix reboot race during device_shutdown()

2023-09-29 Thread Eric W. Biederman
"Joel Fernandes (Google)" writes: > During kexec reboot, it is possible for a race to occur between > device_shutdown() and userspace. This causes accesses to GPU after pm_runtime > suspend has already happened. Fix this by calling freeze_processes() before > device_shutdown(). Is there any rea

Re: [RFC PATCH v2 0/7] Introduce persistent memory pool

2023-09-29 Thread Stanislav Kinsburskii
On Fri, Sep 29, 2023 at 01:13:24PM +0300, Shutemov, Kirill wrote: > On Wed, Sep 27, 2023 at 07:46:36PM -0700, Stanislav Kinsburskii wrote: > > I'd answer yes, "System MAP" must be persisted across kexec. > > Could you elaborate on why there should be a mechanism to tell the > > kernel anything spec