public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: KY Srinivasan <kys@microsoft.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>,
	"virtualization@lists.osdl.org" <virtualization@lists.osdl.org>,
	Haiyang Zhang <haiyangz@microsoft.com>,
	Hank Janssen <hjanssen@microsoft.com>
Subject: Re: [PATCH ] Staging: hv:  Hyper-V driver cleanup
Date: Thu, 24 Feb 2011 16:31:36 -0800	[thread overview]
Message-ID: <20110225003136.GA27272@suse.de> (raw)
In-Reply-To: <6E21E5352C11B742B20C142EB499E04801522A@TK5EX14MBXC128.redmond.corp.microsoft.com>

On Fri, Feb 25, 2011 at 12:24:57AM +0000, KY Srinivasan wrote:
> 
> 
> > -----Original Message-----
> > From: Greg KH [mailto:gregkh@suse.de]
> > Sent: Thursday, February 24, 2011 6:46 PM
> > To: KY Srinivasan
> > Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org;
> > virtualization@lists.osdl.org; Haiyang Zhang; Hank Janssen
> > Subject: Re: [PATCH ] Staging: hv: Hyper-V driver cleanup
> > 
> > On Thu, Feb 24, 2011 at 03:20:58PM -0800, K. Y. Srinivasan wrote:
> > > This patch cleans up (a lot of the) naming issues that
> > > various reviewers have noted. It also gets rid of
> > > some unnecessary layering in the code.
> > 
> > Whenever you have a patch description that says "It also..." you know
> > you need to break this up into smaller, logical pieces.
> 
> The name change was related to the layering issue. For instance I combined the 
> Vm_device and hv_device abstractions to build the hyperv_device abstraction.
> Likewise, I combined the driver_context and the hv_driver abstractions to build the 
> the hyperv_driver abstraction. Would breaking this patch up into two patches,
> one dealing with the device abstraction consolidation and the other dealing with
> the consolidation of driver abstractions satisfy your concern. Even if I partition this 
> patch along these lines, it will still be a large set of patches; since these changes 
> are pervasive. 

pervasive patches are fine, just remember, "each patch can only do one
thing".  It sounds like you want to do at least 2 patches here, if not
a lot more.  Look at my past patches when I combined things and removed
a whole layer for how to do this in a very incremental, piece-by-piece
fashion (i.e, move one field over at a time until the structure is gone,
and then remove it entirely.)

> > There is no 2.6.38 kernel yet, so I find this very hard to believe :)
> 
> My mistake; I did not specify the full output of uname -a on the box 
> that I tested this code. This box is running the LINUX-NEXT kernel :
> 2.6.38-rc1-0.2-default.

linux-next should be farther along than -rc1 as -rc6 is currently out.

confused,

greg k-h

  reply	other threads:[~2011-02-25  0:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24 23:20 [PATCH ] Staging: hv: Hyper-V driver cleanup K. Y. Srinivasan
2011-02-24 23:45 ` Greg KH
2011-02-25  0:24   ` KY Srinivasan
2011-02-25  0:31     ` Greg KH [this message]
2011-02-25  1:07       ` KY Srinivasan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110225003136.GA27272@suse.de \
    --to=gregkh@suse.de \
    --cc=devel@linuxdriverproject.org \
    --cc=haiyangz@microsoft.com \
    --cc=hjanssen@microsoft.com \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=virtualization@lists.osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox