Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jul 2004 16:10:56 +0400
From:      Roman Kurakin <rik@cronyx.ru>
To:        Daniel Lang <dl@leo.org>
Cc:        FreeBSD current mailing list <current@freebsd.org>
Subject:   Re: LOR (vm object - swap_pager swhash)
Message-ID:  <40E3FF50.5050909@cronyx.ru>
In-Reply-To: <20040701103535.GA84499@atrbg11.informatik.tu-muenchen.de>
References:  <20040701061818.GA80579@lucky.net> <20040701063105.GA20785@xor.obsecurity.org> <200407011617.03053.doconnor@gsoft.com.au> <Pine.BSF.4.53.0407010706370.28103@e0-0.zab2.int.zabbadoz.net> <20040701083434.GA83951@atrbg11.informatik.tu-muenchen.de> <40E3DE2D.3020204@alumni.rice.edu> <20040701103535.GA84499@atrbg11.informatik.tu-muenchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>  
>





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40E3FF50.5050909>