On Thu, Jun 01, 2017 at 09:36:46AM +0530, Bharata B Rao wrote: > On Thu, Jun 01, 2017 at 11:52:14AM +1000, David Gibson wrote: > > The code managing DRCs[0] has quite a few things that are more > > complicated than they need to be. In particular the object > > representing a DRC has a bunch of method pointers, despite the fact > > that there are currently no subclasses, and even if there were the > > method implementations would be unlikely to differ. > > So you are getting rid of a few methods. How about other methods ? > Specially attach and detach which have incorporated all the logic needed > to handle logical and physical DRs into their implementations ? > > Guess these will be follow in subequent parts ?
That's the plan. In fact I already have patches underway, these are just the ones that are polished enough to post so far. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature