diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2010-07-08 08:39:02 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2010-07-08 08:39:02 +0000 |
commit | 83d5d2963ea091521363b613f635739eabf45aca (patch) | |
tree | 30df2c4af2f3ee08e05bab31ac3247c8fbb9a873 /sys/dev/agp | |
parent | 1d9e77f6bf11a6d302dbe5a0479889bffc350a69 (diff) | |
download | src-83d5d2963ea091521363b613f635739eabf45aca.tar.gz src-83d5d2963ea091521363b613f635739eabf45aca.zip |
Notes
Diffstat (limited to 'sys/dev/agp')
-rw-r--r-- | sys/dev/agp/agp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c index 577a7e9ec957..ab48085109e7 100644 --- a/sys/dev/agp/agp.c +++ b/sys/dev/agp/agp.c @@ -537,8 +537,8 @@ agp_generic_bind_memory(device_t dev, struct agp_memory *mem, /* * Allocate the pages early, before acquiring the lock, - * because vm_page_grab() used with VM_ALLOC_RETRY may - * block and we can't hold a mutex while blocking. + * because vm_page_grab() may sleep and we can't hold a mutex + * while sleeping. */ VM_OBJECT_LOCK(mem->am_obj); for (i = 0; i < mem->am_size; i += PAGE_SIZE) { |