From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754376AbbBNVPW (ORCPT ); Sat, 14 Feb 2015 16:15:22 -0500 Received: from smtp2.provo.novell.com ([137.65.250.81]:43738 "EHLO smtp2.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754294AbbBNVPV (ORCPT ); Sat, 14 Feb 2015 16:15:21 -0500 Message-ID: <1423948516.2046.90.camel@stgolabs.net> Subject: Re: [PATCH 1/1] futex: check PF_KTHREAD rather than !p->mm to filter out kthreads From: Davidlohr Bueso To: Oleg Nesterov Cc: Darren Hart , Peter Zijlstra , Thomas Gleixner , Jerome Marchand , Larry Woodman , Mateusz Guzik , linux-kernel@vger.kernel.org Date: Sat, 14 Feb 2015 13:15:16 -0800 In-Reply-To: <20150214205745.GA15695@redhat.com> References: <20150202140515.GA26398@redhat.com> <20150202140536.GA26406@redhat.com> <1423936866.2046.88.camel@stgolabs.net> <20150214205745.GA15695@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.