Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1162082lqt; Tue, 19 Mar 2024 14:56:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXN76qWzetvJ/Ly+CIU6cFBB/3QMXKbKWFsnIOCsQJ+nqwOlAoDbNG/8Q5IVliQCUrUMoOWfx/eEXXMbiNcmL0l1v+K2Io9cA6666zfVg== X-Google-Smtp-Source: AGHT+IHmEfJzDJOh2h4j9uHJ6tVXR0hT1Nd2WXSJqxzXYAg3RYcCoHOz8BX8NnarzzmVq2tnUI7c X-Received: by 2002:a17:906:f91:b0:a46:2e1c:2a6f with SMTP id q17-20020a1709060f9100b00a462e1c2a6fmr3715325ejj.2.1710885413225; Tue, 19 Mar 2024 14:56:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710885413; cv=pass; d=google.com; s=arc-20160816; b=O0GDwIOjpKAlepNn3w5Tp1tSAh04lYSdPRHve2Em1+9m0jJtnFOG7lSnCToOITz+Ly Lcam5ZrrpXVaSiORGNRNWG6gDDHF2kgBPKsKFFXGVaXiYjguP2cgWHlPKBCFTrCW/SEH pUilEBh/bZE7sGQr60ytENNoeY9Yes/PmD3BAoAeky+8VBc7HHro+tOSx//M9CRFZDRu 3b85g2rlyiBSN5gH3kSy12j6jWfayQNSUgCK0ErHsNjFRchpT+UvOTMJH0tYXvX4yih2 RdkG55J8mHUR8ICvFNsCJc2FmOQ/21T5uzN2TQslTUSpUGex5t/Mg6bUiR3PuIn7JzZK rEnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dsegeZP0v2buC7Ra1kGyqd65Xn7lq1i4qwqz8fULl8Y=; fh=jrvHgYiy77lDiIcih8aVJlpO7vfgPZj761CEB2LFGp0=; b=EGFdaD4xj6JB9K5lvWGk/57ZPyy/3QFWH80YaHoib72V0Kw9NxOe5hMishrNNgtgXx Y/CwGOCb1l0ZTbvQcAJd855ik+Bf9OkIFJjx4rKvDSnNcxx4IAbkHrBY9tLIDMBfIO+V jNAHpbGiKLSd46oQwO7gdy26N2e6y78fhlQB6VqkbLlEHnpt1+GcUsZrrmCo81Gr/xui ASOZxETqSLriN4SE8Oqc8Z5FjyKIXHWGS9UhuDNC5GFpAfPqS0tJRDp0nle4OM2EyeLy Il0Td7/0SsWSRmSuSzsB4+WmI0S78dGdhwMfygUm2fN2ltp3x3wiOR6KYfha4AphMt17 WE3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=gU1jAc1F; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-107998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107998-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bh20-20020a170906a0d400b00a46b6bd3c10si2805309ejb.970.2024.03.19.14.56.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 14:56:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=gU1jAc1F; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-107998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107998-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 968201F2445D for ; Tue, 19 Mar 2024 18:20:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFADC2E62B; Tue, 19 Mar 2024 18:20:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="gU1jAc1F" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF9FD2C6A9; Tue, 19 Mar 2024 18:20:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710872439; cv=none; b=CO/Nqn89WxbjBpVduuNVPPkARQZTQJEX6isI1C1TVnQd9D4bdevGPT8MN+58TIjreIatRriRAoCxyp07HBvgTBPo1SLRUjkpEaxF1rf8kB+LSvlhpoWf+aY989D2knJIDYEbdb7tQch67GuMFAwyltPNEHMB5mmcIOGdOSh7+FA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710872439; c=relaxed/simple; bh=y+s7ig2yhnQ8ndCtl/1HoqIQCHT03mXcZ6EyR7W5Mwg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=s4qJOSrghvM2tBaS2mjNvy6W2QWjW62wsRCDz0n2eX1tln0arOaVF/s83mnIEcOF+YlUIon+bZSTPY3DGHBC9qlHCxhD16FuU+ZhTrESGEk8epr4i/zPiQ1HgIdSNTjhLEwR0dcotrTrv9enORPHINvAXx6FMmt4+Sqr9ONxfaw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=gU1jAc1F; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=dsegeZP0v2buC7Ra1kGyqd65Xn7lq1i4qwqz8fULl8Y=; b=gU1jAc1FfbnX/vZ9kGGAj0dDYG qk84UIUqq4u1VtJoF+3NrVS6LlYt7tg3YZC3z4AGWj1uVbv8td+cWtW/CDWWazz/0mNQUiJIlxit+ hkW4qRaNRwewSAnsgqezl9PNJN7aZZnCivc+SNTtK3DitPqdL420HnMU5MdIvzNmduTP1YvEUix/L N9qLIzApv8x/buQARB5UVRoe46neCK2UkXvRE3Wob7kDkQxtfLajM9L/7asaMx6KjcDi2ypF6ke9P VzUsfexrOlGLeZVw5adr7c1up/4a2NwuWtT2alKPsPtz9HDqtcobwX3zxLf6h0UAG0yXhdua9v8mt EcR55gRQ==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rme4f-00000002U30-1V6O; Tue, 19 Mar 2024 18:20:33 +0000 Date: Tue, 19 Mar 2024 18:20:33 +0000 From: Matthew Wilcox To: Gregory Price Cc: Gregory Price , linux-mm@kvack.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, ying.huang@intel.com, dan.j.williams@intel.com, honggyu.kim@sk.com, corbet@lwn.net, arnd@arndb.de, luto@kernel.org, akpm@linux-foundation.org, shuah@kernel.org Subject: Re: [RFC v3 3/3] ktest: sys_move_phys_pages ktest Message-ID: References: <20240319172609.332900-1-gregory.price@memverge.com> <20240319172609.332900-4-gregory.price@memverge.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Mar 19, 2024 at 02:14:33PM -0400, Gregory Price wrote: > On Tue, Mar 19, 2024 at 05:52:46PM +0000, Matthew Wilcox wrote: > > On Tue, Mar 19, 2024 at 01:26:09PM -0400, Gregory Price wrote: > > > Implement simple ktest that looks up the physical address via > > > /proc/self/pagemap and migrates the page based on that information. > > > > What? LOL. No. > > > > Certainly the test is stupid and requires admin, but I could not > come up an easier test to demonstrate the concept - and the docs > say to include a test with all syscall proposals. > > Am I missing something else important? > (stupid question: of course I am, but alas I must ask it) It's not that the test is stupid. It's the concept that's stupid.