From owner-svn-src-head@freebsd.org Wed Oct 7 06:48:20 2015 Return-Path: Delivered-To: svn-src-head@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 19F6A9D0A64; Wed, 7 Oct 2015 06:48:20 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from mail.made4.biz (mail.made4.biz [IPv6:2001:41d0:2:c018::1:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D4F16A2D; Wed, 7 Oct 2015 06:48:19 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from 141.7.19.93.rev.sfr.net ([93.19.7.141] helo=magellan.dumbbell.fr) by mail.made4.biz with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZjiWQ-0008OS-6H; Wed, 07 Oct 2015 08:48:18 +0200 Subject: Re: svn commit: r288653 - in head/sys/dev/drm2: . i915 To: Konstantin Belousov References: <201510040745.t947jbp7082807@repo.freebsd.org> <20151004094649.GG11284@kib.kiev.ua> <56142CCC.7000807@FreeBSD.org> <20151007061453.GH2257@kib.kiev.ua> Cc: s3erios@gmail.com, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= X-Enigmail-Draft-Status: N1110 Message-ID: <5614C02B.6040504@FreeBSD.org> Date: Wed, 7 Oct 2015 08:48:11 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20151007061453.GH2257@kib.kiev.ua> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GTdhrikxstKqSutV7oOQ0oQDv3rac3TnB" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 06:48:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GTdhrikxstKqSutV7oOQ0oQDv3rac3TnB Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 07.10.2015 08:14, Konstantin Belousov wrote: > I believe there are subtle differences between our- and Linux- nowait > behaviour. I claim (but do not want to take liability of prove it with= > references to Linux code) that our M_NOWAIT may fail transiently due to= > pagedaemon not keeping up with load, while Linux top-half nowait alloc > only fails for real out-of-resources conditions. >=20 > What I am trying to say, leave M_NOWAIT out of syscalls. Some time ago= > M_NOWAIT also means that the caller is allowed to use reserves to satis= fy > allocation, but this was fixed. Ok, I understand. Let's revert to use M_WAITOK then. During the DRM core update, I also used M_NOWAIT. Likewise for the i915 WIP. I will change some of them back to M_WAITOK after checking the context of the allocation (syscall or not). Thank you for the clarification on those flags! --=20 Jean-S=E9bastien P=E9dron --GTdhrikxstKqSutV7oOQ0oQDv3rac3TnB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWFMAxXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NzA4N0ZEMUFFQUUwRTEyREJDNkE2RjAz OUU5OTc2MUE1RkQ5NENDAAoJEDnpl2Gl/ZTMdAgQANEBsBUr8NULutL992GnpuYb UM7jnuVhpr3Kg3LuQC9DkmOxYvub+QKEYQeMSSvX0Iv2XqoAxj18MzPW1PBpbmrB BoAnPmHNvm9tpxYWAY1QB04fx5bfxjpdRGhsPYwIktG32ll+lGp07yX57IRiG1Us ohWKf/SgUsaaQ6X3kOdGyhTVprAb+AI9xWi+nIK5Il9U567w5tZmnMT/j+dgy81c +OzPtBc/QEee79xw8kGSAhnfEb506KF7Pw+CVl9FMk8vYoxwwG8Z96ayTPpBnbP+ OZqYgSFbpY5QV7SwUY2wuRgvh9Kk/qF6Q8WjEdgj16nCDaTj3Hoev5LF81AWFihp SQnGGZyo+myrw31Y8QfMb1va1QYAnYO03lQnxjjV5bRU9uVW/UThFSGDbZzh2rOw Lb/wKPnzt3yhS4S8GalinVf9JPM/d/pcUrC2MPoHs/i8oQLx9uquVECKj9EyqiqH +vl4cUCMf9h0q4+SjFn+DKm3/K/adTrseI9w0Rt5Zh/aMAyTr6UkRw+AyPu0AouB jHYuTH03UiSQcBLbgRdYEdnnEvrukVoetpnnrXmC9RTvjkP04Z0vq1299mL49ejL aSbw79qfEiiOnGqo44pcRTdTsqRhBbZCXLivcGZAhJ4iW/VlfMiCgg/x9MiwwvWg SkNmsp4C3ssSut+dliTF =npGi -----END PGP SIGNATURE----- --GTdhrikxstKqSutV7oOQ0oQDv3rac3TnB--