Date: Tue, 25 Aug 1998 02:22:47 -0500 (EST) From: "John S. Dyson" <dyson@iquest.net> To: current@FreeBSD.ORG Subject: Serious bug in vm_page.h in current Message-ID: <199808250722.CAA04575@dyson.iquest.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
PAGE_BUSY is used to set the busy flag, and not the busy
bitmask. Attachment contains patch.
--
John | Never try to teach a pig to sing,
dyson@iquest.net | it makes one look stupid
jdyson@nc.com | and it irritates the pig.
[-- Attachment #2 --]
Index: vm_page.h
===================================================================
RCS file: /local/home/ncvs/src/sys/vm/vm_page.h,v
retrieving revision 1.44
diff -C2 -r1.44 vm_page.h
*** vm_page.h 1998/08/24 08:39:38 1.44
--- vm_page.h 1998/08/25 07:20:55
***************
*** 299,303 ****
}
! #define PAGE_BUSY(m) atomic_add_char(&(m)->busy, 1)
#define PAGE_BWAKEUP(m) { \
--- 299,303 ----
}
! #define PAGE_BUSY(m) PAGE_SET_FLAG(m, PG_BUSY)
#define PAGE_BWAKEUP(m) { \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808250722.CAA04575>
