Re: [PATCH v3 4/4] Documentation/vm: Rework "Temporary Virtual Mappings" section

From: Sebastian Andrzej Siewior
Date: Thu Apr 28 2022 - 12:34:58 EST


On 2022-04-28 13:14:30 [+0200], Fabio M. De Francesco wrote:
> > > + should be only used if it is absolutely required, otherwise
> kmap_local_page()
> > > + should be used where it is feasible.
> >
> > I'm not keen about the "absolutely required" wording and "feasible".
> > That said, the other pieces look good, thank you for the work.
>
> I'll rewrite the last part of this sentence as it follows:
>
> + should be only used if it is required, otherwise kmap_local_page()
> + should be preferred.

Yeah, my point is that it shouldn't be required. Using a kmap_atomic()
mapping only because it is not limited to a thread/ CPU sounds wrong.
This shouldn't be a valid requirement. Therefore kmap_local() should
always be the way to go.

Anyway, I can live with that and hopefully that interface will removed
soon :) You yourself, as you pointed out, removed a user or two so I'm
confident that it will happen at some point ;)

> Thank you so much for the time you have spent for reviewing and helping,

You are welcome.

> Fabio

Sebastian