Tag: 0aa3f139cd5123ffb8f397b91d777635e9761c24

staging: Use GFP_ATOMIC when a lock is held

Author: Julia Lawall <julia@diku.dk> In each case, the containing function is only called from one place, where a spin lock is held. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @gfp exists@ identifier fn; position p; @@ fn(…) { … when != spin_unlock when any GFP_KERNEL@p … when any } @locked@ …

Continue reading