[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH v2 0/6] Grant table support for Xen


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Thu, 28 Jun 2018 15:38:29 +0300
  • Cc: simon.kuenzer@xxxxxxxxx, sharan.santhanam@xxxxxxxxx, yuri.volchkov@xxxxxxxxx
  • Delivery-date: Thu, 28 Jun 2018 12:38:47 +0000
  • Ironport-phdr: 9a23:rnGJChXwmEH527bc/tYJvdtRRDfV8LGtZVwlr6E/grcLSJyIuqrYbReFt8tkgFKBZ4jH8fUM07OQ7/i+HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9zIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W/XlMJ+kaxVrhGmqRFk34LYfJuYOOZkc6/BYd8XQ3dKUMZLVyxGB4Oxd5UCD+0aPeZEron9oUYFox2jBQm0GePk1zhFiWPx3a0hz+QhEAfG0BYkH9ITqHTUsc74O7sJUeyv1KnI0C7MY+lM2Tf68YXFdA0qr/KUXb9obMbcxlQjGxnGg1iQs4DpIS2Z2+YXv2WV9+ZsSO2ih3M9pwxyojWj3Nkgh4fHi44P11zJ+jt1zYAoLtOiUkF7e8SrEJ5IuiGfMIt5X90tTnlzuCY/1r0GoZm7fDUWyJg/xx7QdfiHc4+Q7xL9UeaeOzZ4hHZ/dL2jnBa+61CgyvDnWcWuylZKqTJJktjKtn8Tyxze8tWLR/Rg8ku72juC1xrf5v9aLU02j6bWJYYtwrsqmZoStUTDEDX2mELzjKKOakok/fOo6/jmYrXgvJOcM5J0ihnjMqk1hsO/Gv40MhATX2eA4+i8zrrj8VXjQLpWlv02jrXZsJfCKMQep665BQ5V0oE46xqmEjipzsoYkmcDLF9efBKHjpPpO03VIPziAvawnVKsnC1sx/DcMb3rGo/NIWTbkLf9YbZ97FZRyBEzzd9F/ZJbELcBLOjoWkDrstzYEh85PBayw+n9DdVwzYUeVnyTDa+dKqzdqkWE6fwyI+OUfo8apC79K+Q55/7plXI5gl4dfayu3ZsRcny4HelmLFufYXvtnNgBC3wHvgwgQ+P2jF2NSyVca2ysUKIh/js7Ep6pDZ/fRoCxh7yMxCe6HoBMZmBHEFyMD3Dod4GYVPcMayKSJdFhnycCVbe/V4Ah0QuhuxTgx7V5M+qHshEf4Jfi0tly/KjfmA8/8RRwDt+ByCedQmcymXkHFBEs26Uqiktm1laFmYxlm+EQQddU/O9IVEE+KIbB5+dhTcjvUETbeYHaGx6dXty6DGRpHZoKyNgUbhMlFg==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

Changes since v1:
1) need_pte becomes static
2) batch size for mapping reduced to half
3) removed NR_RESERVED_ENTRIES macro
4) minor changes: comments, typos fixes, commit messages, coding style, etc.

Costin Lupu (6):
  lib/ukalloc: Add functions for allocating/deallocating a single page
  plat/xen: Add new memory region - demand area (x86_64)
  plat: Introduce API for setting platform default allocator
  lib/ukboot: Set the default platform memory allocator
  include/essentials: Add ARRAY_SIZE macro
  plat/xen: Add grant table support for Xen (x86_64)

 include/uk/essentials.h          |   4 +
 include/uk/plat/memory.h         |  15 ++
 lib/ukalloc/include/uk/alloc.h   |   8 +
 lib/ukboot/boot.c                |   5 +
 plat/common/include/memory.h     |  47 +++++
 plat/common/memory.c             |  57 +++++++
 plat/kvm/Makefile.uk             |   1 +
 plat/kvm/memory.c                |   5 +
 plat/linuxu/memory.c             |   5 +
 plat/xen/Makefile.uk             |   3 +
 plat/xen/gnttab.c                | 241 ++++++++++++++++++++++++++
 plat/xen/include/common/gnttab.h |  48 ++++++
 plat/xen/include/xen-x86/mm.h    |  16 +-
 plat/xen/memory.c                |   7 +
 plat/xen/x86/gnttab.c            |  59 +++++++
 plat/xen/x86/mm.c                | 359 ++++++++++++++++++++++++++++++++++++++-
 plat/xen/x86/setup.c             |  13 +-
 17 files changed, 887 insertions(+), 6 deletions(-)
 create mode 100644 plat/common/include/memory.h
 create mode 100644 plat/common/memory.c
 create mode 100644 plat/xen/gnttab.c
 create mode 100644 plat/xen/include/common/gnttab.h
 create mode 100644 plat/xen/x86/gnttab.c

-- 
2.11.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.