From owner-freebsd-current@freebsd.org Sat Jun 23 19:18:29 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9ED3F10032CC for ; Sat, 23 Jun 2018 19:18:29 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 488AA8F3A4; Sat, 23 Jun 2018 19:18:29 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) (Authenticated sender: mmacy) by smtp.freebsd.org (Postfix) with ESMTPSA id 0E0D11B436; Sat, 23 Jun 2018 19:18:29 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: by mail-it0-f50.google.com with SMTP id a195-v6so7196099itd.3; Sat, 23 Jun 2018 12:18:29 -0700 (PDT) X-Gm-Message-State: APt69E1jFIh9o6h9aTezB7y4AU8/Umhx23kbU5Fpv2n8RUIGFwjsieFg sL+M0Qsbf8xhC7SnWmIpueca6dkbPrkT7yxl5QA= X-Google-Smtp-Source: ADUXVKJsQUypYzLG1ivK5UzJdbDWosqG4qNZrwRixDZeUw0edJO2kHTwRHI9khZm/1L5ir9mTgY6lctMJEpIeL73+Zo= X-Received: by 2002:a02:2710:: with SMTP id g16-v6mr5213970jaa.98.1529781508502; Sat, 23 Jun 2018 12:18:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:8cd:0:0:0:0:0 with HTTP; Sat, 23 Jun 2018 12:18:28 -0700 (PDT) From: Matthew Macy Date: Sat, 23 Jun 2018 12:18:28 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: atomic_testandclear_, atomic_testandset_ To: freebsd-current , marius@freebsd.org, John Baldwin , Adrian Chadd Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2018 19:18:29 -0000 The functions in the subject are both documented in atomic(9) and are implemented by every arch except sparc64 and MIPS. I have some code in review that uses them that I intend to commit once the various design issues are addressed. Please implement them so that those targets can remain part of universe. Thanks in advance. -M