Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp358308rwb; Thu, 11 Aug 2022 02:54:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR6H1rOm4YxJLdp71xXDIzJgZR8imMZxcZ/uUj4/BdKVW2qEEiQ6lTL9mZcvmD3YkQ+L6RSr X-Received: by 2002:a05:6a00:1a14:b0:52d:5fee:d46b with SMTP id g20-20020a056a001a1400b0052d5feed46bmr30879370pfv.82.1660211644205; Thu, 11 Aug 2022 02:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660211644; cv=none; d=google.com; s=arc-20160816; b=tZCGmr/2oGu6dykZkNL3WbySEbaRGFF9lrHA8gel/ma9RprzhXVP71d+9m9Wr8tcmi ZXhhIo6NDQ1kLLij52CRD23bQimtsnwRIaoNV5U0FC/SuZW73zZht6We/g4/iOHmmO4X JhrfXhj29UUCNBy8vVIy7yt++SgmOjLfFuKtoW51/BwBXMdFoG4LZXuQrvuvJrOL9OUG UIDXeHQ4Vf/KWlB9jhpg8aIU0NEByn94Ai4hlv6GiCopp8bQzT07zKU0PhJJVuyLfe+E g0iesnRXUnnflRdmWMgsKE4cmo91xIrCnkICBJ/cjv/5NBGsr3bQJjdWEDh907ZS/UjT 7N9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=7RKRuqZKqXVo9jhuegHJIjo3czibbjv4Gmps4g9AfYQ=; b=wJtnCFMeRP09YnTFkcP/pHL0IZyUk8QCPuDbfY6tk+XCludF+G55GQBt37jvXC8H1i vVQF24KSErsf7FKSC98nlOh7P168i+8z1M502PbslDe8f8UyjQk0TN6bOYaecG/uA1lW G1xUtwn4AKv97eOzMIs3oJlz4sm6G/BGFWQc4vq0GMMFcqOGGnktPnUY3JwnfolYh+VL spN+FvCAm7kDtMOKerIO/eAKktZzf1/Q/p0WKHsxX31Nge7nacGx11U64h/jdzQUhaSq o7+HVeDnrWuZsHBQ4QhhJjeyUnRj4Pxp9mLclOYTQlGbzYxiQgbMlcHfPcscDw39p2d0 c11A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E7ayhDL5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h71-20020a63834a000000b0041da9c3eda9si8746224pge.412.2022.08.11.02.53.51; Thu, 11 Aug 2022 02:54:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E7ayhDL5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234838AbiHKJko (ORCPT + 99 others); Thu, 11 Aug 2022 05:40:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232585AbiHKJkk (ORCPT ); Thu, 11 Aug 2022 05:40:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64D5174E3F for ; Thu, 11 Aug 2022 02:40:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AEFA66119D for ; Thu, 11 Aug 2022 09:40:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48850C433D6; Thu, 11 Aug 2022 09:40:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660210838; bh=q/v3dg67akdikMYOPlR6gnL028wD7LycKf4a1kmvX/8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=E7ayhDL52bXNsVrHoUoyQ+wAZTeoQifLoV2Q4j53SPWNLt+B4oGEld0OCpWBv3m4M MRdCcNQWMkMOgnqbkXIzXYESAxfuPjpP+i2xyIJcAYz1D+AnKjugGeK6JaVExqybUk cSsdrpQsrNWpdG1iGGCltAJ5ZnhZKrKb0CNPv+4r2suTy+mSRhOcRi/RK4SMR++KdR FO8pQAEGor1lVJorzA00qlrJwehxOXAQZiIb0dNzstoMxS/0wRLpzYd4MwvAqZ1SQY +HR5qDsEBw9/k1atUUZwnGqjRyET5xfAfkHQg799YyQUybMgCLVqgUIb5EEmdYkMVu aBdCEWsDlCDPw== Message-ID: <33d41fbd-a2ed-d2ef-4395-e18aac7c0d28@kernel.org> Date: Thu, 11 Aug 2022 11:40:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.0 Subject: Re: [PATCH v6] mm/page_owner.c: add llseek for page_owner Content-Language: en-US To: Kassey Li , kernel test robot , akpm@linux-foundation.org Cc: kbuild-all@lists.01.org, minchan@kernel.org, vbabka@suse.cz, iamjoonsoo.kim@lge.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <20220810013218.27416-1-quic_yingangl@quicinc.com> <202208101628.o6qUzx50-lkp@intel.com> <54f974fb-f334-78cf-d5f5-198810cc77b4@quicinc.com> From: "Vlastimil Babka (SUSE)" In-Reply-To: <54f974fb-f334-78cf-d5f5-198810cc77b4@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/11/22 05:02, Kassey Li wrote: > hi, Vlastimil: > > > On 8/10/2022 5:02 PM, kernel test robot wrote: >> Hi Kassey, >> >> Thank you for the patch! Yet something to improve: >> >> [auto build test ERROR on v5.19] >> [also build test ERROR on next-20220810] >> [cannot apply to akpm-mm/mm-everything linus/master] >> [If your patch is applied to the wrong git tree, kindly drop us a note. >> And when submitting patch, we suggest to use '--base' as documented in >> https://git-scm.com/docs/git-format-patch#_base_tree_information] >> >> url:    >> https://github.com/intel-lab-lkp/linux/commits/Kassey-Li/mm-page_owner-c-add-llseek-for-page_owner/20220810-093417 >> base:    3d7cb6b04c3f3115719235cc6866b10326de34cd >> config: parisc-buildonly-randconfig-r004-20220810 >> (https://download.01.org/0day-ci/archive/20220810/202208101628.o6qUzx50-lkp@intel.com/config) >> compiler: hppa-linux-gcc (GCC) 12.1.0 >> reproduce (this is a W=1 build): >>          wget >> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross >> -O ~/bin/make.cross >>          chmod +x ~/bin/make.cross >>          # >> https://github.com/intel-lab-lkp/linux/commit/d2decd69a8d5756c1706092c805a4c8af14df471 >>          git remote add linux-review https://github.com/intel-lab-lkp/linux >>          git fetch --no-tags linux-review >> Kassey-Li/mm-page_owner-c-add-llseek-for-page_owner/20220810-093417 >>          git checkout d2decd69a8d5756c1706092c805a4c8af14df471 >>          # save the config file >>          mkdir build_dir && cp config build_dir/.config >>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross >> W=1 O=build_dir ARCH=parisc SHELL=/bin/bash >> >> If you fix the issue, kindly add following tag where applicable >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >>     In file included from mm/page_owner.c:16: >>>> mm/../fs/proc/internal.h:51:9: error: unknown type name 'proc_write_t' >>        51 |         proc_write_t write; >>           |         ^~~~~~~~~~~~ > > # CONFIG_PROC_FS is not set in some arch, so we can not directly include the > header file. > +#include "../fs/proc/internal.h" > > how about add an extern  ? or do you have other suggest  ? Hi, I replied to v5 after the bot reports: Sorry, my suggestion (to reuse mem_lseek() from proc) was wrong as the kernel test bot just showed us. mem_lseek() may be unavailable without CONFIG_PROC_FS. The easiest way is to add a page_owner specific lseek function back as in the early version, but make it correct for SEEK_CUR. Thanks.