Re: [PATCH v2 3/7] Remove m_total_lines support from input cache

2025-01-27 Thread David Malcolm
On Sat, 2025-01-25 at 23:30 -0800, Andi Kleen wrote: > From: Andi Kleen > > With the new cache maintenance algorithm we don't need the > maximum number of lines anymore. Remove all the code for that. > > gcc/ChangeLog: > > PR preprocessor/118168 > * input.cc (total_lines_num): Remov

[PATCH v2 3/7] Remove m_total_lines support from input cache

2025-01-25 Thread Andi Kleen
From: Andi Kleen With the new cache maintenance algorithm we don't need the maximum number of lines anymore. Remove all the code for that. gcc/ChangeLog: PR preprocessor/118168 * input.cc (total_lines_num): Remove. (file_cache_slot::evict): Dito. (file_cache_slot