I''m trying to debug a problem that requires I print the dirty pages (v_pages) list. Any suggestions? This message posted from opensolaris.org
On Tue, Jun 13, 2006 at 02:43:17PM -0700, Diane Fallier wrote:> I''m trying to debug a problem that requires I print the > dirty pages (v_pages) list. Any suggestions?You could breakpoint() into kmdb(1M), and do: addr::print vnode_t v_pages | ::list page_t p_vpnext to print out the list of pages off of the vnode. Otherwise, you''ll just have to walk the p_vpnext pointers by hand. Cheers, - jonathan -- Jonathan Adams, Solaris Kernel Development