public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* set_page_dirty/page_launder deadlock
@ 2001-01-14  3:21 Marcelo Tosatti
  2001-01-14 13:27 ` David S. Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Marcelo Tosatti @ 2001-01-14  3:21 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel


Hi,

While taking a look at page_launder()...

                 /* And re-start the thing.. */
                 spin_lock(&pagemap_lru_lock); 	<----------
                 if (result != 1)
                 	continue;
                 /* writepage refused to do anything */
                 set_page_dirty(page);
	      	 ^^^^^^^^^^^^^^^^^^^^
       		 goto page_active;
            }


set_page_dirty() may lock the pagecache_lock which means potential
deadlock since we have the pagemap_lru_lock locked.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-01-23 18:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-14  3:21 set_page_dirty/page_launder deadlock Marcelo Tosatti
2001-01-14 13:27 ` David S. Miller
2001-01-14 18:56   ` Linus Torvalds
2001-01-17 19:57     ` Chris Mason
2001-01-19 17:44     ` Christoph Rohland
2001-01-23 18:28       ` Hugh Dickins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox