[RFC 11/12 v1] x86, rwsem: provide __down_write_killable

From: Michal Hocko
Date: Wed Feb 17 2016 - 11:42:20 EST


OK, so I have dropped patch 10 and reworked the x86 part to use the same
asm as __down_write uses. Does this look any better?

I am not an expert in inline asm so the way I am doing it might be not
optimal but at least the gerenated code looks sane (no changes for the
regular __down_write).
---