Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp3726436ima; Tue, 23 Oct 2018 10:14:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV63b721pI28lmptD3CFQA1rcYml8fEcNZFmIKS1nHQfRvCkSHyU+4Hd0oP0+HJBXetWcsxgp X-Received: by 2002:a62:2904:: with SMTP id p4-v6mr26394985pfp.233.1540314863714; Tue, 23 Oct 2018 10:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540314863; cv=none; d=google.com; s=arc-20160816; b=PUsrC3qhuKQWHO9lvQW3LyYYkYNDXg3uEwymuj7vPiLVz9dOXBA8ecZjthnBMsSj29 RAg0w9zk7IKWVJCGPbssznUEY2m2UT4Az2oCeja8fcBp4uEIhvL8gTqSH9cfJ18BTTSj 2bEkMt9T7h5VeP+Dre9t35JM23sptR0SkqOlniEaPT+J2W9y6a9FOQMTov5wr/I/gZWn WZtWEzB73OLf8UnsANrOTMH1DAdQbdtgrA4RzdU6CebQMotsVwRa4+LNqM1L4WyzLFdh crpH7jvGvescmrl53oGzB8Xz/ZzkJAy7YftJI5fF57DTEatNH9n9mu6braoZgr5Ey3VG TVJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=JEXo6IOv2kDTwKrajPbEqlDNTU2yqHHNyq0QX+bME4Y=; b=Q8Z6xa3aTkuMWplhEgDFcCuqiLBqnwwHnuJ1nPwiV8zj7Cs5GgchXi3xRP4Gq0GP8v IDI2y2XXwi0iQBNQ4m8tLx2FTkbTTDIYCsgxwfpMnQzQ2pFCGluuZhDRRmziL2VdlLKw A+YC0hdNxMvVJ+Wo55ZuCUnTRzbGRRjvdBS83UyXhsNhRkusP8ICOzKJXv6Hefmdx/ix 6/w4PzWUq4YYENlS8rxW6HEh1UhW+HU0f/HMwhbrg9ytajpBoDwZ/tZdmxL4ily2sQWL 9B1XW8IBiujyDqJeS+WTSaupzyUpXPGxdVu8XpcU+OUxAdhyUqbRwoVu5lUbZEpVrFJf vdvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s19mhOOL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n10-v6si1793037pgj.165.2018.10.23.10.14.06; Tue, 23 Oct 2018 10:14:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s19mhOOL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728462AbeJXBhy (ORCPT + 99 others); Tue, 23 Oct 2018 21:37:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:40336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727758AbeJXBhy (ORCPT ); Tue, 23 Oct 2018 21:37:54 -0400 Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3EB7720671; Tue, 23 Oct 2018 17:13:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540314818; bh=qekHBaA411MmJxUM02AiDi/UQKWIlGqpaEqPzbqOYoc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=s19mhOOLm5K+Bw967a+ehN7+ntUcKnTsNhgnlY8oKv3qUaqe5qamsAwJ0x7CE+LwF zGQWFV0Jkou+B8+ZAlUVAsa3wSkllWDWeAosRzT0IIgXIBzIwJ/A/eHYPKyvqOiCwn i7KKEosrx3n3OstZWHUeWTkDQLQf4XCgRxvp5yZY= Subject: Re: [RFC PATCH 0/2] improve vmalloc allocation To: Michal Hocko , Matthew Wilcox Cc: Uladzislau Rezki , Kees Cook , Andrew Morton , linux-mm@kvack.org, LKML , Thomas Garnier , Oleksiy Avramchenko , Steven Rostedt , Joel Fernandes , Thomas Gleixner , Ingo Molnar , Tejun Heo , Shuah Khan References: <20181019173538.590-1-urezki@gmail.com> <20181022125142.GD18839@dhcp22.suse.cz> <20181022165253.uphv3xzqivh44o3d@pc636> <20181023072306.GN18839@dhcp22.suse.cz> <20181023152640.GD20085@bombadil.infradead.org> <20181023170532.GW18839@dhcp22.suse.cz> From: Shuah Khan Message-ID: <98842edb-d462-96b1-311f-27c6ebfc108a@kernel.org> Date: Tue, 23 Oct 2018 11:13:36 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181023170532.GW18839@dhcp22.suse.cz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/23/2018 11:05 AM, Michal Hocko wrote: > On Tue 23-10-18 08:26:40, Matthew Wilcox wrote: >> On Tue, Oct 23, 2018 at 09:02:56AM -0600, Shuah Khan wrote: > [...] >>> The way it can be handled is by adding a test module under lib. test_kmod, >>> test_sysctl, test_user_copy etc. >> >> The problem is that said module can only invoke functions which are >> exported using EXPORT_SYMBOL. And there's a cost to exporting them, >> which I don't think we're willing to pay, purely to get test coverage. > > Yes, I think we do not want to export internal functionality which might > be still interesting for the testing coverage. Maybe we want something > like EXPORT_SYMBOL_KSELFTEST which would allow to link within the > kselftest machinery but it wouldn't allow the same for general modules > and will not give any API promisses. > I like this proposal. I think we will open up lot of test opportunities with this approach. Maybe we can use this stress test as a pilot and see where it takes us. thanks, -- Shuah