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

[Minios-devel] [UNIKRAFT PATCH 0/4] Cleanup bit operations

A port of BSD versions of linux bit operations has been introduced
recently. The new bitops have been coexisting with the previous
implementation. This series merges them together, leaving only the
linux-style api available.

Change since v1:

 - remove barrier() in test_bit - does not make any use in this
   situation, the access is already volatile

 - extend a little bit function headers comments about atomicity and
   fix a couple of typos

Yuri Volchkov (4):
  include/uk: do not cast away volatile in atomic.h
  include/uk: fix test_bit atomicity
  use one api for bit operation
  include/uk: merge two bitops functions

 include/uk/arch/atomic.h   | 115 -----------------------------------
 include/uk/bitops.h        | 119 ++++++++++++++++++++++++++++++++-----
 lib/vfscore/fd.c           |   4 +-
 plat/common/arm/time.c     |   6 +-
 plat/kvm/irq.c             |   6 +-
 plat/kvm/x86/tscclock.c    |   6 +-
 plat/xen/events.c          |  18 +++---
 plat/xen/xenbus/xs_comms.c |   4 +-
 8 files changed, 125 insertions(+), 153 deletions(-)


Minios-devel mailing list



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