Re: [PATCH] cfs: NULL pointer check

From: xingchao
Date: Fri Sep 16 2011 - 05:22:31 EST


On Fri, 16 Sep 2011 15:42:41 +0800
Paul Turner <pjt@xxxxxxxxxx> wrote:

> On 09/16/11 10:48, Wang Xingchao wrote:
> > se maybe NULL if cfs_rq->rb_leftmost is NULL
>
> nack, it had better not be; otherwise we've got a corrupt tree!
>
> Also, this diff is against the previous -- please bundle dependent
> patches as a series in the future.
>
Got it. :)
Paul, i'd send another patch to remove the NULL pointer check
in __pick_first/last_entity().

--xingchao
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/