[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 18/23] x86/mm: export some stuff via local mm.h
>>> On 22.09.17 at 17:56, <wei.liu2@xxxxxxxxxx> wrote: > On Fri, Sep 22, 2017 at 09:44:53AM -0600, Jan Beulich wrote: >> >>> On 14.09.17 at 14:58, <wei.liu2@xxxxxxxxxx> wrote: >> > They will be used by PV mm code and mm hypercall code, which is going >> > to be split into two files. >> >> Hmm, no, I think I'd prefer mod_lN_entry() and >> {get,put}_page_from_lNe() to stay in the same file (with the >> possible exception of {get,put}_page_from_l1e(), as under >> discussion elsewhere). >> > > Seeing that mod_lN_entry's are only used by PV hypercall code I opted to > split them to mm-hypercalls.c in later file. > > Now you want to put {get,put}_page_from_lNe and mod_lN_entry in the same > file, there are two choices: > > 1. Merge mm-hypercalls.c into pv/mm.c. > 2. Leave mod_*_entry in pv/mm.c and keep mm-hypercalls.c -- this would > require exporting mod_*_entry via local header file. > > Which one do you prefer? I think I'd prefer 1 over 2, but please give Andrew a chance to voice his opinion too. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |