Re: [PATCH for-next v3 2/9] mm/slab, slub_kunit: register kprobe to trigger _nolock APIs
Harry Yoo <[email protected]>
| Newsgroups | org.kernel.vger.rcu,dev.linux.lists.linux-rt-devel,org.kernel.vger.bpf,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On 6/29/26 4:34 PM, Harry Yoo wrote: > > > On 6/24/26 10:41 PM, Pedro Falcato wrote: >> On Mon, Jun 15, 2026 at 08:05:56PM +0900, Harry Yoo (Oracle) wrote: >>> Since kmalloc_nolock() always fails in NMI and hardirq contexts on >>> PREEMPT_RT, slub_kunit cannot properly test _nolock() APIs. >>> >>> Register a kprobe pre-handler to invoke kmalloc_nolock() and >>> kfree_nolock() in the middle of the slab allocator. However, do not >>> register the handler on UP kernels [1]. >> >> Maybe explain in the commit message why that is? > > Because it's the case is broken on UP and we decided not bother to fix. > Thought the cover letter in Link: would give enough context. But I will clarify this on the commit message, thanks! -- Cheers, Harry / Hyeonggon
OpenPGP_signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQQ1ub6gR5ogjaKRmOGXBN6rc5S1gUCakIq3gAKCRCGXBN6rc5S 1oI0AQCmD4+FAnCL5s0WuOSoFo5XR/5TKwqVhP08qfsAyrwXvwD/RJBmV5okisfF oBc6p+YW15g8jrEgvQwjI3qwgz+UDgw= =v2D6 -----END PGP SIGNATURE-----