LOR (vm object - swap_pager swhash)

Roman Kurakin rik at cronyx.ru
Thu Jul 1 05:17:48 PDT 2004


Daniel Lang wrote:

>Hi,
>
>Jon Noack wrote on Thu, Jul 01, 2004 at 04:49:33AM -0500:
>[..]
>  
>
>>Yes, but I think the idea was to get it put on the FreeBSD web site 
>>first (Bjoern's been doing a great job, but it simplifies things a lot 
>>to have it on the FreeBSD web site).  I started working on this, but 
>><insert lame excuse> [1].
>>    
>>
>[..]
>
>How about just creating a redirect from the FreeBSD.org website?
>
>So that in the lor-code the message will refer to s.th. like
>
>http://www.freebsd.org/doc/bla/blubb/lor.html
>  
>
I came to the same idea while reading current. But my idea is more concrete:

--- subr_witness.c.orig Thu Jul  1 08:41:54 2004
+++ subr_witness.c      Thu Jul  1 09:12:31 2004
@@ -853,6 +853,8 @@ witness_checkorder(struct lock_object *l
                         * Ok, yell about it.
                         */
                        printf("lock order reversal\n");
+                       printf("before reporting please examine http://"
+                               "http://www.freebsd.org/doc/en_US.ISO8859-1/"
+				"books/faq/book.html#LOCK-ORDER-REVERSAL\n");
                        /*
                         * Try to locate an earlier lock with
                         * witness w in our list.

rik

>and lor.html just contains a META redirect tag to Bjoern's site?
>
>So the message can be included right now, without mentioning
>Bjoern's site in the code. If Bjoern's page (or the content)
>is actually moved to the FreeBSD webserver, the redirect
>can simply be removed.
>  
>
>Cheers,
> Daniel
>  
>





More information about the freebsd-current mailing list