Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753252AbdCPO75 (ORCPT ); Thu, 16 Mar 2017 10:59:57 -0400 Received: from mail-yw0-f178.google.com ([209.85.161.178]:35824 "EHLO mail-yw0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753852AbdCPO7J (ORCPT ); Thu, 16 Mar 2017 10:59:09 -0400 MIME-Version: 1.0 In-Reply-To: <87shmdjx4u.fsf@concordia.ellerman.id.au> References: <20170311194702.28754-1-khuey@kylehuey.com> <20170311194702.28754-7-khuey@kylehuey.com> <87shmdjx4u.fsf@concordia.ellerman.id.au> From: Kyle Huey Date: Thu, 16 Mar 2017 07:30:42 -0700 Message-ID: Subject: Re: [PATCH v15 6/9] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID To: Michael Ellerman Cc: Linus Torvalds , "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 Content-Length: 791 Lines: 27 On Thu, Mar 16, 2017 at 4:09 AM, Michael Ellerman wrote: > Linus Torvalds writes: > >> Kyle, >> your patch format is really odd. >> >> You seem to have *eight* lines of context rather than the regular 3. >> Is there any reason for that oddity? >> >> It basically means that a one-line hunk ends up being 17 lines of >> unified diff rather than 7. > > Presumably he's done: > > $ git config diff.context 8 > > > Which I also did at one point because I thought it might help for > reading diffs, but reverted after realising it also affects the diffs > that are generated by format-patch etc. > > cheers 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. - Kyle