Re: LOR (vm object - swap_pager swhash)

From: Roman Kurakin <rik_at_cronyx.ru>
Date: Thu, 01 Jul 2004 16:10:56 +0400
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
_at__at_ -853,6 +853,8 _at__at_ 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
>  
>
Received on Thu Jul 01 2004 - 10:17:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:59 UTC