Re: [patch RFC 00/15] mm/highmem: Provide a preemptible variant of kmap_atomic & friends

From: Linus Torvalds
Date: Sun Sep 20 2020 - 13:43:19 EST


On Sun, Sep 20, 2020 at 10:40 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> I think the more obvious solution is to split the whole exercise:
>
> schedule()
> prepare_switch()
> unmap()
>
> switch_to()
>
> finish_switch()
> map()

Yeah, that looks much easier to explain. Ack.

Linus