[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 45/57] xen/riscv: add definition of __read_mostly


  • To: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 22 Aug 2023 08:22:09 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=e30PmsaaCMK2uylKSzktY/m/GLlWqH4G7kOZAR3C3tM=; b=XYuvrP6fWS4m97VtklaN9vi55Z4E+rV/1auoa5cR909ck6pF1niOF+OLt/7LM+v2Mi6hcOJS07+f2jc6V00GiGFHU01vxnIiW6evzzInHTBER0aDrAKF4ec70pDM9fj0Agp8LYv/1srOYJYyusNyXBfV/yULXdp4SlsD5zcZltvs5BtZ4upbJaNF1OuH5zw8Hk9clVOsWIArvrwBcbRmLHm9xrqnR1tPtLK8neMRgwkPh5mRey8jAfgu/jLnQOV6o5kD+YWg9XW0ANXJV9GoOJ1TFI6FP68AvrD8mps9ZpjO9Bwq/Z0P0BEdFVMjS76TusI+4m6afVdKSmGFQArRvA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KO78a/oZTNoP5DDanwypa3XlL17dEFukHdbieZ00oaeX/3gTSr13mXcM13JQPc/B87nF63rlpbVjZUKFptEoh5lE0YARiRyVNP15EcX58G+M9mTsFMFiSAnOrfuyh/k8gMMluq5b1FjOYLqsRhsP9hxJd+i8UQpXrkmvzmSnphkDIqsecWE0fEGXUvgZKJL1b9Z7WcBjsV2X26X2JY3eGkqjdP/rslHuONUHOz49u5O1F/tShKBoJ6EleZwl5kMl9nJ9shc4d0NhZkdYNivGKZao4hAk1Jn6KnL5/rvzYYPfEIy8F6DIQEAPCmsbf4hqsTDMArC6g7cgQqydY1tFkA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Bob Eshleman <bobbyeshleman@xxxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxx>, Connor Davis <connojdavis@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 22 Aug 2023 06:22:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 16.08.2023 12:19, Oleksii Kurochko wrote:
> --- a/xen/arch/riscv/include/asm/cache.h
> +++ b/xen/arch/riscv/include/asm/cache.h
> @@ -3,4 +3,6 @@
>  #ifndef _ASM_RISCV_CACHE_H
>  #define _ASM_RISCV_CACHE_H
>  
> +#define __read_mostly __section(".data.read_mostly")

I did already post a patch eliminating the need for this. It's just that
Andrew doesn't like the new placement of the construct, yet neither
suggested a reasonable alternative nor showed willingness to accept the
change as an intermediate step.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.