On 2018-09-21 6:48 PM, Mikulas Patocka wrote:
I tested this patch and it reduces kernel compile time from one hour to 30
minutes.
I'm surprised about the magnitude of the improvement. There are two
reasons for improvement.
Firstly, the "sync" barrier is very slow. Secondly, now that we track
TLB inserts with the accessed
bit, we only flush TLB entries that have been inserted. The "pdtlb" and
"pitlb" instructions take
several hundred cycles as I recall.
Dave
--
John David Anglin dave.anglin@xxxxxxxx