Messages in this thread | | | Date | Fri, 18 Jun 2021 12:38:01 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH] mm/slub: Add taint after the errors are printed |
| |
On Wed, 16 Jun 2021, Georgi Djakov wrote:
> When running the kernel with panic_on_taint, the usual slub debug error > messages are not being printed when object corruption happens. That's > because we panic in add_taint(), which is called before printing the > additional information. This is a bit unfortunate as the error messages > are actually very useful, especially before a panic. Let's fix this by > moving add_taint() after the errors are printed on the console. > > Signed-off-by: Georgi Djakov <quic_c_gdjako@quicinc.com>
Acked-by: David Rientjes <rientjes@google.com>
| |