Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp469129lqt; Thu, 6 Jun 2024 08:46:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWrOgISn67XSpL2UWqhakmymRSEdlYv+VgLU8R/S2SoulaO7YxD5gPrjMgDdXTGlV+/kIz7l/U5cuoa/m/Iqp3kH71q1q8qMlYAPr52dQ== X-Google-Smtp-Source: AGHT+IG7a7aJARcyXvzYmGcPNG7bMvdAbu60Ii4sYJEI8y2jNgqPvyxLPN+Hu+AK9DOG495+rijV X-Received: by 2002:a50:d4d4:0:b0:578:5a70:fe8 with SMTP id 4fb4d7f45d1cf-57a93650b06mr3526290a12.11.1717688769658; Thu, 06 Jun 2024 08:46:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717688769; cv=pass; d=google.com; s=arc-20160816; b=NCV7OWDk/rZ0i/QkGP3jnvlMOUHFaVxQN5YdsSFD+yYC7D7BuA0leBv3YfYCOwQF99 53qWBAglHYhSYhBeKxo5r6SreIuEAfEjsYWZ+d922x1NqXmHYa90YWW5RYdOApctVTwb q/YE2Z4ZFi2Mjnmrloh5bUNfzyJbpu2tYWA4QnpojQq/lUTCd2E2H5QAAydgQTYjVnOm 7+pJM9C+U2eZZILDpP/kUw6ZwypebhaUOFaco3O6rUW1+G8Fb0mjisWiZUPIqnpMPkBH uvsvuaXVyu4F4oXdjV1QeHC4eTk2Hk1Fnr5RRLGLoS65BaZmgS4fGpGj/U3wneVPVO4Q /jnw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=do9l/6SevcYiTITfryG8vnwfYZ8K8fjEylRaQrA5X7Q=; fh=v8XZauJuh8DjK2lhhIJKucWMInlGGrEDH4QYuNMzENo=; b=wjrd5RhlkdF/vJdHEzL4IBLXjjeZq0SkXBp3l/3N6InFnY+mi3fGFLJZ43Sc/YpVhX cvUv0jW65SxpyJ3RCTnVydVA5E2OfaK9Nf+63j5pjOmbM7IJ8FTPMVMWCqdoL+8gouFD +1PYEhP76oTkCTVt0azRWYZ74ch20lreqBYNnYHnsaIqLy9veQjg7ah1diiBBKRTGz5X GWgPm9uycKry+CWNMDQtaMshSoUGLf/jVZ5nKc+RIiEX8jX5rGG9Ug3XsMsoGxikgWEN n2qGT89E79vJAaAK7oA029ofyiX/nUdzHajTJ58xF2s/1LE6vIGp8nupoOv5wnBG+YaM bAgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ymg7ROBd; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-204598-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204598-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae0c6c99si850488a12.77.2024.06.06.08.46.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 08:46:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204598-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=@redhat.com header.s=mimecast20190719 header.b=Ymg7ROBd; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-204598-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204598-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 602441F2511C for ; Thu, 6 Jun 2024 15:46:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3C00196DB0; Thu, 6 Jun 2024 15:45:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ymg7ROBd" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 5F13B196457 for ; Thu, 6 Jun 2024 15:45:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717688748; cv=none; b=qwS9+9O6IBKXmC+43bQ2jJU6UvojBUxBVyLtF+MycAFBqkiQwMdWVJ+kGqMiryHJoSGihWZMIqrIIQOU4VK5jD3GWM9N0uHUFtGCytoxLVvYwsvyX4WZeEDR5CsM8L7FOKSsTw8WJtjmsYn5FPmJy4KlAfJG7X+mC+i6AfCZHfc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717688748; c=relaxed/simple; bh=axEesd1KcqTkvjB0CnmuulRkE7CYYEayuZLnI4aD1Hc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=WO8A+IR02nPu3UuP+F/43T3XXWbkurq5LMlkGOPnN+Nfv5nZueKPitrGqEj31wMrYOTYaRboVhY1Kaszom8Tq61Mt93p2ex6y9wTMd+m+tm5NRWI06IUNMef1i7LWFhgND5ALUAcNscfWe7vPABn4zooBx4oRinwy+GimXVCSUk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Ymg7ROBd; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717688746; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=do9l/6SevcYiTITfryG8vnwfYZ8K8fjEylRaQrA5X7Q=; b=Ymg7ROBdmznGuqsx7K2sdZUAPUrtJbZgS17WgC6LfscshXsyepuOUvEF7HJ4CoeNmmeXeU Ihe/QSjvL/UhtJDzkw6pgpkHr8JUF0jnDv3V4iGWQi0g9Mra7OsrT0+n+vDAYzg5CmXxEl mBPdoM7D9PcJ9S5Y3uQYWG3nfGtFyiQ= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-683-_NT2JrStN7CzC6EDXSlQDQ-1; Thu, 06 Jun 2024 11:45:43 -0400 X-MC-Unique: _NT2JrStN7CzC6EDXSlQDQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D6F0E380008F; Thu, 6 Jun 2024 15:45:41 +0000 (UTC) Received: from [10.22.33.43] (unknown [10.22.33.43]) by smtp.corp.redhat.com (Postfix) with ESMTP id 12844202A435; Thu, 6 Jun 2024 15:45:40 +0000 (UTC) Message-ID: <8936c102-725d-4496-b014-cc3edfccf4dd@redhat.com> Date: Thu, 6 Jun 2024 11:45:37 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] cgroup/cpuset: export cpuset_cpus_allowed() To: Fred Griffoul , griffoul@gmail.com Cc: kernel test robot , Alex Williamson , Zefan Li , Tejun Heo , Johannes Weiner , Jason Gunthorpe , Yi Liu , Kevin Tian , Eric Auger , Stefan Hajnoczi , Christian Brauner , Ankit Agrawal , Reinette Chatre , Ye Bin , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org References: <20240606151017.41623-1-fgriffo@amazon.co.uk> <20240606151017.41623-2-fgriffo@amazon.co.uk> Content-Language: en-US From: Waiman Long In-Reply-To: <20240606151017.41623-2-fgriffo@amazon.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 On 6/6/24 11:10, Fred Griffoul wrote: > A subsequent patch calls cpuset_cpus_allowed() in the vfio driver pci > code. Export the symbol to be able to build the vfio driver as a kernel > module. > > Signed-off-by: Fred Griffoul > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202406060731.L3NSR1Hy-lkp@intel.com/ > --- > kernel/cgroup/cpuset.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c > index 4237c8748715..9fd56222aa4b 100644 > --- a/kernel/cgroup/cpuset.c > +++ b/kernel/cgroup/cpuset.c > @@ -4764,6 +4764,7 @@ void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) > rcu_read_unlock(); > spin_unlock_irqrestore(&callback_lock, flags); > } > +EXPORT_SYMBOL_GPL(cpuset_cpus_allowed); > > /** > * cpuset_cpus_allowed_fallback - final fallback before complete catastrophe. LGTM Acked-by: Waiman Long