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

Linus Torvalds torvalds at linux-foundation.org
Mon Sep 21 03:42:55 AEST 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 Linuxppc-dev mailing list