Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2009 13:48:42 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/compat/linux linux_emul.c linux_emul.h linux_futex.c
Message-ID:  <200904191348.n3JDmm0q047143@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
dchagin     2009-04-19 13:48:42 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_emul.c linux_emul.h linux_futex.c 
  Log:
  SVN rev 191269 on 2009-04-19 13:48:42Z by dchagin
  
  Remove support for FUTEX_REQUEUE operation.
  Glibc does not use this operation since 2.3.3 version (Jun 2004),
  as it is racy and replaced by FUTEX_CMP_REQUEUE operation.
  Glibc versions prior to 2.3.3 fall back to FUTEX_WAKE when
  FUTEX_REQUEUE returned EINVAL.
  
  Any application directly using FUTEX_REQUEUE without return
  value checking are definitely broken.
  
  Limit quantity of messages per process about unsupported
  operation.
  
  Approved by:    kib (mentor)
  MFC after:      1 month
  
  Revision  Changes    Path
  1.23      +1 -0      src/sys/compat/linux/linux_emul.c
  1.10      +1 -0      src/sys/compat/linux/linux_emul.h
  1.19      +18 -13    src/sys/compat/linux/linux_futex.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904191348.n3JDmm0q047143>