Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 4 Apr 2023 19:34:34 -0400
From: Rich Felker <dalias@...c.org>
To: enh <enh@...gle.com>
Cc: musl@...ts.openwall.com
Subject: Re: __riscv_flush_icache() in <sys/cachectl.h>

On Tue, Apr 04, 2023 at 03:49:05PM -0700, enh wrote:
> i'm still trying to decide whether it makes sense to
> add __riscv_flush_icache() to bionic or not[1] and was looking to see
> whether musl had added it. i notice you've _implemented_ it but not added
> it to the <sys/cacheflush.h> header. was that deliberate or just an
> oversight?
> 
> _____
> 1. see https://github.com/google/android-riscv64/issues/4 for my ramblings
> on that topic.

It's rather annoying that they added a new arch-specific header for
this rather than using the existing <sys/cachectl.h> ...

We probably need to do something to clean this up but I'm not sure
what the right action is. I figured it was usable with no header, but
apparently it needs some flags ..?

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.