Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 14:09:20 +0800
From:      "ouyang kai" <oykai@msn.com>
To:        hackers@FreeBSD.org
Subject:   buffer management questions
Message-ID:  <F14OuUaJ0gmkLGeq3v700002b93@hotmail.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F14OuUaJ0gmkLGeq3v700002b93>