Re: [PATCH v2] MIPS: crash_dump.c: Simplify copy_oldmem_page()

2021-02-09 Thread Thomas Bogendoerfer
On Sun, Feb 07, 2021 at 03:24:09PM +0800, Youling Tang wrote: > Replace kmap_atomic_pfn() with kmap_local_pfn() which is preemptible and > can take page faults. > > Remove the indirection of the dump page and the related cruft which is not > longer required. > > Remove unused or redundant header

[PATCH v2] MIPS: crash_dump.c: Simplify copy_oldmem_page()

2021-02-06 Thread Youling Tang
Replace kmap_atomic_pfn() with kmap_local_pfn() which is preemptible and can take page faults. Remove the indirection of the dump page and the related cruft which is not longer required. Remove unused or redundant header files. Reported-by: kernel test robot Signed-off-by: Youling Tang --- v2