Hi Ilpo, On 10/24/2023 2:26 AM, Ilpo Järvinen wrote: > MBM, MBA and CMT test cases use run_fill_buf() to loop indefinitely > around the buffer. CAT test case is different and doesn't want to loop > around the buffer continuously. Please do not that the changelog starts by describing issue with run_fill_buf() (that does not appear in patch) and then switches to describe solution for fill_cache() below. > > Split fill_cache() so that both the use cases are easier to control by > creating separate functions for buffer allocation and looping around > the buffer. Make those functions available for tests. The new interface > is based on returning/passing pointers instead of the startptr global > pointer variable that can now be removed. The deallocation can use > free() directly. Seems like startptr removal has been done already: 5e3e4f1a03f0 ("selftests/resctrl: Remove unnecessary startptr global from fill_buf") Reinette