On 1/5/23 1:14 PM, Harald Anlauf via Fortran wrote:
Resending as plain text, as the original version did not appear on the fortran
list...
Gesendet: Donnerstag, 05. Januar 2023 um 22:10 Uhr
Von: "Harald Anlauf"
An: "Paul Richard Thomas"
Cc: "fortran@gcc.gnu.org" , "Alessandro Fanfarillo"
Resending as plain text, as the original version did not appear on the fortran
list...
Gesendet: Donnerstag, 05. Januar 2023 um 22:10 Uhr
Von: "Harald Anlauf"
An: "Paul Richard Thomas"
Cc: "fortran@gcc.gnu.org" , "Alessandro Fanfarillo"
, "Andrew Benson"
, "Thomas Koenig" , "Damian
Rouson"
> > Hi Lipeng,
> >
> > > This patch try to introduce the rwlock and split the read/write to
> > > unit_root tree and unit_cache with rwlock instead of the mutex to
> > > increase CPU efficiency. In the get_gfc_unit function, the
> > > percentage to step into the insert_unit function is around 3