Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753724AbdC2RQk (ORCPT ); Wed, 29 Mar 2017 13:16:40 -0400 Received: from mail-io0-f172.google.com ([209.85.223.172]:36471 "EHLO mail-io0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751717AbdC2RQi (ORCPT ); Wed, 29 Mar 2017 13:16:38 -0400 MIME-Version: 1.0 In-Reply-To: <20170329170442.GA24342@redhat.com> References: <20170328145413.GA3164@redhat.com> <20170329163335.GA23977@redhat.com> <20170329165554.GA24250@redhat.com> <20170329170442.GA24342@redhat.com> From: Linus Torvalds Date: Wed, 29 Mar 2017 10:16:36 -0700 X-Google-Sender-Auth: qUDn80HCcZcCi2h6s8C1KiR5tAs Message-ID: Subject: Re: syscall_get_error() && TS_ checks To: Oleg Nesterov Cc: Andrew Morton , Andy Lutomirski , Denys Vlasenko , "H. Peter Anvin" , Ingo Molnar , Jan Kratochvil , Pedro Alves , Thomas Gleixner , "the arch/x86 maintainers" , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 647 Lines: 17 On Wed, Mar 29, 2017 at 10:04 AM, Oleg Nesterov wrote: > > Oh, I agree, and let me repeat the 3rd time that I suggest to kill this > helper and use syscall_get_return_value() in arch/x86/kernel/signal.c, > it has no other callers. That is probably fine, I'm just arguing against the suggested changes to syscall_get_error(). That said, I'm not sure why you want to change this in the first place? I think the current syscall_get_error() - with explicit compat handling and all - is fine. But if the aim is to just remove syscall_get_error() entirely because it's so unused, then I'm ok with that. Linus