Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:

platform/linux-generic/arch/default/odp/api/abi/cpu.h
line 14
@@ -0,0 +1,24 @@
+/* Copyright (c) 2016, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier:     BSD-3-Clause
+ */
+
+#ifndef ODP_API_ABI_CPU_H_
+#define ODP_API_ABI_CPU_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define ODP_CACHE_LINE_SIZE 64


Comment:
@muvarov This is a non-optimized default, so 64 is as good as any. If there is 
a need to add support for another architecture then it can be added explicitly 
with the proper sizes and it would no longer fall under the default 
architecture category.

> Dmitry Eremin-Solenikov(lumag) wrote:
> fixed in v2


>> muvarov wrote
>> that might be not true. But I also do not see any other way to find default 
>> size.


>>> muvarov wrote
>>> 2018


https://github.com/Linaro/odp/pull/462#discussion_r167713946
updated_at 2018-02-12 23:40:24

Reply via email to