From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753432AbdCPSX7 (ORCPT ); Thu, 16 Mar 2017 14:23:59 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:35238 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753353AbdCPSXs (ORCPT ); Thu, 16 Mar 2017 14:23:48 -0400 MIME-Version: 1.0 In-Reply-To: References: <20170311194702.28754-1-khuey@kylehuey.com> <20170311194702.28754-7-khuey@kylehuey.com> <87shmdjx4u.fsf@concordia.ellerman.id.au> From: Linus Torvalds Date: Thu, 16 Mar 2017 11:23:41 -0700 X-Google-Sender-Auth: IpPcrAqYcmDL3mXS9u6PTsMrmwg Message-ID: Subject: Re: [PATCH v15 6/9] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID To: Kyle Huey Cc: Michael Ellerman , "Robert O'Callahan" , Thomas Gleixner , Andy Lutomirski , Ingo Molnar , "H. Peter Anvin" , "the arch/x86 maintainers" , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Jeff Dike , Richard Weinberger , Alexander Viro , Shuah Khan , Dave Hansen , Borislav Petkov , Peter Zijlstra , Boris Ostrovsky , Len Brown , Dmitry Safonov , "Rafael J. Wysocki" , David Matlack , Nadav Amit , Andi Kleen , Linux Kernel Mailing List , uml-devel , "open list:USER-MODE LINUX (UML)" , "open list:KERNEL SELFTEST FRAMEWORK" , KVM 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 On Thu, Mar 16, 2017 at 7:30 AM, Kyle Huey wrote: > On Thu, Mar 16, 2017 at 4:09 AM, Michael Ellerman wrote: >> >> Presumably he's done: >> >> $ git config diff.context 8 > > Indeed. In my case it dates back to my days hacking on Firefox, which > wants 8 lines of context for patches. I'll remove it. You can make those kinds of options per-repository rather than user-global, so you can keep the 8-line thing for firefox without having it for the kernel. Not that it *hurts* for the kernel, but it just looked odd to me because the patch looked so much bigger. More context lines can obviously help with ambiguous cases, but we very seldom have that kind of ambiguity. I'm assuming firefox has files that have lots and lots of repeated lines (or things like autogenerated content with a lot of common boilerplate or whatever), which is why they like lots of context? Linus