From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 257EDC4708C for ; Tue, 6 Dec 2022 16:23:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231190AbiLFQW6 (ORCPT ); Tue, 6 Dec 2022 11:22:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbiLFQWz (ORCPT ); Tue, 6 Dec 2022 11:22:55 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 477EC2ED for ; Tue, 6 Dec 2022 08:21:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670343717; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sCUP81xXIy/70El6lCPLbAYE27sraoFkLSJy6O9sUWw=; b=Qo//7Xwb1DTVE8DU8wSygrxu8g7bpbrM8kYE5wdRx2hKNQP6u9sInR4t7Y8SZCKCkZuDJk O+uj26RSDpfEQTKvu2xSFiwSnzTTVJ16ysA7L3q4pMdd6+1pe53CcAD8dIWn1K37u5TqkH xaeQ6K12AUp6uGibS8/9hIoJBYkeD8U= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-400-X4F6QNrcOaynmCuw-bBhRQ-1; Tue, 06 Dec 2022 11:21:56 -0500 X-MC-Unique: X4F6QNrcOaynmCuw-bBhRQ-1 Received: by mail-qt1-f200.google.com with SMTP id fg11-20020a05622a580b00b003a7eaa5cb47so2970696qtb.15 for ; Tue, 06 Dec 2022 08:21:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sCUP81xXIy/70El6lCPLbAYE27sraoFkLSJy6O9sUWw=; b=B0tlYi3qw+ofrcdhcnJ0noXGTXpT4fuPxsCXiEjsnRejQ8knUqR4JUfG+mKgUKjJvf xv6fvcq6QHQj7C5RH14h4U4Br7rV85yrORR2dJ/hVqKyyx7ATHfbyq2IQpPRBEQ1xJxb xG9j563tjiSDs0F+9bgFELfz/Ct70jPnyFUs2EaBev3w0dVogmoLoYwAoal2TrSVneVH NO9Cy0c6inqCJdsZL4ndSoHujnntMEd7MPk2IuBV5EqHl7uAFeq1kwg/4MFeNp8FwUDj uaDVWQj4J0VYprIoDKUFmyHmHjxz+Ef4Lw5Yt7CUSRJT5ZSXCjCeJW6Hq/RdezHyDvl0 zcAg== X-Gm-Message-State: ANoB5pnKT+QbIS7mJCyrYvvZlqPJJTJlX9slOpMBE87MWaU/9nTtQcAr F781YHB7k55+j0nz9UoEc7iEfFnQvEpO/Pg7MH+CxXW8TyYZGwiz//9k4uWR2qHO+EvU5Xi0TWJ 5Yx0VdvKiCQEep0SMK6IIm1Md X-Received: by 2002:a05:620a:b9a:b0:6fa:432f:298a with SMTP id k26-20020a05620a0b9a00b006fa432f298amr63417875qkh.159.1670343715700; Tue, 06 Dec 2022 08:21:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf4EsM3BohWqkEZPkf2Bazdn88pyZKyN2ExwE9KgYwrNWoq74e43cW2/M3n+Ei57iDV3EOHs+Q== X-Received: by 2002:a05:620a:b9a:b0:6fa:432f:298a with SMTP id k26-20020a05620a0b9a00b006fa432f298amr63417854qkh.159.1670343715469; Tue, 06 Dec 2022 08:21:55 -0800 (PST) Received: from x1n (bras-base-aurron9127w-grc-46-70-31-27-79.dsl.bell.ca. [70.31.27.79]) by smtp.gmail.com with ESMTPSA id bj9-20020a05620a190900b006b95b0a714esm14931361qkb.17.2022.12.06.08.21.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 08:21:55 -0800 (PST) Date: Tue, 6 Dec 2022 11:21:53 -0500 From: Peter Xu To: kernel test robot Cc: David Hildenbrand , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ives van Hoorne , stable@vger.kernel.org, Andrew Morton , Hugh Dickins , Alistair Popple , Mike Rapoport , Nadav Amit , Andrea Arcangeli Subject: Re: [PATCH] mm/uffd: Always wr-protect pte in pte_mkuffd_wp() Message-ID: References: <202212060801.yenOQCHL-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <202212060801.yenOQCHL-lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 06, 2022 at 08:46:17AM +0800, kernel test robot wrote: > vim +316 arch/x86/include/asm/pgtable.h > > 313 > 314 static inline pte_t pte_mkuffd_wp(pte_t pte) > 315 { > > 316 return pte_wrprotect(pte_set_flags(pte, _PAGE_UFFD_WP)); > 317 } It's interesting to know the bot will test any patch I attach in an mail reply, which is very nice... I'll send a formal patch for this one soon. -- Peter Xu