• N
    Taint kernel after WARN_ON(condition) · 95b570c9
    Nur Hussein 提交于
    The kernel is sent to tainted within the warn_on_slowpath() function, and
    whenever a warning occurs the new taint flag 'W' is set.  This is useful to
    know if a warning occurred before a BUG by preserving the warning as a flag
    in the taint state.
    
    This does not work on architectures where WARN_ON has its own definition.
    These archs are:
    	1. s390
    	2. superh
    	3. avr32
    	4. parisc
    
    The maintainers of these architectures have been added in the Cc: list
    in this email to alert them to the situation.
    
    The documentation in oops-tracing.txt has been updated to include the
    new flag.
    Signed-off-by: NNur Hussein <nurhussein@gmail.com>
    Cc: Arjan van de Ven <arjan@infradead.org>
    Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Kyle McMartin <kyle@mcmartin.ca>
    Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
    Cc: Paul Mundt <lethal@linux-sh.org>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    95b570c9
oops-tracing.txt 12.3 KB