a page might be locked because it is having IO or migration.
each zone has a hash table of wait queues. there is a waiting on a bit mechanism. when a process waits on a page, it actually waits on a page flag bit inside a wait queue from that zone hash table.
pagemap.h:lock_page(), filemap.c:page_waitqueue()
Subscribe to:
Post Comments (Atom)
This comment has been removed by the author.
ReplyDelete