cvs commit: src/sys/vm swap_pager.c

Alfred Perlstein alfred at freebsd.org
Wed Jun 23 14:50:04 PDT 2004


* Bruce M Simpson <bms at FreeBSD.org> [040623 08:15] wrote:
> bms         2004-06-23 15:15:07 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/vm               swap_pager.c 
>   Log:
>   In swap_pager_getpages(), bp->b_dev can be NULL, particularly for the
>   case of NFS mounted swap, so do not try to dereference it.
>   
>   While we're here, brucify the printf() call which happens when we
>   time out on acquisition of vm_page_queue_mtx.

FYI, You're not timing out on the mutex, you're timing out on waiting
for the swap record to be serviced.

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684


More information about the cvs-src mailing list