Re: 10.6.2 issues with F_NOCACHE?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=7eAf1upU7/dDOt/HUdVmBwVlb5cEskEy4Ooa2BCxbQk=; b=c/81zBH1J8ky4jwIOB6ssr1cSx3eP2k6cyI0eKAJJbJRKeGJFc5lE3s9nxDwozjBdp fhy2+F86O280eRo7oFcse0ijrfpXlttHGvwyUV5Kq+8CFO4kGdOmI7tPVHDtVRdyb/+7 TGLbAyAaeNG7kWGlqBUHVURVtdPbeGgsysRMk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=NtTJKoi0Sak7k+yv2c0FPTCaIPiSxYzGe2ZPJtpriLC4DPEzgDkKR6wcjYFY/Yfcld P8bcvZPs8qrErUewULIQhF5kEi2Hx9pFgwQSHjxKTm4BH+nw7VGvdphwN0vO8eGRyCau mJz6Yhb4FlMcmUPb4VGm+i78xz+jRGNqHdSuM= On Feb 5, 2010, at 6:19 AM, Michael Smith wrote:
Actually, no. Reading from an F_NOCACHE file into a properly aligned, allocated block will be significantly more efficient than using mmap.
How so?
mmap() is largely evil, and should be avoided wherever possible.
Can you please elaborate? Thanks, Joel --- http://es.linkedin.com/in/joelreymont _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Joel Reymont