Hi All,
Observed boot up crash with clang in kerne/sched/core.c file
sched_ttwu_pending() function, because it is using
llist_for_each_entry_safe().
After pulling patch from “https://lkml.org/lkml/2017/7/19/1169, no crash
observed.
Tested-by: Sodagudi Prasad
-Thanks, Prasad
--
The Qualcom
Currently llist_for_each_entry() and llist_for_each_entry_safe() iterate
until &pos->member != NULL. But when building the kernel with Clang, the
compiler assumes &pos->member cannot be NULL if the member's offset is
greater than 0 (which would be equivalent to the object being
non-contiguous in m
2 matches
Mail list logo