Oh dear, that's an interesting case, too.
__add_to_page_cache() blindly sets the PG_locked bit, but
it's possible for other functions to acquire the page lock
before that.
This means 2 CPUs could think they're holding the page
lock for this page at the same time.
I don't see anything preventing this from happening,
except the absence of code paths trying to directly
grab hold of physical pages ;)
regards,
Rik
-- Shortwave goes a long way: irc.starchat.net #swlhttp://www.surriel.com/ http://distro.conectiva.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/