From owner-freebsd-current@freebsd.org Fri May 19 15:34:33 2017 Return-Path: Delivered-To: freebsd-current@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 7081FD73F05; Fri, 19 May 2017 15:34:33 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (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 EE9AD1CE5; Fri, 19 May 2017 15:34:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr0-x244.google.com with SMTP id v42so3313197wrc.3; Fri, 19 May 2017 08:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=qTPSeb6VJikBzJZt6MVUfYj6q5Ij10UcnZd+0Aefra4=; b=Cd+hy7SzpRLOvcEYylp1wltqgEAP1iSkPN9WtUO1yp/4M8sz9RkdSc75xZdSn+T0Jf yWRDXktGl8vob8bISReEpbpucQG+jWHGG61q9mkmokQb4UG0ek0Jm/daPWrgbQRaLYC4 sZw6iIVUd7ek4+hYi7EtQkG1xJUz6JAEplyU1JllG1mTw0nsoTvRHgQnzoWmhi72Ku6+ CozD3TC83vTYpetkqM1gQ8e3Z7ZKebK3STQrWm7Kbyi+Qnwbf/Z7KH+M+rsQHZGJF6DJ i2AFdoTEnFoL97fEpIa8MbKBtBRAkG7EiC7H/R87iqurgOfiYJzr4CQkD5WyyuWFTeLt CN1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=qTPSeb6VJikBzJZt6MVUfYj6q5Ij10UcnZd+0Aefra4=; b=nt90J3lQjl0XY5NgzItlO5NCC6Inzwmo4BmqniOSP3FWH2KqVVrxXp6Q8K6laMBQL7 Asv0klmckYGFxAG4rcy9tYs/P67CiG3qiEdjVT2e9xi84TKaCWxgE195rh0eOqccRuYs BBekJxOfDYPgQWEMuIQukvB2yV1zquQxTn2bqqQD8PFW5Gwg9FSBCvMEJ3PEiLjS6PQ1 mGQEBVfTT3r2gSYrfDhqHdyUcZcDAJMjVritzgOM2nn76vl+iO98aYLZwtVvHdE29cHh UxXjYArQmY8T2BpgA49+kWPUE0MIi1BUm9dNeLcvitId5VW9TFCtDSscZnnFO7oVN18s kU1g== X-Gm-Message-State: AODbwcBPRwJaa4Nx8zpBeOPTnpbkm1Fp2BJzM2fJZVt2xc/ffRqrPqbd fYjdMLh4/rekFN9EUrxNrs/k6cJ1oA== X-Received: by 10.223.152.6 with SMTP id v6mr3369123wrb.60.1495208071402; Fri, 19 May 2017 08:34:31 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.28.193.134 with HTTP; Fri, 19 May 2017 08:34:30 -0700 (PDT) In-Reply-To: References: <20170518055352.bflapm6mmfhgl4y4@ivaldir.net> From: Adrian Chadd Date: Fri, 19 May 2017 08:34:30 -0700 X-Google-Sender-Auth: nhkRr2IcIG19ygdWsTbGPiWnkFg Message-ID: Subject: Re: make concurrency kit a module To: Warner Losh Cc: Baptiste Daroussin , freebsd-current , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 19 May 2017 15:34:33 -0000 On 17 May 2017 at 23:37, Warner Losh wrote: > On Wed, May 17, 2017 at 11:53 PM, Baptiste Daroussin wrote: >> On Wed, May 17, 2017 at 06:04:09PM -0700, Adrian Chadd wrote: >>> https://reviews.freebsd.org/D10778 >>> >> >> Except there are plans to use it elsewhere. Many areas may be improved using it. >> >> Having it as a module would mean some devs might refrain from using it because >> there is no waranty for it to be there >> >> Areas like VFS and network stack could have a good benefice from using it. >> >> Out of curiousity what size is saved? > > I'd planned on using it newbus to solve the lifetime issues we have > with device_t's.... I'm happy with things using it in base outside of the linuxkpi. I'm just trying to push back on the "death by a thousand cuts" that the IOT platforms face for size constraints. There's plenty of stuff in the base kernel that storage challenged platforms don't need but they're not introduced or kept as modules. It's 2017 and people /are still/ making embedded boards with 8MB of NOR flash. -adrian