Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* kmemleaks and our CI
@ 2024-12-03 16:48 Peter Senna Tschudin
  2024-12-04 22:37 ` Lucas De Marchi
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Senna Tschudin @ 2024-12-03 16:48 UTC (permalink / raw)
  To: intel-xe; +Cc: katarzyna.piecielska

Dear xe kernel driver developers,

I am looking into sane ways to integrate kmemleaks with our CI. By sane I mean ways that will help us find and fix leaks while not overwhelming us with noise and our DUTs with unnecessary load.

It came to my attention that we may be running _all_ our CI tests with kmemleak enabled and scanning. To me this has two problems. The first is that it slows down memory allocation and freeing, no big deal.

The second problem however, is that if all our CI tests are indeed running with kmemleak enabled and scanning, it means that we are not testing our drivers in a kernel without kmemleak. I don't have numbers, but I assume that a large portion of real world use cases will have kmemleak disabled.

Is it a problem to run all our CI tests with kmemleak enabled and scanning?

Thanks,

Peter

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-04 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-03 16:48 kmemleaks and our CI Peter Senna Tschudin
2024-12-04 22:37 ` Lucas De Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox