From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Subject: Re: [3/4] exit_thread: accept a task parameter to be exited Date: Fri, 25 Mar 2016 19:32:11 +1100 (AEDT) Message-ID: <3qWc3w0GCtz9sdm@ozlabs.org> References: <1458824294-29733-1-git-send-email-jslaby@suse.cz> Return-path: In-Reply-To: <1458824294-29733-1-git-send-email-jslaby@suse.cz> Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: List-subscribe: List-owner: List-post: List-archive: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jiri Slaby , akpm@linux-foundation.org Cc: linux-mips@linux-mips.org, linux-s390@vger.kernel.org, Rich Felker , Aurelien Jacquiot , Peter Zijlstra , Catalin Marinas , Will Deacon , David Howells , Max Filippov , Paul Mackerras , "H. Peter Anvin" , sparclinux@vger.kernel.org, linux-hexagon@vger.kernel.org, Guan Xuetao , Jiri Slaby , Lennox Wu , Hans-Christian Egtvedt , Jonas Bonn , Chen Liqin , Jesper Nilsson , linux-am33-list@redhat.com, Russell King , linux-c6x-dev@linux-c6, x.org, Yoshinori Sato , linux-sh@vger.kernel.org, Helge Deller On Thu, 2016-24-03 at 12:58:13 UTC, Jiri Slaby wrote: > We need to call exit_thread from copy_process in a fail path. So make > it accept task_struct as a parameter. If I'm counting right 22 of those are empty functions, so would it be a good clean up to make it optional first? cheers