From owner-freebsd-hackers Thu Jan 9 22: 9:33 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69F1137B401 for ; Thu, 9 Jan 2003 22:09:32 -0800 (PST) Received: from hotmail.com (f14.pav0.hotmail.com [64.4.33.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22A9D43EB2 for ; Thu, 9 Jan 2003 22:09:32 -0800 (PST) (envelope-from oykai@msn.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 9 Jan 2003 22:09:20 -0800 Received: from 61.131.48.222 by pv0fd.pav0.hotmail.msn.com with HTTP; Fri, 10 Jan 2003 06:09:20 GMT X-Originating-IP: [61.131.48.222] From: "ouyang kai" To: hackers@FreeBSD.org Subject: buffer management questions Date: Fri, 10 Jan 2003 14:09:20 +0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Jan 2003 06:09:20.0846 (UTC) FILETIME=[D0C7BEE0:01C2B86E] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi,everybody, I do not know the KVA real means what. From internet, I only know it is kernel address space. In buf structure, there are two members about KVA - b_kvabase & b_kvasize; And when the buf management works, it will remove/add a buf from one queue to another, one instance, based on b_kvasize, a buf can be moved form QUEUE_DIRTY to QUEUE_EMPTYKVA or QUEUE_EMPTY(i.e: brelse function). So, what is the difference between the two empty queue? Another question, the buf queues have one QUEUE_NONE queue, I do not know how the QUEUE_NONE queue works. When buf init, all buffers will be added to QUEUE_EMPTY. I reference the 5.0RC2 source. Thank you! Best Regards Ouyang Kai _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message