Skip to content

Conversation

ijc
Copy link
Collaborator

@ijc ijc commented Oct 17, 2016

Various bits of code (e.g. kernel and initrd loading) rely on memory.base and
memory.size referring to lowmem only, with highmem being handled separately, in
order to avoid locating things into the MMIO region between the two.

Rename the variable to make this more obvious and to forestall any ideas about
"fixing" memory.size.

Signed-off-by: Ian Campbell ian.campbell@docker.com

/cc @zchee I think this would have saved us a few RTTs on #66!
/cc @rneugeba I'll hold off on this until after #65 and rebase accordingly once you have merged.

@rn
Copy link
Member

rn commented Oct 17, 2016

LGTM, makes the code easier to read

Various bits of code (e.g. kernel and initrd loading) rely on memory.base and
memory.size referring to lowmem only, with highmem being handled separately, in
order to avoid locating things into the MMIO region between the two.

Rename the variable to make this more obvious and to forestall any ideas about
"fixing" memory.size.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
@ijc
Copy link
Collaborator Author

ijc commented Oct 17, 2016

Rebased onto #65

@rn rn merged commit cd628c4 into moby:master Oct 17, 2016
zchee added a commit to zchee/xhyve that referenced this pull request Oct 21, 2016
backport to moby/hyperkit#68

Original commit messages
  Various bits of code (e.g. kernel and initrd loading) rely on memory.base and
  memory.size referring to lowmem only, with highmem being handled separately, in
  order to avoid locating things into the MMIO region between the two.

  Rename the variable to make this more obvious and to forestall any ideas about
  "fixing" memory.size.

Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
rn added a commit to rn/hyperkit that referenced this pull request Oct 24, 2016
kexec: Rename "memory" to "lowmem".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants