Messages in this thread |  | | From | "Manfred Spraul" <> | Subject | Re: [SMP lock BUG?] Re: Feedback on preemptible kernel patch | Date | Sun, 9 Sep 2001 09:38:16 +0200 |
| |
> #define kmap_atomic(page,idx) ctx_sw_off(); kmap(page); > #define kunmap_atomic(page,idx) ctx_sw_on(); kunmap(page); > No. kmap_atomic is called from interrupt context, and kmap calls schedule().
I thought about the attached patch (completely untested).
-- Manfred [unhandled content-type:application/octet-stream]
|  |