[PATCH v3] kexec: Replace kmap() with kmap_local_page()

2022-08-03 Thread Fabio M. De Francesco
kmap() is being deprecated in favor of kmap_local_page(). There are two main problems with kmap(): (1) It comes with an overhead as mapping space is restricted and protected by a global lock for synchronization and (2) it also requires global TLB invalidation when the kmap’s pool wraps and it migh

Re: [PATCH v2 08/13] tracing: Improve panic/die notifiers

2022-08-03 Thread Guilherme G. Piccoli
On 03/08/2022 06:52, Baoquan He wrote: > [...] >> >> Although the switch-case code of original trace_die_handler() is werid, >> this unification is not much more comfortable. Just personal feeling >> from code style, not strong opinion. Leave it to trace reviewers. > > Please ignore this comment.

Re: [PATCH v2 08/13] tracing: Improve panic/die notifiers

2022-08-03 Thread Baoquan He
On 08/03/22 at 05:36pm, Baoquan He wrote: > On 07/19/22 at 04:53pm, Guilherme G. Piccoli wrote: > > Currently the tracing dump_on_oops feature is implemented > > through separate notifiers, one for die/oops and the other > > for panic - given they have the same functionality, let's > > unify them.

Re: [PATCH v2 08/13] tracing: Improve panic/die notifiers

2022-08-03 Thread Baoquan He
On 07/19/22 at 04:53pm, Guilherme G. Piccoli wrote: > Currently the tracing dump_on_oops feature is implemented > through separate notifiers, one for die/oops and the other > for panic - given they have the same functionality, let's > unify them. > > Also improve the function comment and change th

Re: [PATCH v2 02/13] notifier: Add panic notifiers info and purge trailing whitespaces

2022-08-03 Thread Baoquan He
On 07/19/22 at 04:53pm, Guilherme G. Piccoli wrote: > Although many notifiers are mentioned in the comments, the panic > notifiers infrastructure is not. Also, the file contains some > trailing whitespaces. Fix both issues here. > > Cc: Arjan van de Ven > Cc: Cong Wang > Cc: Sebastian Andrzej Si