Re: [uml-devel] Connecting UML_SWITCH and Wireshark

2008-09-03 Thread Jeff Dike
On Mon, Sep 01, 2008 at 05:44:39PM +0200, Julien Iguchi-Cartigny wrote: > I'm using Netkit (www.netkit.org): it's a network simulator using UML > and I want to show packets exchanged between the UML machines. I believe > the best way is to > > - use wireshark with the flag "-" to capture packets i

Re: [uml-devel] [Pkg-uml-pkgs] Bug#495611: user-mode-linux: page_mapcount(page) went negative!

2008-09-03 Thread Jeff Dike
On Wed, Sep 03, 2008 at 12:01:19AM +0100, Graham Cobb wrote: > The bisection is complete. It took longer than I expected as many of the > versions git-bisect wanted to test would not build UML without tracking down > some additional patches. > > The bug seems to have been introduced with git c

Re: [uml-devel] [PATCH 5/6] slab: Annotate slab

2008-09-03 Thread Steve VanDeBogart
Hello Pekka, On Wed, 3 Sep 2008, Pekka Enberg wrote: > On Wed, Sep 3, 2008 at 8:08 AM, Steve VanDeBogart > <[EMAIL PROTECTED]> wrote: >> It is true that code above the allocator should not be touching free'd >> slab objects. However, it is also true that objects from slabs that >> have a constru

Re: [uml-devel] [PATCH 5/6] slab: Annotate slab

2008-09-03 Thread Pekka Enberg
On Wed, Sep 3, 2008 at 12:27 PM, Pekka Enberg <[EMAIL PROTECTED]> wrote: > On Wed, Sep 3, 2008 at 8:08 AM, Steve VanDeBogart > <[EMAIL PROTECTED]> wrote: >> Ideally, we'd tell Valgrind that the bytes of a free'd slab object are >> no longer accessible, but the initialized state should remain the sa

Re: [uml-devel] [PATCH 5/6] slab: Annotate slab

2008-09-03 Thread Pekka J Enberg
Hi, On Tue, 2 Sep 2008, John Reiser wrote: > With regard to Read-Copy-Update, I anticipate that RCU will require > special annotations because of the deliberate references after kfree > and before the next corresponding kmalloc. These special annotations > will require great care, because bugs in

Re: [uml-devel] [PATCH 4/6] VM: Annotate pagealloc

2008-09-03 Thread Pekka Enberg
Hi Steve, On Wed, Sep 3, 2008 at 8:25 AM, Steve VanDeBogart <[EMAIL PROTECTED]> wrote: >>> Index: linux-2.6.27-rc5/mm/page_alloc.c >>> @@ -1080,6 +1081,7 @@ >>> if (!page) >>> goto failed; >>> } >>> + VALGRIND_MAKE_MEM_UNDEFINED(page_address(page), P

Re: [uml-devel] [PATCH 5/6] slab: Annotate slab

2008-09-03 Thread Pekka Enberg
Hi Steve, On Wed, Sep 3, 2008 at 8:08 AM, Steve VanDeBogart <[EMAIL PROTECTED]> wrote: > Thank you for pointing out the location of the kmemcheck code. I looked > around briefly but didn't find the latest version. It does seem that > kmemcheck and Valgrind annotations want to live in the same pl