From owner-svn-src-all@freebsd.org Fri May 20 03:11:09 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6BAEB43689; Fri, 20 May 2016 03:11:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id AFC021A0C; Fri, 20 May 2016 03:11:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x230.google.com with SMTP id b78so14898573ioj.3; Thu, 19 May 2016 20:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=fJT2O2pUpPqmfOH+Ed/bF/ux6R7jTS5kcYITgo2Mg2U=; b=UQ41CMK0H6muSOwdqhcsNLyH/au/m4xwUASfx4hWBRvBDmnHREgMjy3NJUbMguJ5Sj GZ7rBxhNeBupm7Uhns1l4fC4iDxvbWxefQ50DeaLc2IAOtTq2HOvR0hpeNR299ayS06+ 7DOQWjtR8iMvwq7mOsbcyi3zQWv/dc8ozJacMH7s8ZYKlr3fvAbH9tugRn0Um6lAI3Du adNCzn5nxbdR00Z0NB8Po+ICTGAn3G4yK/ELUleP57zAHITZKNVk19IoqlBNTrKiRS8z uSKHnmpa8GsmreyVFBoRfOh7KWiEEHQE9+kH1h9++oZBKsFInGujGiMfII+1WQWXu8kX P7QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=fJT2O2pUpPqmfOH+Ed/bF/ux6R7jTS5kcYITgo2Mg2U=; b=KfJrzgcYa2AGsGdo0KozaQuexmVrtuWMe+Ybt/7HvxuTZPKEv7MGw/WNL2TF/OxDj4 FqftDPI3NzoH4Ch/dOlJpHD8zIcpplDsBi2RCtRQYZLvwBvE04lZb1fmjzNSiFJhPDS4 RG/1OkrzgrJSC48VKsfDeBSqn6745Twu0E2RAx0qQSfZ2aEuD6Kq1xLsIOrYU/rEAxv5 mQqFaWcmLSqxJ3/x0giuWzSLrqs851RgSV6v29oonSU1fjdC9wrrUOi63PatmPFJoRGT bNGsVr+WWvN2YiA3abmeXn7qayEFiqNCpYh4NEuwJ9VThnLumgA9Lo0uFxrg8x51Hum/ JJKw== X-Gm-Message-State: AOPr4FWDIK6h88bXLzm/jPAPJaYM5OEa1Y3uOPdXye3+1Hz7Qd3HLqXl6ZiusKZHFIr+ywUUGd68Qt4lgtalZA== MIME-Version: 1.0 X-Received: by 10.107.144.135 with SMTP id s129mr960868iod.165.1463713869130; Thu, 19 May 2016 20:11:09 -0700 (PDT) Received: by 10.36.113.3 with HTTP; Thu, 19 May 2016 20:11:09 -0700 (PDT) In-Reply-To: <201605200117.u4K1HckY085609@repo.freebsd.org> References: <201605200117.u4K1HckY085609@repo.freebsd.org> Date: Thu, 19 May 2016 20:11:09 -0700 Message-ID: Subject: Re: svn commit: r300253 - in head: . share/man/man9 sys/sys From: Adrian Chadd To: John Baldwin Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 03:11:10 -0000 Know what's funny? The broadcom siba/bhnd resources almost kinda want this ... :P -adrian On 19 May 2016 at 18:17, John Baldwin wrote: > Author: jhb > Date: Fri May 20 01:17:38 2016 > New Revision: 300253 > URL: https://svnweb.freebsd.org/changeset/base/300253 > > Log: > Remove dangling references to rman_await_resource(). > > This function was removed when RF_TIMESHARE was removed a couple of years > ago. > > MFC after: 3 days > > Modified: > head/ObsoleteFiles.inc > head/share/man/man9/Makefile > head/share/man/man9/rman.9 > head/sys/sys/rman.h > > Modified: head/ObsoleteFiles.inc > ============================================================================== > --- head/ObsoleteFiles.inc Fri May 20 01:02:58 2016 (r300252) > +++ head/ObsoleteFiles.inc Fri May 20 01:17:38 2016 (r300253) > @@ -38,6 +38,8 @@ > # xargs -n1 | sort | uniq -d; > # done > > +# 20160519: stale MLINK removed > +OLD_FILES+=usr/share/man/man9/rman_await_resource.9.gz > # 20160517: ReiserFS removed > OLD_FILES+=usr/share/man/man5/reiserfs.5.gz > # 20160430: kvm_getfiles(3) removed from kvm(3) > > Modified: head/share/man/man9/Makefile > ============================================================================== > --- head/share/man/man9/Makefile Fri May 20 01:02:58 2016 (r300252) > +++ head/share/man/man9/Makefile Fri May 20 01:17:38 2016 (r300253) > @@ -1373,7 +1373,6 @@ MLINKS+=resource_int_value.9 resource_lo > resource_int_value.9 resource_string_value.9 > MLINKS+=rman.9 rman_activate_resource.9 \ > rman.9 rman_adjust_resource.9 \ > - rman.9 rman_await_resource.9 \ > rman.9 rman_deactivate_resource.9 \ > rman.9 rman_fini.9 \ > rman.9 rman_first_free_region.9 \ > > Modified: head/share/man/man9/rman.9 > ============================================================================== > --- head/share/man/man9/rman.9 Fri May 20 01:02:58 2016 (r300252) > +++ head/share/man/man9/rman.9 Fri May 20 01:17:38 2016 (r300253) > @@ -25,14 +25,13 @@ > .\" > .\" $FreeBSD$ > .\" > -.Dd July 15, 2014 > +.Dd May 19, 2016 > .Dt RMAN 9 > .Os > .Sh NAME > .Nm rman , > .Nm rman_activate_resource , > .Nm rman_adjust_resource , > -.Nm rman_await_resource , > .Nm rman_deactivate_resource , > .Nm rman_fini , > .Nm rman_init , > @@ -67,8 +66,6 @@ > .Ft int > .Fn rman_adjust_resource "struct resource *r" "rman_res_t start" "rman_res_t end" > .Ft int > -.Fn rman_await_resource "struct resource *r" "int pri2" "int timo" > -.Ft int > .Fn rman_deactivate_resource "struct resource *r" > .Ft int > .Fn rman_fini "struct rman *rm" > @@ -387,23 +384,6 @@ flag. > If other consumers are waiting for this range, it will wakeup their threads. > .Pp > The > -.Fn rman_await_resource > -function performs an asynchronous wait for a resource > -.Fa r > -to become inactive, that is, for the > -.Dv RF_ACTIVE > -flag to be cleared. > -It is used to enable cooperative sharing of a resource > -which can only be safely used by one thread at a time. > -The arguments > -.Fa pri > -and > -.Fa timo > -are passed to the > -.Fn rman_await_resource > -function. > -.Pp > -The > .Fn rman_get_start , > .Fn rman_get_end , > .Fn rman_get_size , > > Modified: head/sys/sys/rman.h > ============================================================================== > --- head/sys/sys/rman.h Fri May 20 01:02:58 2016 (r300252) > +++ head/sys/sys/rman.h Fri May 20 01:17:38 2016 (r300253) > @@ -121,7 +121,6 @@ TAILQ_HEAD(rman_head, rman); > > int rman_activate_resource(struct resource *r); > int rman_adjust_resource(struct resource *r, rman_res_t start, rman_res_t end); > -int rman_await_resource(struct resource *r, int pri, int timo); > int rman_first_free_region(struct rman *rm, rman_res_t *start, rman_res_t *end); > bus_space_handle_t rman_get_bushandle(struct resource *); > bus_space_tag_t rman_get_bustag(struct resource *); >