From: Paolo Bonzini Subject: Re: [PATCH] idr: fix invalid ptr dereference on item delete Date: Fri, 11 May 2018 11:12:49 +0200 Message-ID: <2516f92a-a130-1c90-ff3c-dcff14d5c577@redhat.com> References: <20180510191634.18796-1-rkagan@virtuozzo.com> <52bd5b0b-a4bb-5426-3c92-edd7085faea3@redhat.com> <20180511055704.GB12563@rkaganip.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Roman Kagan , Dmitry Vyukov , Matthew Wilcox , syzbot , "H. Peter Anvin" , KVM list , LKML , Ingo Molnar , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , syzkaller-bugs , Thomas Gleixner , the arch/x86 maintainers , Cathy Avery , stable Return-path: In-Reply-To: <20180511055704.GB12563@rkaganip.lan> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 11/05/2018 07:57, Roman Kagan wrote: >>> Should radix-tree be compilable in userspace, so that we can add unit >>> tests for it?... >> Good point. >> >> For my education, what/where are the tests that run as user-space code? > Actually there are userspace tests for it under tools/tests/radix-tree, > but I didn't manage to get them to build. Looks like the recent > introduction of a spin_lock in the radix_tree structure (for XArray > work?) broke them. Oh cool, at least it means it was a good suggestion. :) Paolo