NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xsrc/58318: Slow/incremental updating of Firefox menu entries
The following reply was made to PR xsrc/58318; it has been noted by GNATS.
From: Rhialto <rhialto%falu.nl@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: Rhialto <rhialto%falu.nl@localhost>
Subject: Re: xsrc/58318: Slow/incremental updating of Firefox menu entries
Date: Tue, 11 Jun 2024 20:53:55 +0200
I tried a crude hack with reducing "uncached" memory to "write combined"
for a very un-precise set of cases: change pgprot_t ttm_io_prot(uint32_t
caching_flags, pgprot_t tmp).
However it didn't make any visible difference. I think that from this we
can conclude that more subtle variations of a change here will not be a
cure either.
This was my change:
--- usr/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c.orig 2024-06-11 18:31:46.463037658 +0200
+++ usr/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c 2024-06-11 18:32:10.000825945 +0200
@@ -606,7 +606,7 @@
{
/* Cached mappings need no adjustment */
if (caching_flags & TTM_PL_FLAG_CACHED)
- return tmp;
+ return tmp | PMAP_WRITE_COMBINE;
#ifdef __NetBSD__
tmp &= ~PMAP_CACHE_MASK;
Home |
Main Index |
Thread Index |
Old Index