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

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


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Mon, 2 Sep 2019 16:22:18 +0300
  • Cc: felipe.huici@xxxxxxxxx, simon.kuenzer@xxxxxxxxx, sharan.santhanam@xxxxxxxxx
  • Delivery-date: Mon, 02 Sep 2019 13:22:42 +0000
  • Ironport-phdr: 9a23:drU+DhMh5F5F02eSj6Al6mtUPXoX/o7sNwtQ0KIMzox0I/j5rarrMEGX3/hxlliBBdydt6sezbOJ6+u+AyQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagf79+Ngi6oAfNusUZgIZuNLs6xwfUrHdPZ+lY335jK0iJnxb76Mew/Zpj/DpVtvk86cNOUrj0crohQ7BAAzsoL2465MvwtRneVgSP/WcTUn8XkhVTHQfI6gzxU4rrvSv7sup93zSaPdHzQLspVzmu87tnRRn1gyoBKjU38nzYitZogaxbvhyvuhJxzY3TboyOKPZyYrnQcc8ASGZdQspcUTFKDIOmb4sICuoMJfhVr47mp1sSrBu+AxSnCuXyyj9Qm3/9wKo33PgmEQHdwAwgHtQOvG7QrNXoLKcSTPu4w7XTzTnZd/NWxCzy5JLSchAmuPyBW697f8nJyUQ3Cg/IgUicpZbmMj6VzOgBrXaX4uh6We+hk2Irtg58riW1ysovioTFnJwZx17K+Clj3Yo4KsO0RUhmatC+CpRQrTuVN45uT8MnRGFnpTg1x6UduZ6+YCgK0JMnxwPDa/Cfc4iH/BbjVOGJLDdmgXJqYrO/hxKo/Ue80e3wTNG00EtRoSZfiNnMsWgB1x3V6seZVvtw5lqt1DmS2wzJ6exJIVo4mbTFJ5Mj2LI9mIIfsUHZES/3nEX2grWWdkIh+uWw9+vnZa7mpoOdN49ykA3+NrkumtSiAekjLgcORHKX+fyh1LL450H5WrJKguUskqbFqJDaOdgbpqmhDg9Q04Yj7Re/DzC90NgBgHYIMkxFdwyDj4XyP1HOIev4Deukg1i2nzZk2fbGMqfmApXXIXjJiK3hcqpl605A1AozyshS55xKBbEFIfLzQlH+uMbYDh8kMgy73+fnBc571owARW2PBrWWP7jIvVCW++IlO/OMa5MNuDbhN/gl4ObjjWQ5mVAHZ6mmx50XZGqjHvt8JUWZfXrsjc0HEWgQuwozV+rqh0OeXj5XfXm9RLgw6S8mCIi+F4fMWpitgKCd3Ce8BpBWfWFGClWLEXfubYmEWOoMZzyUIs5gjDMET6OsS4k/2h6ysA/10aFoIvDK9S0F5trf041w5uvSkgp3+TFqAsC112CWU3oyjm4OATgs0/NRu0t4n3yEyrR5hbR8CMROr6dCVRwmNJiay/FiFvj5QUTZY93PUlHwEYbuOi04Ut9km4xGWE16Adj31h0=
  • Ironport-sdr: 8MKANCoGcgayRWQ8jNTpe5/b5MASw3KHXwalko2QkQSx6mDjffLIo3fKXdaR89yUeGq2DX5EFY wq8tkk5Vldmw==
  • 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.

Costin Lupu (3):
  lib/vfscore: Use a scalable bitmap for open file descriptors
  lib/vfscore: Return error when trying to close standard file
    descriptors
  lib/uklock: Make mutex recursive

 lib/uklock/include/uk/mutex.h      | 29 +++++++++++++++++++++++------
 lib/uklock/mutex.c                 |  2 ++
 lib/vfscore/Config.uk              |  8 +++++++-
 lib/vfscore/fd.c                   | 23 +++++++++++++----------
 lib/vfscore/include/vfscore/file.h |  2 +-
 lib/vfscore/main.c                 |  8 +++++---
 6 files changed, 51 insertions(+), 21 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®.