On Mon 14-12-15 12:03:20, Michal Hocko wrote: > JFYI: Andrey Ryabinin has noticed that this might be related to > http://lkml.kernel.org/r/capasagzroqaabhota_o-mzocnikjptwjlfekqj3n5mbbm0t...@mail.gmail.com > > and indeed if somebody with pending signals would do wait_on_page_locked > then it could race AFAIU.
No, a simple lock_page would fail to lock the page (thanks Andrey for the clarification in the parallel email thread). I have missed that __lock_page uses bit_wait_io and that would return EINTR when using signal_pending. The fix has changed that to singnal_pending_state so this will not happen anymore. I think the mystery is solved... -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

