Re: [PATCH 1/1] futex: check PF_KTHREAD rather than !p->mm to filter out kthreads

From: Davidlohr Bueso
Date: Sat Feb 14 2015 - 16:15:38 EST


On Sat, 2015-02-14 at 21:57 +0100, Oleg Nesterov wrote:
> Perhaps... but PF_KTHREAD looks self-documented too ;)

Well the idea was to standardize how we check for a kthreads, as opposed
to improving readability or such. Just a suggestion.

Thanks.

--
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/