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

Linus Torvalds torvalds at linux-foundation.org
Sun Sep 20 17:42:55 UTC 2020


On Sun, Sep 20, 2020 at 10:40 AM Thomas Gleixner <tglx at linutronix.de> 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


More information about the dri-devel mailing list