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

[Minios-devel] [UNIKRAFT PATCH v3 0/4] Changes for supporting Python 2


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Mon, 9 Sep 2019 12:57:58 +0300
  • Cc: sharan.santhanam@xxxxxxxxx
  • Delivery-date: Mon, 09 Sep 2019 09:58:15 +0000
  • Ironport-phdr: 9a23:jEI8PxRXQ81Pyo3upvupCOLHtdpsv+yvbD5Q0YIujvd0So/mwa6yZhSN2/xhgRfzUJnB7Loc0qyK6vqmADxeqs/R+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe7x/IAiooQnLq8UbgopvJqksxhbKv3BFZ/lYyWR0KFyJgh3y/N2w/Jlt8yRRv/Iu6ctNWrjkcqo7ULJVEi0oP3g668P3uxbDSxCP5mYHXWUNjhVIGQnF4wrkUZr3ryD3q/By2CiePc3xULA0RTGv5LplRRP0lCsKMSMy/WfKgcJyka1bugqsqRxhzYDJbo+bN/1wc7jBcd8GX2dNQtxcWzBdDo66coABD/ABPeFdr4TluVYOqgC+BRWtBOPp1zRGgGL23bUn0+88FgzJwAsgH8kSsHTVqtX5LqMSUf2tzKnV1jjMc+hW1S3l6IjVaR8tu+uMXbVpfMfX1EIhFBvFg02NpYHqIj+ZzOcAvmiB4+Z+S+6iiXQrpg9prjSyycogl5PFi4EVx1ze6yl0zog4KcelREN0f9KpFoZbuTuAOItsWMwiRnlluCM9yrIbp5G2ZDMKyJE7xx7HbPyHbpSI7grjVOmPJTd4g2poeKy6hxmo8EigzvfwWdWv0FpQtipFj8LDumoX1xzU8sSHS/198Vm92TuXygze5fxILVo3mKfbMZIt3KA8m5gJvUnNBiP2nV/5jK6SdkUq4Oio7OHnb636qZ+bLI90lgD+MqI0lsy7HOQ4KhUOUnOH9uSnzrHj5VD5T65Qgv0slanVqIraKtgDpq6lHw9V1Z4u6xO+Dzeg0dQYmmIHIEtYdx2ZkYjmJVXOLev8Dfe+mFSsjCxry+rJP7L/BJXBNH/DkK3ufbxl8U5T1BIzzcxD55JTErwBO/LzVVXrtNPCCB81KRe0zPzhCNVh1oMRQ2SPDbWcMK7Jt1+H+P4gI+2Wa4AOojryNeUltLbSiio8mFkcerLs0ZYJZXSQGvV9P17fcXfqxNAbHjQkpA07Gcftk0GDV3Z3em6vF/Y34SonCYTgCZrbW6imm/qZwS39BJoANTMOMUyFDXq9L9bMYPwLci/HesI=
  • Ironport-sdr: dQioBhIp6ceYOXo3YPTcmmrZSFYyZfXEBzLIBbJ67Ivx48WnLERLwdglD3kU/mi5tm6aOJK6nS TM/J0x1IJwtw==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

These changes are needed for some of the Python 2 unit tests. Some tests may
use a large number of files, therefore we had to increase our limit. Other
files try to close the standard file descriptors (0-2), therefore the VM
shouldn't crash if such behavior is wanted. Also, some unit tests need
recursive mutexes.

Changes since v1:
- Applied comments
- Added 'lib/vfscore: sys_ioctl() - Handle FIOCLEX and FIONCLEX requests' patch

Changes since v2:
- Fixed UK_MUTEX_INITIALIZER()

Costin Lupu (4):
  lib/vfscore: Use a scalable bitmap for open file descriptors
  lib/vfscore: Return error when trying to close standard file
    descriptors
  lib/vfscore: sys_ioctl() - Handle FIOCLEX and FIONCLEX requests
  lib/uklock: Make mutex recursive

 lib/uklock/include/uk/mutex.h      | 36 +++++++++++++++++++++---------
 lib/uklock/mutex.c                 |  3 ++-
 lib/vfscore/fd.c                   | 23 ++++++++++---------
 lib/vfscore/include/vfscore/file.h |  2 +-
 lib/vfscore/main.c                 |  8 ++++---
 lib/vfscore/syscalls.c             | 15 +++++++++++--
 6 files changed, 59 insertions(+), 28 deletions(-)

-- 
2.20.1


_______________________________________________
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®.