IBM AIX 5.3 Query (v_node hold count ?)


 
Thread Tools Search this Thread
Operating Systems AIX IBM AIX 5.3 Query (v_node hold count ?)
# 1  
Old 09-01-2006
IBM AIX 5.3 Query (v_node hold count ?)

Hi , I was reading AIX's Kernel Subsystem manual where I read about vn_hold, vn_rele, vn_lookup. I have few queries about them.

According to manual vn_hold "The vn_hold entry point increments the v_count field, the hold count on the v-node, and the v-node's underlying g-node (generic node). This incrementation assures that the v-node is not deallocated."
There are two different things v_count(or use count) and hold count in context of a v_node. What is the difference btw the two? How can I see a v_nodes hold count?
More in case of vn_lookup: "Passed dvp's use count is incrememted and vpp's hold count is incremented"
If in my code I do a vn_lookup() what is the counter part for this function? [like vn_hold() & vn_rele()]

Regards,
Dang
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sql query output count

Hi Team, below sql rerturn 20 records, the result set i am going to assign to one variable and it showing count is 1. and i don't use count() in sql query... based on count, i need to fail the script. No_of_step=`echo ${g_count} | wc -l` function gf_count() { g_count=`sqlplus -s... (8 Replies)
Discussion started by: bmk123
8 Replies

2. AIX

IBM Virtual Machine OS on intel x86 and x64? IBM AIX OS on IBM Virtual Machine?

Hi There, I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available). Anyone could provide me the following answer - Can IBM VM been deploy on X86 and X64 (Intel Chip)? If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies

3. AIX

IBM P5 AIX Installtion

Hello, I am new to the area of ​​IBM AIX. I want a AIX 6.1 on IBM P5 server with four scsi hard disk size is 72GB each. after the the new boot from cdrom for the installtion. I could not find any Hard Disk (hdisk0). how can I configure the hard disk or find the Hard disk by first... (1 Reply)
Discussion started by: alkhatw
1 Replies

4. AIX

IBM AIX 5.3 Display

Hi, all! I am new in IBM AIX 5.3. I tried to activate graphical display when connected to my UNIX server. 1) I downloaded Putty to connect to my UNIX server. 2) Then I downloaded Xming and installed it. After that I installed Xming fonts. 3)Then I downloaded AIX fonts and put them into... (7 Replies)
Discussion started by: Debuger
7 Replies

5. AIX

pwage-aix for IBM AIX servers

This is the password aging script for aix just completed. So far tested and still testing on one of our aix server running 5.3.0.0. So anyway as you can see it is very similar to pwage-hpux-T the only difference on aix /etc/passwd file looks in this format. Also for this script to work you need to... (0 Replies)
Discussion started by: sparcguy
0 Replies

6. AIX

IBM AIX on IBM Eseries & x series server

Hi, I want to know whether IBM AIX can be installed on the IBM e series and x series server hardware? Thanks & Regards Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies

7. AIX

ibm aix L1

hello all, can anyone send me ibm aix L1 interview questions... thank u guys...jiyojith (0 Replies)
Discussion started by: jiyojith
0 Replies

8. UNIX for Advanced & Expert Users

how is IBM-AIX better..?

why IBM-AIX is preferred over HP-UX ..... In what way it is better for infrastructure......? Suggestions are welcome... Suggest you read the RULES (0 Replies)
Discussion started by: bishweshwar
0 Replies

9. AIX

Help-----ibm Aix???

:confused: Hello everybody, I am a totel dummy when it comes to UNIX!!! Must be wondering what I am doing here right? I'm most keen on knowing about-it-all. I need help. Wanna know all about the IBM AIX. The versions, the latest. Please tell me how do I go about my search. Thanks a... (3 Replies)
Discussion started by: rtanuja
3 Replies
Login or Register to Ask a Question
VM_PAGE_HOLD(9) 					   BSD Kernel Developer's Manual					   VM_PAGE_HOLD(9)

NAME
vm_page_hold, vm_page_unhold -- update a page's hold count SYNOPSIS
#include <sys/param.h> #include <vm/vm.h> #include <vm/vm_page.h> void vm_page_hold(vm_page_t m); void vm_page_unhold(vm_page_t m); DESCRIPTION
The vm_page_hold() function increases the hold count on a page. This prevents the page daemon from freeing the page. vm_page_hold() should only be used for very temporary wiring of a page, as that page will not be considered for paging or reallocation for as long as its hold count is greater than zero. Also note that while wired pages are removed from whatever queue they are on, vm_page_hold() does not affect the location of the page. If it is on a queue prior to the call, it will still be there afterward. If the page needs to be held for a long period of time, vm_page_wire(9) should be used. vm_page_unhold() function reduces the hold count on a page. If the hold count is zero it is possible that the page will be freed by the page daemon. SEE ALSO
vm_page_unwire(9), vm_page_wire(9) AUTHORS
This manual page was written by Chad David <davidc@acns.ab.ca>. BSD
July 13, 2001 BSD